Natural Language Processing for Depression Prediction on Sina Weibo: Method Study and Analysis

被引:0
|
作者
Zhang, Zhenwen [1 ]
Zhu, Jianghong [1 ]
Guo, Zhihua [1 ]
Zhang, Yu [1 ]
Li, Zepeng [1 ]
Hu, Bin [1 ]
机构
[1] Lanzhou Univ, Sch Informat Sci & Engn, Gansu Prov Key Lab Wearable Comp, 222 South Tianshui Rd, Lanzhou 730000, Peoples R China
来源
JMIR MENTAL HEALTH | 2024年 / 11卷
基金
中国国家自然科学基金;
关键词
depression; social media; natural language processing; deep learning; mental health; statistical analysis; linguistic analysis; Sina Weibo; risk prediction; mood analysis; SEVERITY; HEALTH; VALIDITY;
D O I
10.2196/58259
中图分类号
R749 [精神病学];
学科分类号
100205 ;
摘要
Background: Depression represents a pressing global public health concern, impacting the physical and mental well-being of hundreds of millions worldwide. Notwithstanding advances in clinical practice, an alarming number of individuals at risk for depression continue to face significant barriers to timely diagnosis and effective treatment, thereby exacerbating a burgeoning social health crisis. Objective: This study seeks to develop a novel online depression risk detection method using natural language processing technology to identify individuals at risk of depression on the Chinese social media platform Sina Weibo. Methods: First, we collected approximately 527,333 posts publicly shared over 1 year from 1600 individuals with depression and 1600 individuals without depression on the Sina Weibo platform. We then developed a hierarchical transformer network for learning user-level semantic representations, which consists of 3 primary components: a word-level encoder, a post-level encoder, and a semantic aggregation encoder. The word-level encoder learns semantic embeddings from individual posts, while the post-level encoder explores features in user post sequences. The semantic aggregation encoder aggregates post sequence semantics to generate a user-level semantic representation that can be classified as depressed or nondepressed. Next, a classifier is employed to predict the risk of depression. Finally, we conducted statistical and linguistic analyses of the post content from individuals with and without depression using the Chinese Linguistic Inquiry and Word Count. Results: We divided the original data set into training, validation, and test sets. The training set consisted of 1000 individuals with depression and 1000 individuals without depression. Similarly, each validation and test set comprised 600 users, with 300 individuals from both cohorts (depression and nondepression). Our method achieved an accuracy of 84.62%, precision of 84.43%, recall of 84.50%, and F1-score of 84.32% on the test set without employing sampling techniques. However, by applying our proposed retrieval-based sampling strategy, we observed significant improvements in performance: an accuracy of 95.46%, precision of 95.30%, recall of 95.70%, and F1-score of 95.43%. These outstanding results clearly demonstrate the effectiveness and superiority of our proposed depression risk detection model and retrieval-based sampling technique. This breakthrough provides new insights for large-scale depression detection through social media. Through language behavior analysis, we discovered that individuals with depression are more likely to use negation words (the value of "swear" is 0.001253). This may indicate the presence of negative emotions, rejection, doubt, disagreement, or aversion in individuals with depression. Additionally, our analysis revealed that individuals with depression tend to use negative emotional vocabulary in their expressions ("NegEmo": 0.022306; "Anx": 0.003829; "Anger": 0.004327; "Sad": 0.005740), which may reflect their internal negative emotions and psychological state. This frequent use of negative vocabulary could be a way for individuals with depression to express negative feelings toward life, themselves, or their surrounding environment. Conclusions: The research results indicate the feasibility and effectiveness of using deep learning methods to detect the risk of depression. These findings provide insights into the potential for large-scale, automated, and noninvasive prediction of depression among online social media users.
引用
收藏
页数:17
相关论文
共 50 条
  • [31] A Neutral Probabilistic Structured-Prediction Method for Transition-Based Natural Language Processing
    Zhou, Hao
    Zhang, Yue
    Cheng, Chuan
    Huang, Shujian
    Dai, Xinyu
    Chen, Jiajun
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2017, 58 : 703 - 29
  • [32] Research on the Semantic Analysis Method of Translation Corpus Based on Natural Language Processing
    Yue, Xin
    SCIENTIFIC PROGRAMMING, 2022, 2022
  • [33] Natural Language Processing Based Method for Clustering and Analysis of Aviation Safety Narratives
    Rose, Rodrigo L.
    Puranik, Tejas G.
    Mavris, Dimitri N.
    AEROSPACE, 2020, 7 (10) : 1 - 22
  • [34] Explainable multimodal prediction of treatment-resistance in patients with depression leveraging brain morphometry and natural language processing
    Kim, Narae
    Kim, Narae
    Park, Chulhyoung
    Gan, Sujin
    Son, Sang Joon
    Park, Rae Woong
    Park, Bumhee
    PSYCHIATRY RESEARCH, 2024, 334
  • [35] A study on natural language processing-based method for Windows malware detection
    Do Thi Thu Hien
    Nguyen Quang Huy
    Bui Duc Hoang
    Nguyen Tan Cam
    Van-Hau Pham
    2024 IEEE TENTH INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND ELECTRONICS, ICCE 2024, 2024, : 403 - 408
  • [36] Data Extraction, Visualization, and Prediction through Natural Language Processing
    Alvarado, Carlos
    Velasquez, Gabriel
    Mauricio, David
    2024 IEEE INTERNATIONAL CONFERENCE ON OMNI-LAYER INTELLIGENT SYSTEMS, COINS 2024, 2024, : 303 - 307
  • [37] Disease outbreak prediction using natural language processing: a review
    Gautam, Avneet Singh
    Raza, Zahid
    KNOWLEDGE AND INFORMATION SYSTEMS, 2024, 66 (11) : 6561 - 6595
  • [38] On the Evaluation of Neural Selective Prediction Methods for Natural Language Processing
    Gu, Zhengyao
    Hopkins, Mark
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 1, 2023, : 7888 - 7899
  • [39] Citation prediction by leveraging transformers and natural language processing heuristics
    Buscaldi, Davide
    Dessí, Danilo
    Motta, Enrico
    Murgia, Marco
    Osborne, Francesco
    Reforgiato Recupero, Diego
    Information Processing and Management, 2024, 61 (01):
  • [40] Natural Language Processing for Virtual Reference Analysis
    Sharma, Ansh
    Barrett, Kathryn
    Stapelfeldt, Kirsta
    EVIDENCE BASED LIBRARY AND INFORMATION PRACTICE, 2022, 17 (01): : 78 - 93