Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being

BackgroundDepression significantly impacts an individual’s thoughts, emotions, behaviors, and moods; this prevalent mental health condition affects millions globally. Traditional approaches to detecting and treating depression rely on questionnaires and personal interviews, w...

Full description

Saved in:
Bibliographic Details
Main Authors: Xingwei Yang, Guang Li
Format: Article
Language:English
Published: JMIR Publications 2025-01-01
Series:JMIR Formative Research
Online Access:https://formative.jmir.org/2025/1/e60286
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832592967513145344
author Xingwei Yang
Guang Li
author_facet Xingwei Yang
Guang Li
author_sort Xingwei Yang
collection DOAJ
description BackgroundDepression significantly impacts an individual’s thoughts, emotions, behaviors, and moods; this prevalent mental health condition affects millions globally. Traditional approaches to detecting and treating depression rely on questionnaires and personal interviews, which can be time consuming and potentially inefficient. As social media has permanently shifted the pattern of our daily communications, social media postings can offer new perspectives in understanding mental illness in individuals because they provide an unbiased exploration of their language use and behavioral patterns. ObjectiveThis study aimed to develop and evaluate a methodological language framework that integrates psychological patterns, contextual information, and social interactions using natural language processing and machine learning techniques. The goal was to enhance intelligent decision-making for detecting depression at the user level. MethodsWe extracted language patterns via natural language processing approaches that facilitate understanding contextual and psychological factors, such as affective patterns and personality traits linked with depression. Then, we extracted social interaction influence features. The resultant social interaction influence that users have within their online social group is derived based on users’ emotions, psychological states, and context of communication extracted from status updates and the social network structure. We empirically evaluated the effectiveness of our framework by applying machine learning models to detect depression, reporting accuracy, recall, precision, and F1-score using social media status updates from 1047 users along with their associated depression diagnosis questionnaire scores. These datasets also include user postings, network connections, and personality responses. ResultsThe proposed framework demonstrates accurate and effective detection of depression, improving performance compared to traditional baselines with an average improvement of 6% in accuracy and 10% in F1-score. It also shows competitive performance relative to state-of-the-art models. The inclusion of social interaction features demonstrates strong performance. By using all influence features (affective influence features, contextual influence features, and personality influence features), the model achieved an accuracy of 77% and a precision of 80%. Using affective features and affective influence features also showed strong performance, achieving 81% precision and an F1-score of 79%. ConclusionsThe developed framework offers practical applications, such as accelerating hospital diagnoses, improving prediction accuracy, facilitating timely referrals, and providing actionable insights for early interventions in mental health treatment plans.
format Article
id doaj-art-e58e0da03a57429091b8b3d3379e201e
institution Kabale University
issn 2561-326X
language English
publishDate 2025-01-01
publisher JMIR Publications
record_format Article
series JMIR Formative Research
spelling doaj-art-e58e0da03a57429091b8b3d3379e201e2025-01-20T21:30:51ZengJMIR PublicationsJMIR Formative Research2561-326X2025-01-019e6028610.2196/60286Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-BeingXingwei Yanghttps://orcid.org/0009-0001-3955-6255Guang Lihttps://orcid.org/0000-0002-8549-5473 BackgroundDepression significantly impacts an individual’s thoughts, emotions, behaviors, and moods; this prevalent mental health condition affects millions globally. Traditional approaches to detecting and treating depression rely on questionnaires and personal interviews, which can be time consuming and potentially inefficient. As social media has permanently shifted the pattern of our daily communications, social media postings can offer new perspectives in understanding mental illness in individuals because they provide an unbiased exploration of their language use and behavioral patterns. ObjectiveThis study aimed to develop and evaluate a methodological language framework that integrates psychological patterns, contextual information, and social interactions using natural language processing and machine learning techniques. The goal was to enhance intelligent decision-making for detecting depression at the user level. MethodsWe extracted language patterns via natural language processing approaches that facilitate understanding contextual and psychological factors, such as affective patterns and personality traits linked with depression. Then, we extracted social interaction influence features. The resultant social interaction influence that users have within their online social group is derived based on users’ emotions, psychological states, and context of communication extracted from status updates and the social network structure. We empirically evaluated the effectiveness of our framework by applying machine learning models to detect depression, reporting accuracy, recall, precision, and F1-score using social media status updates from 1047 users along with their associated depression diagnosis questionnaire scores. These datasets also include user postings, network connections, and personality responses. ResultsThe proposed framework demonstrates accurate and effective detection of depression, improving performance compared to traditional baselines with an average improvement of 6% in accuracy and 10% in F1-score. It also shows competitive performance relative to state-of-the-art models. The inclusion of social interaction features demonstrates strong performance. By using all influence features (affective influence features, contextual influence features, and personality influence features), the model achieved an accuracy of 77% and a precision of 80%. Using affective features and affective influence features also showed strong performance, achieving 81% precision and an F1-score of 79%. ConclusionsThe developed framework offers practical applications, such as accelerating hospital diagnoses, improving prediction accuracy, facilitating timely referrals, and providing actionable insights for early interventions in mental health treatment plans.https://formative.jmir.org/2025/1/e60286
spellingShingle Xingwei Yang
Guang Li
Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being
JMIR Formative Research
title Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being
title_full Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being
title_fullStr Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being
title_full_unstemmed Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being
title_short Psychological and Behavioral Insights From Social Media Users: Natural Language Processing–Based Quantitative Study on Mental Well-Being
title_sort psychological and behavioral insights from social media users natural language processing based quantitative study on mental well being
url https://formative.jmir.org/2025/1/e60286
work_keys_str_mv AT xingweiyang psychologicalandbehavioralinsightsfromsocialmediausersnaturallanguageprocessingbasedquantitativestudyonmentalwellbeing
AT guangli psychologicalandbehavioralinsightsfromsocialmediausersnaturallanguageprocessingbasedquantitativestudyonmentalwellbeing