Next Article in Journal
Socio-Economic Vulnerability to Climate Change in Rural Areas in the Context of Green Energy Development—A Study of the Great Masurian Lakes Mesoregion
Previous Article in Journal
Research on the Carbon Credit Exchange Strategy for Scrap Vehicles Based on Evolutionary Game Theory
Previous Article in Special Issue
Suicide Possibility Scale Detection via Sina Weibo Analytics: Preliminary Results
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Linguistic Analysis for Identifying Depression and Subsequent Suicidal Ideation on Weibo: Machine Learning Approaches

1
Key Laboratory of Adolescent Cyberpsychology and Behavior (CCNU), Ministry of Education, Wuhan 430079, China
2
School of Psychology, Central China Normal University, Wuhan 430079, China
3
Key Laboratory of Human Development and Mental Health of Hubei Province, Wuhan 430079, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Int. J. Environ. Res. Public Health 2023, 20(3), 2688; https://doi.org/10.3390/ijerph20032688
Submission received: 5 December 2022 / Revised: 18 January 2023 / Accepted: 31 January 2023 / Published: 2 February 2023
(This article belongs to the Special Issue Suicide and Self-Harm Behavior on the Internet)

Abstract

:
Depression is one of the most common mental illnesses but remains underdiagnosed. Suicide, as a core symptom of depression, urgently needs to be monitored at an early stage, i.e., the suicidal ideation (SI) stage. Depression and subsequent suicidal ideation should be supervised on social media. In this research, we investigated depression and concomitant suicidal ideation by identifying individuals’ linguistic characteristics through machine learning approaches. On Weibo, we sampled 487,251 posts from 3196 users from the depression super topic community (DSTC) as the depression group and 357,939 posts from 5167 active users on Weibo as the control group. The results of the logistic regression model showed that the SCLIWC (simplified Chinese version of LIWC) features such as affection, positive emotion, negative emotion, sadness, health, and death significantly predicted depression (Nagelkerke’s R2 = 0.64). For model performance: F-measure = 0.78, area under the curve (AUC) = 0.82. The independent samples’ t-test showed that SI was significantly different between the depression (0.28 ± 0.5) and control groups (−0.29 ± 0.72) (t = 24.71, p < 0.001). The results of the linear regression model showed that the SCLIWC features, such as social, family, affection, positive emotion, negative emotion, sadness, health, work, achieve, and death, significantly predicted suicidal ideation. The adjusted R2 was 0.42. For model performance, the correlation between the actual SI and predicted SI on the test set was significant (r = 0.65, p < 0.001). The topic modeling results were in accordance with the machine learning results. This study systematically investigated depression and subsequent SI-related linguistic characteristics based on a large-scale Weibo dataset. The findings suggest that analyzing the linguistic characteristics on online depression communities serves as an efficient approach to identify depression and subsequent suicidal ideation, assisting further prevention and intervention.

1. Introduction

Depression is the commonest psychiatric disorder, with an estimated 3.8% of the population affected, including 5.0% of adults [1]. The research showed that the lifetime prevalence of depression reached 20% [2,3]. Depression is underdiagnosed [4]. For instance, the recognition accuracy of depression by general practitioners was unsatisfying [5], and both the sensitivity and specificity of the diagnostic performance of machine learning models were proven to be higher than that of health-care professionals [6]. Therefore, objective and accurate tools to identify cases of depression will have major clinical benefits.
Social media platforms, such as Twitter, Facebook, and Weibo, are popular places where individuals express and record their personalities, feelings, moods, thoughts, and behaviors [7]. Text mining on social media is useful in detecting cases of depression [8]. For example, based on Weibo posts from 180 users, Wang et al. [9] found that the quantity of emoticons and first-person pronouns significantly predicted depression. This study employed three types of classifiers and achieved around 80% accuracy. Cheng et al. [10] included 974 Weibo users and utilized computerized language analysis methods to assess emotional distress. In this research, achievement-related words and work-related words were significantly associated with depression, but the classifiers did not achieve a satisfying performance. Moreover, Ricard et al. [11] investigated the utility of user-generated content, such as posts, in predicting depression among 749 participants. The results showed that the model trained on user-generated online data did not achieve statistical significance (AUC = 0.63, p = 0.11). Overall, the predicting accuracies remained inconsistent among the previous studies. Liu et al. [7] reviewed studies that applied machine learning methods to text data on social media to detect depressive symptoms from January 1990 to December 2020. They pointed out that the previous studies were limited by small sample sizes and suggested that large-scale dataset could facilitate high accuracy in predictive applications. Hence, it is necessary to develop depression identification models on a large sample size on social media.
Online depression communities (ODCs) are powerful forums for self-disclosure and social support seeking around mental health issues. Many users who struggle with depression gather there. Tadesse et al. [12] detected factors that revealed the depression attitude on Reddit. The data contained 1293 depression-indicative posts from relatively large depression subreddits and 548 non-depressed posts, and the classifier for depression detection reached a 0.93 F1 score. A recent study [13] coded depression-related symptoms based on Weibo posts from a large sample of 19,634 ODC members to better understand the content of these symptoms and their associations. The network analysis indicated that suicidality was the most central symptom, and there was a strong correlation between low self-evaluation and self-blame. This study provided an in-depth understanding of depression. It appears that ODCs provide depression detection with consistently high predicting accuracy and explainable information.
Suicide is a core symptom of depression [7]. Suicide can be divided into three levels: SI, suicide attempts, and completed suicide. According to Beck et al. [14], SI is a desire or plan to commit suicide without a real attempt yet, and it is an important indicator for suicide risk assessment. Research has also identified SI as one of the strongest predictors of suicide attempts [15,16,17]. Hence, SI supervision is the key to effective suicide prevention among depressed patients.
The digital footprint for SI is also tractable online. People with SI often seek help or leave suicide notes on social media before attempting suicide [18]. Jashinsky et al. [19] found that there was a strong correlation between the proportion of suicide risk-related tweets and the actual suicide rates, validating social media as a potential dataset for studying suicide. Aldhyani et al. [20] built a suicidal ideation detection system using Reddit datasets, word-embedding approaches, such as TF-IDF and Word2Vec, for text representation, and hybrid deep learning and machine learning algorithms for classification. Models achieved 95% suicidal ideation detection accuracy. Similar studies were also conducted on Weibo. For instance, Gu et al. [21] extracted text features from Weibo data and built a suicide risk prediction model to predict four dimensions of the Suicide Possibility Scale—hopelessness, suicidal ideation, negative self-evaluation, and hostility—and all achieved adequate performance. Liu et al. [22] detected suicidal ideation on Weibo using an ensemble method; this approach was assessed with a dataset formed from 40,222 posts. By integrating the best classification models of single features and multi-dimensional features, the model achieved 79.20% F1-scores. These studies were aimed at investigating suicide in general. In fact, it was suggested that predicting suicidal behavior using social media analytics should be undertaken carefully because each person with suicidal behavior has different risk factors than others [20]. Depression is the most common psychiatric disorder in people who commit suicide. Depression had a higher suicide rate relative to the general population [23,24].
In studies that investigated suicide and mental health status, such as depression, according to a recent systematic literature review of 96 relevant studies concerning suicide and depression detection on social media [25], only several studies detected both the depression level and suicide or self-harm from social media content [26,27,28,29,30,31,32,33,34,35,36]. A study [10] also investigated suicide risk and its risk factors, such as depression and anxiety, on Weibo. To the best of our knowledge, few prior studies have forecasted the SI of depressed patients on social media. As failing to identify a person with high suicide risk could lead to loss of life, a more targeted strategy to precisely identify people with a high suicide risk is advantageous for suicide prevention.
To fill in these gaps, this research focused on identifying depression and the subsequent SI symptom with posts from an ODC and random posts from the control group on Weibo. Our purpose was to establish machine learning models based on linguistic features to identify depressed patients that are at a high risk of suicide, so that intervention could step in promptly. As other machine learning models, such as neural networks, are opaque for researchers or clinicians to interpret [37], we employed regression methods, i.e., the logistic regression model and linear regression model, in this research. Regression models offer multiple parameters to help clarify the underlying mechanisms, which are frequently used in text mining on social media [38]. Topic modeling was also exploited to assist the understanding of the Weibo content.

2. Materials and Methods

2.1. Participants and Data Collection

The data were collected from Weibo, a Chinese microblogging website and one of the biggest social media platforms. First, we located the largest ODC on Weibo called the depression super topic community (DSTC). As of November 2022, it had more than 305,000 subscribers, 901,000 postings, and 3.09 billion hits. An ODC post is similar to a tweet with the hashtag on Twitter. However, it is noteworthy that the DSTC is managed by website hosts to guarantee that all posts must be depression-related. For example, posts concerning online dating, sharing unprofessional online self-diagnosis tools, and all kinds of advertisements (i.e., depression medicine, psychological consulting institutions, and so on) will be removed. Simple emotion-outpouring (instead of depression-related) posts also violate posting restrictions and will not show in the DSTC. Most of the DSTC posts were accompanied by formal clinical diagnoses, and the rest was from potential depressed patients that had not been diagnosed but needed professional help.
The data were acquired utilizing “Houyi”, a professional web scraping software. First, 11,142 posts were collected from the DSTC (posts from the DSTC were set as the DSTC group). According to account information of these posts, we then located their Weibo homepage and acquired 487,251 posts from 3196 users, set as the depression group in the present study. We then downloaded 357,939 random posts from 5167 Weibo users outside of the DSTC and other mental illness-related online communities, which formed the control group in this study.
The obtained data included users’ (1) profile information, (2) online behaviors, and (3) Weibo posts. User privacy was protected in this research.

2.2. Psychological Lexicons

The Simplified Chinese Version of LIWC (SCLIWC). SCLIWC was developed by the Computational Cyber Psychology Laboratory at the Institute of Psychology, Chinese Academy of Sciences [39]. The present study used the SCLIWC software to extract psychologically meaningful word features and their frequencies in Weibo posts. The effectiveness of this method has been verified in previous studies [40,41,42,43]. A total of 102 SCLIWC features were extracted. The proportion of frequency of each psychological word category was calculated for each Weibo user [44,45]. Then, standardization was applied.
Chinese Suicide Dictionary (CSD). We used the CSD [46] to calculate the SI scores of Weibo users. The CSD includes 586 keywords related to SI, such as “牵挂” (worry), “轮回” (reincarnation), and “永别” (part forever). Previous studies have proven its effectiveness in detecting SI [46,47,48]. In the SI calculation, the frequency of dictionary words in each post was counted, and the weights of those dictionary words in each post were summed up [46]. If the total score of one post was up to three, then this post was recognized as a post with SI. For each user, the proportion of Weibo posts with SI was considered as his/her level of SI.

2.3. Data Analysis

2.3.1. Logistic Regression Modeling

We performed logistic regression analysis on the extracted SCLIWC features to investigate whether these features could help distinguish the depression group from the control group. There were 8363 users, 3196 of which were depression-related. We randomly split the data into training set and test set with a ratio of 7:3. Logistic regression model was built on the training set with the glm function in R [49,50,51,52]. We then examined the model performance on the test set. To avoid multicollinearity, we checked variance inflation factor (VIF) for each SCLIWC word feature. A VIF value > 10 was considered as indicating multicollinearity [53], and the corresponding SCLIWC features were removed from the model.

2.3.2. Linear Regression Modeling

We built linear regression models using SCLIWC features to predict SI. We chose SCLIWC features that significantly classified the depression group and the control group as independent variables. Training set and test set were the same as datasets in the logistic regression model. We performed linear regression model analysis on the training set with the lm function in R [54,55] and applied the model on the test set. For model performance, we calculated the correlation between the actual SI values and the predicted SI values of the test set. To avoid multicollinearity, we also performed VIF examination on the SCLIWC features.

2.3.3. Topic Modeling

To describe the content of posts for each group (the depression group, the control group, and the DSTC group) for a better understanding, we further performed topic modeling to extract their topics, which yielded an abstract of the topics for each group. We used the Jieba tool, a Chinese word segmentation package on Python, to cut users’ original microblog content into individual words. We used latent Dirichlet allocation (LDA), a Bayesian inference method, to discover topics from given corpora [56].

3. Results

3.1. Logistic Regression Modeling

The SCLIWC features of Article, enPast, enParent, enFuture, and NumAtMention were removed as these five columns were all NAs, and the SCLIWC features of Funct, Pronoun, PPron, TenseM, and CogMech were removed as their VIF values were over 10.
The final results contained 92 SCLIWC features. Table 1 displays features that were significant in the logistic regression models. The results showed that the SCLIWC features of affection, positive emotion, negative emotion, sadness, health, and death significantly predicted depression (Nagelkerke’s R2 = 0.64). For model performance, sensitivity = 0.74, specificity = 0.9, accuracy = 0.84, precision = 0.82, recall = 0.74, and F-measure = 0.78. The goodness-of-fit test showed that the AUC value was 0.82. For full model information, please check the Supplementary Material.

3.2. Linear Regression Modeling

The independent sample t-test showed that the SI scores between the depression (0.28 ± 0.5) and control groups (−0.29 ± 0.72) were significantly different (t = 24.71, p < 0.001). The results from the linear regression model showed that the SCLIWC features, including social, family, affection, positive emotion, negative emotion, sadness, health, work, achieve, and death, significantly predicted SI (see Table 2). The VIF test indicated no multicollinearity issues. The adjusted R2 was 0.42. For model performance, the correlation between the actual and predicted SI on the test set was significant (r = 0.65, p < 0.001).

3.3. Topic Modeling

We extracted five topics for each group, each containing 10 key words, and the max. iteration number was set to 10. To better understand these extracted topics for each group, all authors reviewed these topics and made agreements on one abstract for each group (see Table 3, Table 4 and Table 5).

4. Discussion

This research identified depression and the subsequent suicidal ideation symptom using the linguistic characteristics of posts on Weibo. The results exhibited the sufficiency of machine learning models in detecting depression and subsequent suicidal ideation.
To start with, we employed the logistic regression model to examine whether the linguistic characteristics significantly separated the depression group and the control group and to identify depression-related SCLIWC features. The results showed that features concerning I, we, social, family, positive and negative emotions, sadness, health, work, achieve, money, and death significantly differentiated the depression group and the control group, and the contribution of these features was 64%. The model performance is promising (F-measure = 0.78, AUC = 0.82). Such results are consistent with previous research. People with depression usually use more first-person singular pronouns and negative emotion words in their postings [57]. The frequent use of first-person singular pronouns is a marker of self-awareness [58,59]. High self-awareness is a known psychological attribute in depression [60]. Emotions, especially negative emotions, were proven to be a key symptom of depression. Specifically, sadness was found to be the main emotion expressed in postings of online depression communities [13].
Next, we established the linear regression model to examine if the expression of depression-related linguistic characteristics significantly predicted SI. The results showed that the SCLIWC features, including social, family, positive/negative emotions, sadness, health, work, achieve, money and death, significantly predicted SI. The contribution of these features to SI was 42%. The model performance was satisfactory as the correlation between actual SI and predicted SI reached 0.65 (p < 0.001). SI was significantly different between the depression and control groups. These results are in accordance with previous research. A study [61] used LIWC to conduct a comparative analysis of suicidal and non-suicidal Reddit content. They found that users with suicidal ideation scored significantly higher in the negative emotions, such as anxiety and sadness, compared with average users. Similar results were found in other studies [62,63,64,65,66,67]. Research also suggested that the impact of negative emotions on SI was more direct than other factors, such as personality traits [68], adverse life events [66], and attitudes towards suicide [67].
It is worth noting that the significance of linguistic features in the logistics regression model and the linear regression model were highly consistent.
Firstly, social and family features were significant in both models. These results are congruent with the topic modeling results for the DSTC group, where family and friends were frequently mentioned, suggesting that depressed patients may experience social support issues, and according to the integrated motivational–volitional model of suicidal behavior theory [69], lack of social support can be a hazard factor for suicide.
Secondly, health-related linguistic features were also significant in both models. The online depression community is a place where patients share their mental health issues and treatment and seek help. Research has detected large numbers of health-related descriptions, such as sleeping issues, among depressed patients and people with SI [13,70]. Third, the work, achieve, and money-related features were significant in a negative direction in both models. Work and achievements are highly associated with higher self-esteem or self-efficacy [71,72]. According to Yao et al., depressed patients usually experience low self-evaluation and negative expectation [13]. Work and achievement may protect individuals from depression and further SI.
Finally, the tentative and discrepancy-related features were also significant in both models, while features, such as insight or cause-related words, were not significant in either model. These results may suggest problematic cognitive processing in the depressed patients. A review on the cognition abnormalities of major depressive disorder (MDD) found that indecisiveness was among the most troubling symptoms of MDD patients [73]. Moreover, there are two basic types of cognitive dysfunction observed in depression: (1) cognitive biases, which include distorted information processing or attentional allocation toward negative stimuli and away from positive stimuli, and (2) cognitive deficits, which include impairments in attention, short-term memory, and executive functioning [74]. Together with the negative emotion relevant results, we infer that depressed patients may go through high emotion arousal and irrational cognition. These evidences indicate that depressed patients may benefit from psychological therapies, such as relaxation training and cognitive interventions, to reduce their depression and SI symptoms.
Topic modeling results are consistent with the logistic and linear regression model results. The depression group, compared with the control group, had fewer entertainment-related expressions. Moreover, all posts in the DSTC group were highly depression-related. These results suggest that future depression and subsequent suicide intervention should pay more attention to depression-related online communities to precisely locate targeted populations that urgently need professional help.
This research has several limitations. First, we failed to report descriptive statistics of participants’ demographic information due to high missingness. Therefore, generalization of the results needs to be careful. Second, although we tried explaining the linguistic features that characterized depressed patients and their SI, most of the explanations were made by referring to previous research. Further work should take this research as a preliminary study and examine whether characteristics such as social support, emotions, self-evaluation, and cognition can be extracted from the LIWC features. As machine learning models are not intuitive for psychiatrists, future research should explore explainable machine learning models that link linguistic features to depression-related psychological factors. Moreover, replication work should test the classifiers on other online communities to check the model generalization ability to facilitate clinical applications of depression and the subsequent SI detection.

5. Conclusions

This research systematically investigated depression and subsequent SI-related linguistic characteristics based on a large-scale Weibo dataset. The machine learning models served as promising ways to efficiently identify depressed patients and their suicide risks. Future research should focus on building explainable machine learning models on ODCs and testing model generalization to facilitate the clinical detection and intervention of depression and the resulting suicide.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/ijerph20032688/s1, Table S1: The full logistic regression model of using the simplified Chinese version of LIWC (SCLIWC) features to classify the depression and control groups.

Author Contributions

Conceptualization, W.P. and X.W.; methodology, W.P. and X.W.; project administration, W.P.; supervision, W.P.; validation, L.G.; writing—original draft, W.P.; writing—review and editing, W.Z. and B.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Fundamental Research Funds for the Central Universities (CCNU21XJ021), Knowledge Innovation Program of Wuhan-Shuguang Project (2022020801020288), and the Research Program Funds of the Collaborative Innovation Center of Assessment toward Basic Education Quality (2022-04-030-BZPK01).

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki. This project was approved by the Institutional Review Board (IRB) of Central China Normal University. The IRB number is CCNU-IRB-202211010.

Informed Consent Statement

Informed consent was waived as posts on Weibo are public.

Data Availability Statement

Datasets of this study are available from the corresponding author on reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Institute of Health Metrics and Evaluation. Global Health Data Exchange (GHDx). Available online: http://ghdx.healthdata.org/gbd-results-tool?params=gbd-api-2019-permalink/d780dffbe8a381b25e1416884959e88b (accessed on 1 May 2021).
  2. Murphy, J.A.; Byrne, G.J. Prevalence and correlates of the proposed DSM-5 diagnosis of chronic depressive disorder. J. Affect. Disord. 2012, 139, 172–180. [Google Scholar] [CrossRef]
  3. Hasin, D.S.; Sarvet, A.L.; Meyers, J.L.; Saha, T.D.; Ruan, W.J.; Stohl, M.; Grant, B.F. Epidemiology of adult DSM-5 major depressive disorder and its specifiers in the United States. JAMA Psychiatry 2018, 75, 336–346. [Google Scholar] [CrossRef]
  4. Depression. World Health Organization. Available online: https://www.who.int/news-room/fact-sheets/detail/depression (accessed on 8 November 2022).
  5. Mitchell, A.J.; Vaze, A.; Rao, S. Clinical diagnosis of depression in primary care: A meta-analysis. Lancet 2009, 374, 609–619. [Google Scholar] [CrossRef]
  6. Liu, X.; Faes, L.; Kale, A.U.; Wagner, S.K.; Fu, D.J.; Bruynseels, A.; Mahendiran, T.; Moraes, G.; Shamdas, M.; Kern, C.; et al. A comparison of deep learning performance against health-care professionals in detecting diseases from medical imaging: A systematic review and meta-analysis. Lancet Digit. Health 2019, 1, e271–e297. [Google Scholar] [CrossRef] [PubMed]
  7. Liu, D.; Feng, X.L.; Ahmed, F.; Shahid, M.; Guo, J. Detecting and measuring depression on social media using a machine learning approach: Systematic review. JMIR Ment. Health 2022, 9, e27244. [Google Scholar] [CrossRef] [PubMed]
  8. Schwartz, H.A.; Sap, M.; Kern, M.L.; Eichstaedt, J.C.; Kapelner, A.; Agrawal, M.; Blanco, E.; Dziurzynski, L.; Park, G.; Stillwell, D.; et al. Predicting individual well-being through the language of social media. In Biocomputing 2016: Proceedings of the Pacific Symposium; World Scientific Publishing: Singapore, 2016; pp. 516–527. [Google Scholar] [CrossRef]
  9. Wang, X.; Zhang, C.; Ji, Y.; Sun, L.; Wu, L.; Bao, Z. A depression detection model based on sentiment analysis in micro-blog social network. In Proceedings of the Pacific-Asia Conference on Knowledge Discovery and Data Mining 2013, Gold Coast, Australia, 14–17 April 2013; pp. 201–213. [Google Scholar] [CrossRef]
  10. Cheng, Q.; Li, T.M.; Kwok, C.L.; Zhu, T.; Yip, P.S. Assessing suicide risk and emotional distress in Chinese social media: A text mining and machine learning study. J. Med. Internet Res. 2017, 19, e243. [Google Scholar] [CrossRef]
  11. Ricard, B.J.; Marsch, L.A.; Crosier, B.; Hassanpour, S. Exploring the utility of community-generated social media content for detecting depression: An analytical study on Instagram. J. Med. Internet Res. 2018, 20, e11817. [Google Scholar] [CrossRef] [PubMed]
  12. Tadesse, M.M.; Lin, H.; Xu, B.; Yang, L. Detection of depression-related posts in reddit social media forum. IEEE Access 2019, 7, 44883–44893. [Google Scholar] [CrossRef]
  13. Yao, X.; Yu, G.; Tang, J.; Zhang, J. Extracting depressive symptoms and their associations from an online depression community. Comput. Hum. Behav. 2021, 120, 106734. [Google Scholar] [CrossRef]
  14. Beck, A.T.; Kovacs, M.; Weissman, A. Assessment of suicidal intention: The Scale for Suicide Ideation. J. Consult. Clin. Psychol. 1979, 47, 343. [Google Scholar] [CrossRef]
  15. Law, K.C.; Jin, H.M.; Anestis, M.D. The intensity of suicidal ideation at the worst point and its association with suicide attempts. Psychiatry Res. 2018, 269, 524–528. [Google Scholar] [CrossRef] [PubMed]
  16. McHugh, C.M.; Corderoy, A.; Ryan, C.J.; Hickie, I.B.; Large, M.M. Association between suicidal ideation and suicide: Meta-analyses of odds ratios, sensitivity, specificity and positive predictive value. BJPsych Open 2019, 5, e24. [Google Scholar] [CrossRef]
  17. Ramírez-Cifuentes, D.; Freire, A.; Baeza-Yates, R.; Puntí, J.; Medina-Bravo, P.; Velazquez, D.A.; Gonfaus, J.M.; Gonzàlez, J. Detection of suicidal ideation on social media: Multimodal, relational, and behavioral analysis. J. Med. Internet Res. 2020, 22, e17758. [Google Scholar] [CrossRef] [PubMed]
  18. Manago, A.; Taylor, T.; Greenfield, P. Me and my 400 friends: The anatomy of college students’ facebook networks, their communication patterns, and wellbeing. Dev. Psychol. 2012, 48, 369–380. [Google Scholar] [CrossRef] [PubMed]
  19. Jashinsky, J.; Burton, S.H.; Hanson, C.L.; West, J.; Giraud-Carrier, C.; Barnes, M.D.; Argyle, T. Tracking suicide risk factors through Twitter in the US. Crisis J. Crisis Interv. Suicide Prev. 2014, 35, 51. [Google Scholar] [CrossRef]
  20. Aldhyani, T.H.H.; Alsubari, S.N.; Alshebami, A.S.; Alkahtani, H.; Ahmed, Z.A. Detecting and analyzing suicidal ideation on social media using deep learning and machine learning models. Int. J. Environ. Res. Public Health 2022, 19, 12635. [Google Scholar] [CrossRef]
  21. Gu, Y.; Chen, D.; Liu, X. Suicide Possibility Scale Detection via Sina Weibo Analytics: Preliminary Results. Int. J. Environ. Res. Public Health 2022, 20, 466. [Google Scholar] [CrossRef]
  22. Liu, J.; Shi, M.; Jiang, H. Detecting suicidal ideation in social media: An ensemble method based on feature fusion. Int. J. Environ. Res. Public Health 2022, 19, 8197. [Google Scholar] [CrossRef]
  23. Penninx, B.W.J.H.; Geerlings, S.W.; Deeg, D.J.H.; van Eijk, J.T.; van Tilburg, W.; Beekman, A.T. Minor and major depression and the risk of death in older persons. Arch. Gen. Psychiatry 1999, 56, 889–895. [Google Scholar] [CrossRef]
  24. Chiu, C.C.; Liu, H.C.; Li, W.H.; Tsai, S.Y.; Chen, C.C.; Kuo, C.J. Incidence, risk and protective factors for suicide mortality among patients with major depressive disorder. Asian J. Psychiatry 2023, 80, 103399. [Google Scholar] [CrossRef]
  25. Malhotra, A.; Jindal, R. Deep learning techniques for suicide and depression detection from online social media: A scoping review. Appl. Soft Comput. 2022, 130, 109713. [Google Scholar] [CrossRef]
  26. Benton, M.; Mitchell, D. Hovy, Multitask learning for mental health conditions with limited social media data. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics, Valencia, Spain, 3–7 April 2017; Volume 1, in: Long Papers. pp. 152–162. [Google Scholar]
  27. Gkotsis, G.; Oellrich, A.; Velupillai, S.; Liakata, M.; Hubbard, T.; Dobson, R.; Dutta, R. Characterisation of mental health conditions in social media using Informed Deep Learning. Sci. Rep. 2017, 7, 1–11. [Google Scholar] [CrossRef]
  28. Yates, A.; Cohan, A.; Goharian, N. Depression and self-harm risk assessment in online forums. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark, 7–11 September 2017; pp. 2968–2978. [Google Scholar]
  29. Halder, K.; Poddar, L.; Kan, M.Y. Modeling temporal progression of emotional status in mental health forum: A recurrent neural net approach. In Proceedings of the 8th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, Copenhagen, Denmark, 8 September 2017; pp. 127–135. [Google Scholar]
  30. Ji, S.; Li, X.; Huang, Z.; Cambria, E. Suicidal ideation and mental disorder detection with attentive relation networks. Neural Comput. Appl. 2022, 34, 10309–10319. [Google Scholar] [CrossRef]
  31. Mann, P.; Paes, A.; Matsushima, E.H. See and read: Detecting depression symptoms in higher education students using multimodal social media data. In Proceedings of the International AAAI Conference on Web and Social Media, Atlanta, GA, USA, 8 June 2020; Volume 14, pp. 440–451. [Google Scholar]
  32. Maupomé, D.; Armstrong, M.D.; Belbahar, R.M.; Alezot, J.; Balassiano, R.; Queudot, M.; Mosser, S.; Meurs, M.-J. Early Mental Health Risk Assessment Through Writing Styles, Topics and Neural Models. In Proceedings of the CLEF (Working Notes), Thessaloniki, Greece, 22–25 September 2020. [Google Scholar]
  33. Maupomé, M.D.; Armstrong, F.; Rancourt, M.J. Meurs, Leveraging textual similarity to predict beck depression inventory answers. In Proceedings of the Canadian Conference on Artificial Intelligence, Vancouver, BC, Canada, 25–28 May 2021. [Google Scholar]
  34. Uban, A.S.; Chulvi, B.; Rosso, P. An emotion and cognitive based analysis of mental health disorders from social media data. Future Gener. Comput. Syst. 2021, 124, 480–494. [Google Scholar] [CrossRef]
  35. Ragheb, W.; Aze, J.; Bringay, S.; Servajean, M. Negatively Correlated Noisy Learners for At-risk User Detection on Social Networks: A Study on Depression, Anorexia, Self-harm and Suicide. IEEE Trans. Knowl. Data Eng. 2021, 35, 770–783. [Google Scholar] [CrossRef]
  36. Basile, A.; Chinea-Rios, M.; Uban, A.S.; Müller, T.; Rössler, L.; Yenikent, S.; Chulvi-Ferriols, M.A. UPV-Symanto at eRisk 2021: Mental Health Author Profiling for Early Risk Prediction on the Internet. In Proceedings of the CLEF (Working Notes), Bucharest, Romania, 21–24 September 2021; pp. 908–927. [Google Scholar]
  37. Linardatos, P.; Papastefanopoulos, V.; Kotsiantis, S. Explainable ai: A review of machine learning interpretability methods. Entropy 2020, 23, 18. [Google Scholar] [CrossRef]
  38. Nordin, N.; Zainol, Z.; Noor, M.H.M.; Chan, L.F. Suicidal behaviour prediction models using machine learning techniques: A systematic review. Artif. Intell. Med. 2022, 132, 102395. [Google Scholar] [CrossRef]
  39. Gao, R.; Hao, B.; Bai, S.; Li, L.; Li, A.; Zhu, T. Improving user profile with personality traits predicted from social media content. In Proceedings of the 7th ACM Conference on Recommender Systems, Hong Kong, China, 12–16 October 2013; pp. 355–358. [Google Scholar]
  40. Zhao, N.; Jiao, D.; Bai, S.; Zhu, T. Evaluating the Validity of Simplified Chinese Version of LIWC in Detecting Psychological Expressions in Short Texts on Social Network Services. PLoS ONE 2016, 11, e0157947. [Google Scholar] [CrossRef] [Green Version]
  41. Li, S.; Wang, Y.; Xue, J.; Zhao, N.; Zhu, T. The Impact of COVID-19 Epidemic Declaration on Psychological Consequences: A Study on Active Weibo Users. Int. J. Environ. Res. Public Health 2020, 17, 2032. [Google Scholar] [CrossRef]
  42. Zheng, Z.-W.; Yang, Q.-L.; Liu, Z.-Q.; Qiu, J.-L.; Gu, J.; Hao, Y.-T.; Song, C.; Jia, Z.-W.; Hao, C. Associations Between Affective States and Sexual and Health Status among Men Who Have Sex with Men in China: Exploratory Study Using Social Media Data. J. Med. Internet Res. 2020, 22, e13201. [Google Scholar] [CrossRef]
  43. Huang, F.; Li, S.; Li, D.; Yang, M.; Ding, H.; Di, Y.; Zhu, T. The Impact of Mortality Salience, Negative Emotions and Cultural Values on Suicidal Ideation in COVID-19: A Conditional Process Model. Int. J. Environ. Res. Public Health 2022, 19, 9200. [Google Scholar] [CrossRef] [PubMed]
  44. Huang, F.; Ding, H.; Liu, Z.; Wu, P.; Zhu, M.; Li, A.; Zhu, T. How fear and collectivism influence public’s preventive intention towards COVID-19 infection: A study based on big data from the social media. BMC Public Health 2020, 20, 1707. [Google Scholar] [CrossRef]
  45. Zhang, Y.; Yu, F. Which Socio-Economic Indicators Influence Collective Morality? Big Data Analysis on Online Chinese Social Media. Emerg. Mark. Financ. Trade 2018, 54, 792–800. [Google Scholar] [CrossRef]
  46. Lv, M.; Li, A.; Liu, T.; Zhu, T. Creating a Chinese suicide dictionary for identifying suicide risk on social media. Peer J. 2015, 3, e1455. [Google Scholar] [CrossRef]
  47. Pourmand, A.; Roberson, J.; Caggiula, A.; Monsalve, N.; Rahimi, M.; Torres-Llenza, V. Social Media and Suicide: A Review of Technology-Based Epidemiology and Risk Assessment. Telemed. E-Health 2019, 25, 880–888. [Google Scholar] [CrossRef]
  48. Liu, D.; Fu, Q.; Wan, C.; Liu, X.; Jiang, T.; Liao, G.; Qiu, X.; Liu, R. Suicidal Ideation Cause Extraction from Social Texts. IEEE Access 2020, 8, 169333–169351. [Google Scholar] [CrossRef]
  49. Dobson, A.J. An Introduction to Generalized Linear Models, 4th ed.; Chapman and HALL/CRC: Boca Raton, FL, USA, 2018; ISBN 978-13-1518-278-0. [Google Scholar]
  50. Hastie, T.J.; Pregibon, D. Generalized Linear Models, 2nd ed.; Routledge: New York, NY, USA, 2019; ISBN 978-02-0375-373-6. [Google Scholar]
  51. McCullagh, P.; Nelder, J.A. Generalized Linear Models; Chapman and Hall/CRC: London, UK, 1989; ISBN 978-04-1231-760-6. [Google Scholar]
  52. Venables, W.N.; Ripley, B.D. Modern Applied Statistics with S; Springer: New York, NY, USA, 2003; ISBN 978-03-8795-457-8. [Google Scholar]
  53. Senaviratna, N.A.M.R.; Cooray, T.M.J.A. Diagnosing multicollinearity of logistic regression model. Asian J. Probab. Stat. 2019, 5, 1–9. [Google Scholar] [CrossRef]
  54. Chambers, J.M. Statistical Models in S, 1st ed.; Routledge: Oxfordshire, UK, 1992; Chapter 4 Linear models; ISBN 978-02-0373-853-5. [Google Scholar]
  55. Wilkinson, G.N.; Rogers, C.E. Symbolic descriptions of factorial models for analysis of variance. Appl. Stat. 1973, 22, 392–399. [Google Scholar] [CrossRef]
  56. Blei, D.M.; Ng, A.Y.; Jordan, M.I. Latent dirichlet allocation. J. Mach. Learn. Res. 2003, 3, 993–1022. [Google Scholar]
  57. Xu, R.; Zhang, Q. Understanding online health groups for depression: Social network and linguistic perspectives. J. Med. Internet Res. 2016, 18, e63. [Google Scholar] [CrossRef]
  58. Zimmermann, J.; Wolf, M.; Bock, A.; Peham, D.; Benecke, C. The way we refer to ourselves reflects how we relate to others: Associations between first-person pronoun use and interpersonal problems. J. Res. Personal. 2013, 47, 218–225. [Google Scholar] [CrossRef]
  59. Holtzman N, S. A meta-analysis of correlations between depression and first person singular pronoun use. J. Res. Personal. 2017, 68, 63–68. [Google Scholar]
  60. Chung, C.; Pennebaker, J. The psychological functions of function words. Soc. Commun. 2011, 1, 343–359. [Google Scholar]
  61. Ji, S.; Yu, C.P.; Fung, S.; Pan, S.; Long, G. Supervised learning for suicidal ideation detection in online user content. Complexity 2018, 2018, 6157249. [Google Scholar] [CrossRef]
  62. Li, T.M.; Chau, M.; Yip, P.S.; Wong, P. Temporal and computerized psycholinguistic analysis of the blog of a Chinese adolescent suicide. Crisis J. Crisis Interv. Suicide Prev. 2014, 35, 1–8. [Google Scholar] [CrossRef]
  63. Kim, K.; Choi, S.; Lee, J.; Sea, J. Differences in linguistic and psychological characteristics between suicide notes and diaries. J. Gen. Psychol. 2019, 146, 1–26. [Google Scholar] [CrossRef]
  64. Coppersmith, G.; Leary, R.; Whyne, E.; Wood, T. Quantifying suicidal ideation via language usage on social media. In Proceedings of the Joint Statistics Meetings Proceedings, Statistical Computing Section, JSM, Seattle, WA, USA, 8–13 August 2015; Volume 110. [Google Scholar]
  65. Litvinova, T.A.; Seredin, P.V.; Litvinova, O.A.; Romanchenko, O.V. Identification of suicidal tendencies of individuals based on the quantitative analysis of their internet texts. Comput. Y Sist. 2017, 21, 243–252. [Google Scholar] [CrossRef]
  66. Liu, R.T.; Miller, I. Life events and suicidal ideation and behavior: A systematic review. Clin. Psychol. Rev. 2014, 34, 181–192. [Google Scholar] [CrossRef]
  67. Colucci, E.; Minas, H. Attitudes towards Youth Suicide: A Comparison between Italian, Indian and Australian Students. In Proceedings of the IACCP Regional Conference, Los Angeles, CA, USA, 20–22 June 2013. [Google Scholar]
  68. Chioqueta, A.P.; Stiles, T.C. Personality traits and the development of depression, hopelessness, and suicide ideation. Personal. Individ. Differ. 2005, 38, 1283–1291. [Google Scholar] [CrossRef]
  69. O’Connor, R.C.; Cleare, S.; Eschle, S.; Wetherall, K.; Kirtley, O.J. The integrated motivational-volitional model of suicidal behavior: An update. Int. Handb. Suicide Prev. 2016, 373, 220–240. [Google Scholar] [CrossRef]
  70. Franklin, J.C.; Ribeiro, J.D.; Fox, K.R.; Bentley, K.H.; Kleiman, E.M.; Huang, X.; Musacchio, K.M.; Jaroszewski, A.C.; Chang, B.P.; Nock, M.K. Risk factors for suicidal thoughts and behaviors: A meta-analysis of 50 years of research. Psychol. Bull. 2017, 143, 187. [Google Scholar] [CrossRef]
  71. Krauss, S.; Orth, U. Work experiences and self-esteem development: A meta-analysis of longitudinal studies. Eur. J. Personal. 2021, 36, 849–869. [Google Scholar] [CrossRef]
  72. Schunk, D.H. Self-efficacy and achievement behaviors. Educ. Psychol. Rev. 1989, 1, 173–208. [Google Scholar] [CrossRef]
  73. Trivedi, M.H.; Greer, T.L. Cognitive dysfunction in unipolar depression: Implications for treatment. J. Affect. Disord. 2014, 152, 19–27. [Google Scholar] [CrossRef] [PubMed]
  74. Murrough, J.W.; Iacoviello, B.; Neumeister, A.; Charney, D.S.; Iosifescu, D.V. Cognitive dysfunction in depression: Neurocircuitry and new therapeutic strategies. Neurobiol. Learn. Mem. 2011, 96, 553–563. [Google Scholar] [CrossRef]
Table 1. Logistic regression model using the simplified Chinese version of LIWC (SCLIWC) features to classify the depression and control groups.
Table 1. Logistic regression model using the simplified Chinese version of LIWC (SCLIWC) features to classify the depression and control groups.
SCLIWC FeaturesβS.E.Zpsig
Intercept−0.470.06−8.000.00***
I1.020.1010.520.00***
We0.140.062.140.03*
Quantifier−0.200.06−3.590.00***
Prepend0.210.063.480.00***
Specart−0.300.06−5.090.00***
Multi-Functional−0.260.09−2.960.00**
Social0.230.082.800.01**
Family−0.160.06−2.700.01**
Affection0.400.133.000.00**
Positive Emotions−0.250.10−2.430.02*
Negative Emotions0.400.123.230.00**
Sadness0.410.094.440.00***
Discrepancies0.510.134.040.00***
Tentative0.340.103.410.00***
Exclusive−0.350.10−3.570.00***
Perceptual Processes−0.400.11−3.710.00***
See0.380.113.480.00***
Hear0.170.072.340.02*
Health0.700.097.950.00***
Ingest−0.260.09−2.880.00**
Relativity−0.400.11−3.800.00***
Motion0.320.074.890.00***
Work−0.190.06−2.920.00**
Achieve−0.300.07−4.330.00***
Money−0.210.08−2.670.01**
Death0.360.084.370.00***
Nonfluencies0.210.082.600.01**
Filler Words−0.280.08−3.570.00***
Period−0.150.07−2.150.03*
Comma−0.280.06−4.680.00***
Semicolon−0.290.08−3.510.00***
Exclamation−0.220.07−3.290.00**
Dash0.310.083.770.00***
Quote−0.270.08−3.250.00**
Parentheses0.180.072.690.01**
Other Punctuation−0.170.07−2.380.02*
Word Count1.000.0714.540.00***
Words Per Sentence−0.590.20−3.020.00**
Rate of Dictionary Cover−0.300.11−2.820.00**
Rate of Numerals−0.700.09−8.110.00***
Rate Four Char Words−0.190.08−2.310.02*
Rate of Latin Words0.380.084.520.00***
Number of Emotions−0.760.10−7.610.00***
Number of Hashtags0.420.085.420.00***
Number of URLs0.290.074.240.00***
*** p < 0.001, ** p < 0.01, * p < 0.05.
Table 2. Linear regression model using the simplified Chinese version of LIWC (SCLIWC) features to predict suicidal ideation (SI).
Table 2. Linear regression model using the simplified Chinese version of LIWC (SCLIWC) features to predict suicidal ideation (SI).
SCLIWC FeaturesβS.E.TpSig
We0.100.0110.130.00***
Quantifier−0.040.01−4.190.00***
Prepend0.030.012.650.01**
Specart0.030.013.220.00**
Social0.070.015.900.00***
Family0.020.011.980.05*
Affection0.070.023.260.00**
Positive Emotion−0.090.02−5.540.00***
Negative Emotion0.150.028.390.00***
Sadness0.040.022.720.01**
Discrepancies0.050.023.460.00***
Tentative0.080.025.150.00***
Exclusive−0.090.02−6.000.00***
See−0.100.02−5.730.00***
Hear0.060.015.090.00***
Health0.110.018.590.00***
Ingest−0.090.01−7.270.00***
Relativity−0.110.01−10.520.00***
Work0.080.017.870.00***
Achieve−0.020.01−2.130.03*
Money−0.070.01−4.880.00***
Death0.120.019.010.00***
Nonfluencies0.050.013.990.00***
Period0.070.016.130.00***
Comma0.080.018.430.00***
Exclamation−0.020.01−1.970.05*
Parentheses−0.030.01−2.630.01**
Other Punctuation−0.110.01−8.550.00***
Word Count0.120.0110.560.00***
Words Per Sentence0.140.025.570.00***
Rate of Dictionary Cover0.090.025.370.00***
Rate Four Char Words0.120.019.760.00***
Rate of Latin Words−0.080.01−5.440.00***
Number of Emotions0.060.023.660.00***
Number of Hashtags0.070.024.770.00***
Number of URLs−0.030.01−4.240.00***
*** p < 0.001, ** p < 0.01, * p < 0.05.
Table 3. Topics and abstract of topics for the control group.
Table 3. Topics and abstract of topics for the control group.
AbstractTopics
(1) Common topics that are usually discussed on Weibo such as idolization and hot events such as the Olympic Games and New Year;
(2) Common online behavior such as microblog forwarding.
Yuan Wang *, TF boys, microblog, Junkai Wang, video, broadcast, music, Qianxi, juvenile
Full text, video, microblog, broadcast, China, hahahaha, America, hahaha, link, webpage
Endeavour, Yixing Zhang, microblog, hip-hop, Zhan Xiao, video, broadcast, juvenile, studio, September 18th incident
Microblog, forwarding, video, broadcast, full text, China, really, 10000 times, lottery, like
Microblog, red envelope, cash, 2021, forwarding, New Year’s Eve, links, web pages, Fortune, voting
* Names occurring in topics belong to celebrities, similarly hereinafter.
Table 4. Topics and abstract of topics for the depression group.
Table 4. Topics and abstract of topics for the depression group.
AbstractTopics
(1) Common topics that are usually discussed on Weibo, such as music and idolization;
(2) Mental health-related words such as depression and hope.
Xukun Cai, Jie Zhang, cover, year, 2019, music, 2020, new song, Minghao Huang, Xun Wei
Microblog, forwarding, video, full text, playback, link, webpage, hahahaha, juvenile, lottery
Depression, microblog, real, full text, forwarding, video, love, hope, life, feeling
TF, boys, Yuan Wang, Qian Xi, Junkai Wang, band, Xia Ye, film, new album, fan club
Dilraba, dear, Lu Bai, Glory, Jingjing, Badaling, Peacock, Deyun Society, Kowloon
Table 5. Topics and abstract of topics for the depression super topic community (DSTC) group.
Table 5. Topics and abstract of topics for the depression super topic community (DSTC) group.
AbstractTopics
(1) Negative emotions;
(2) Depression treatment-related discussion;
(3) Family and friends.
No, really, taking medicine, depression, doctor, depression, living, whether there is, fear, making me
Really, feeling, happiness, life, emotion, disappointment, suffering, sadness, as if
A little, hope, collapse, mom, sleep, someone, sometimes, good night, Er Ha (silly like a Siberian husky), friends
Evening, leaving, happy, want to, understanding, a few days, friends, http, cn, cute
Like, work, bad, world, hospital, more and more, if, tell, tomorrow, doctor
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Pan, W.; Wang, X.; Zhou, W.; Hang, B.; Guo, L. Linguistic Analysis for Identifying Depression and Subsequent Suicidal Ideation on Weibo: Machine Learning Approaches. Int. J. Environ. Res. Public Health 2023, 20, 2688. https://doi.org/10.3390/ijerph20032688

AMA Style

Pan W, Wang X, Zhou W, Hang B, Guo L. Linguistic Analysis for Identifying Depression and Subsequent Suicidal Ideation on Weibo: Machine Learning Approaches. International Journal of Environmental Research and Public Health. 2023; 20(3):2688. https://doi.org/10.3390/ijerph20032688

Chicago/Turabian Style

Pan, Wei, Xianbin Wang, Wenwei Zhou, Bowen Hang, and Liwen Guo. 2023. "Linguistic Analysis for Identifying Depression and Subsequent Suicidal Ideation on Weibo: Machine Learning Approaches" International Journal of Environmental Research and Public Health 20, no. 3: 2688. https://doi.org/10.3390/ijerph20032688

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop