Log in

Depression detection via a Chinese social media platform: a novel causal relation-aware deep learning approach

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Depression detection on social media aims to analyze users’ tendency to depression and provide help for the early detection of depressed users. However, most previous research focusses on diagnoses using the binary classification of the English language. Relevant studies focusing on Chinese social media are scarce, although the Chinese language has numerous users, making such detection more necessary for Chinese social media platforms. Hence, based on online review corpus containing rich depression contexts, this research explores fine-grained polarities and causes of depression with weighted graph-RoBERTa neural network, a novel deep-learning model integrating a Chinese-oriented pre-training model and graph convolution architecture. Meanwhile, a causal relationship model is implemented based on the causal inference theory, which proves the interpretability of the proposed approach on the Weibo dataset. The experimental results show that our model outperforms some state-of-the-art baseline models and achieves 75.3% (F1-micro) and 71.8% (F1-macro) in depression polarity, an average of 85.4% (F1-score) and 97.7% (AUC) in cause-detection tasks. In addition, the results of an ablation study demonstrate the effectiveness of all proposed modules. Our work has multiple implications for depression detection in social media, showing the potential application in other mental health conditions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Germany)

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Data availability

Not applicable.

Notes

  1. https://www.twitter.com/.

  2. https://www.facebook.com/.

References

  1. Hammen C (2005) Stress and depression. Annu Rev Clin Psychol 1:293–319. https://doi.org/10.1146/annurev.clinpsy.1.102803.143938

    Article  Google Scholar 

  2. Zhu W, Mou J, Benyoucef M et al (2023) Understanding the relationship between social media use and depression: a review of the literature. OIR. https://doi.org/10.1108/OIR-04-2021-0211

    Article  Google Scholar 

  3. Üstün TB, Ayuso-Mateos JL, Chatterji S et al (2004) Global burden of depressive disorders in the year 2000. Br J Psychiatry 184:386–392. https://doi.org/10.1192/bjp.184.5.386

    Article  Google Scholar 

  4. Liu Y, Zeng Q, Ordieres Meré J, Yang H (2019) Anticipating stock market of the renowned companies: a knowledge graph approach. Complexity 2019:1–15. https://doi.org/10.1155/2019/9202457

    Article  Google Scholar 

  5. De Choudhury M, Gamon M, Counts S, Horvitz E (2021) Predicting depression via social media. ICWSM 7:128–137. https://doi.org/10.1609/icwsm.v7i1.14432

    Article  Google Scholar 

  6. Ríssola EA, Losada DE, Crestani F (2021) A survey of computational methods for online mental state assessment on social media. ACM Trans Comput Healthcare 2:1–31. https://doi.org/10.1145/3437259

    Article  Google Scholar 

  7. Kumar M, Dredze M, Coppersmith G, De Choudhury M (2015) Detecting changes in suicide content manifested in social media following celebrity suicides. In: Proceedings of the 26th ACM Conference on Hypertext & Social Media - HT ’15. ACM Press, Guzelyurt, Northern Cyprus, pp 85–94

  8. Liu Y, Shi J, Zhao C, Zhang C (2023) Generalizing factors of COVID-19 vaccine attitudes in different regions: a summary generation and topic modeling approach. DIGITAL HEALTH 9:20552076231188852. https://doi.org/10.1177/20552076231188852

    Article  Google Scholar 

  9. Liu Y, Fei H, Zeng Q et al (2020) Electronic word-of-mouth effects on studio performance leveraging attention-based model. Neural Comput & Applic 32:17601–17622. https://doi.org/10.1007/s00521-020-04937-0

    Article  Google Scholar 

  10. Liu D, Feng XL, Ahmed F et al (2022) Detecting and measuring depression on social media using a machine learning approach: systematic review. JMIR Ment Health 9:e27244. https://doi.org/10.2196/27244

    Article  Google Scholar 

  11. Ghosh S, Anwar T (2021) Depression intensity estimation via social media: a deep learning approach. IEEE Trans Comput Soc Syst 8:1465–1474. https://doi.org/10.1109/TCSS.2021.3084154

    Article  Google Scholar 

  12. Chiong R, Budhi GS, Dhakal S, Chiong F (2021) A textual-based featuring approach for depression detection using machine learning classifiers and social media texts. Comput Biol Med 135:104499. https://doi.org/10.1016/j.compbiomed.2021.104499

    Article  Google Scholar 

  13. Husseini Orabi A, Buddhitha P, Husseini Orabi M, Inkpen D (2018) Deep learning for depression detection of twitter users. In: Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic. Association for computational linguistics, New Orleans, LA, pp 88–97

  14. Yang T, Li F, Ji D et al (2021) Fine-grained depression analysis based on Chinese micro-blog reviews. Inf Process Manage 58:102681. https://doi.org/10.1016/j.ipm.2021.102681

    Article  Google Scholar 

  15. Yang X, McEwen R, Ong LR, Zihayat M (2020) A big data analytics framework for detecting user-level depression from social networks. Int J Inf Manage 54:102141. https://doi.org/10.1016/j.i**fomgt.2020.102141

    Article  Google Scholar 

  16. Pearl J (2009) Causal inference in statistics: an overview. Statist Surv. https://doi.org/10.1214/09-SS057

    Article  MathSciNet  Google Scholar 

  17. Ansari L, Ji S, Chen Q, Cambria E (2022) Ensemble hybrid learning methods for automated depression detection. IEEE Trans Comput Soc Syst 1:211–219. https://doi.org/10.1109/TCSS.2022.3154442

    Article  Google Scholar 

  18. Kour H, Gupta MK (2022) An hybrid deep learning approach for depression prediction from user tweets using feature-rich CNN and bi-directional LSTM. Multimed Tools Appl 81:23649–23685. https://doi.org/10.1007/s11042-022-12648-y

    Article  Google Scholar 

  19. Zogan H, Razzak I, Wang X et al (2022) Explainable depression detection with multi-aspect features using a hybrid deep learning model on social media. World Wide Web 25:281–304. https://doi.org/10.1007/s11280-021-00992-2

    Article  Google Scholar 

  20. Ren L, Lin H, Xu B et al (2021) Depression detection on reddit with an emotion-based attention network: algorithm development and validation. JMIR Med Inform 9:e28754. https://doi.org/10.2196/28754

    Article  Google Scholar 

  21. Chiu CY, Lane HY, Koh JL, Chen ALP (2021) Multimodal depression detection on instagram considering time interval of posts. J Intell Inf Syst 56:25–47. https://doi.org/10.1007/s10844-020-00599-5

    Article  Google Scholar 

  22. Mann P, Paes A, Matsushima EH (2020) See and read: detecting depression symptoms in higher education students using multimodal social media data. ICWSM 14:440–451. https://doi.org/10.1609/icwsm.v14i1.7313

    Article  Google Scholar 

  23. Gui T, Zhu L, Zhang Q et al (2019) Cooperative multimodal approach to depression detection in twitter. AAAI 33:110–117. https://doi.org/10.1609/aaai.v33i01.3301110

    Article  Google Scholar 

  24. Wu MY, Shen C-Y, Wang ET, Chen ALP (2020) A deep architecture for depression detection using posting, behavior, and living environment data. J Intell Inf Syst 54:225–244. https://doi.org/10.1007/s10844-018-0533-4

    Article  Google Scholar 

  25. Cong Q, Feng Z, Li F, et al (2018) X-A-BiLSTM: a deep learning approach for depression detection in imbalanced data. In: 2018 IEEE International Conference on Bioinformatics and Biomedicine (BIBM). IEEE, Madrid, Spain, pp 1624–1627

  26. Conway M, O’Connor D (2016) Social media, big data, and mental health: current advances and ethical implications. Curr Opin Psychol 9:77–82. https://doi.org/10.1016/j.copsyc.2016.01.004

    Article  Google Scholar 

  27. Islam MdR, Kabir MA, Ahmed A et al (2018) Depression detection from social network data using machine learning techniques. Health Inf Sci Syst 6:8. https://doi.org/10.1007/s13755-018-0046-0

    Article  Google Scholar 

  28. Liu Y, Huang F, Ma L et al (2023) Credit scoring prediction leveraging interpretable ensemble learning. J Forecast. https://doi.org/10.1002/for.3033

    Article  Google Scholar 

  29. Chancellor S, De Choudhury M (2020) Methods in predictive techniques for mental health status on social media: a critical review. Npj Digit Med 3:43. https://doi.org/10.1038/s41746-020-0233-7

    Article  Google Scholar 

  30. Bian J, Liu Y, Zhou D, et al (2009) Learning to recognize reliable users and content in social media with coupled mutual reinforcement. In: Proceedings of the 18th International Conference on World Wide Web. ACM, Madrid Spain, pp 51–60

  31. Trifan A, Oliveira M, Oliveira JL (2019) Passive sensing of health outcomes through smartphones: systematic review of current solutions and possible limitations. JMIR Mhealth Uhealth 7:e12649. https://doi.org/10.2196/12649

    Article  Google Scholar 

  32. Yoo M, Lee S, Ha T (2019) Semantic network analysis for understanding user experiences of bipolar and depressive disorders on Reddit. Inf Process Manage 56:1565–1575. https://doi.org/10.1016/j.ipm.2018.10.001

    Article  Google Scholar 

  33. Sadeque F, Xu D, Bethard S (2018) Measuring the latency of depression detection in social media. In: Proceedings of the Eleventh ACM International Conference on Web Search and Data Mining. ACM, Marina Del Rey CA USA, pp 495–503

  34. Tong L, Liu Z, Jiang Z et al (2022) Cost-sensitive boosting pruning trees for depression detection on twitter. IEEE Trans Affect Comput 14(3):1898–1911. https://doi.org/10.1109/TAFFC.2022.3145634

    Article  Google Scholar 

  35. Marerngsit S, Thammaboosadee S (2020) A two-stage text-to-emotion depressive disorder screening assistance based on contents from online community. In: 2020 8th International Electrical Engineering Congress (iEECON). IEEE, Chiang Mai, Thailand, pp 1–4

  36. Kamite SR, Kamble VB (2020) Detection of depression in social media via twitter using machine learning approach. In: 2020 International Conference on Smart Innovations in Design, Environment, Management, Planning and Computing (ICSIDEMPC). IEEE, Aurangabad, India, pp 122–125

  37. Govindasamy KA, Palanichamy N (2021) Depression detection using machine learning techniques on twitter data. In: 2021 5th International Conference on Intelligent Computing and Control Systems (ICICCS). IEEE, Madurai, India, pp 960–966

  38. Németh R, Sik D, Máté F (2020) Machine learning of concepts hard even for humans: the case of online depression forums. Int J Qual Methods 19:160940692094933. https://doi.org/10.1177/1609406920949338

    Article  Google Scholar 

  39. Tlachac M, Toto E, Rundensteiner E (2019) You’re making me depressed: leveraging texts from contact subsets to predict depression. In: 2019 IEEE EMBS International Conference on Biomedical & Health Informatics (BHI). IEEE, Chicago, IL, USA, pp 1–4

  40. Trotzek M, Koitka S, Friedrich CM (2020) Utilizing neural networks and linguistic metadata for early detection of depression indications in text sequences. IEEE Trans Knowl Data Eng 32:588–601. https://doi.org/10.1109/TKDE.2018.2885515

    Article  Google Scholar 

  41. Sekulić I, Strube M (2019) Adapting deep learning methods for mental health prediction on social media. In: Proceedings of the 5th Workshop on Noisy User-Generated Text (W-NUT 2019). pp 322–327

  42. Devlin J, Chang M-W, Lee K, Toutanova K (2019) BERT: Pre-training of deep bidirectional transformers for language understanding. ar**v:181004805 [cs]

  43. Murarka A, Radhakrishnan B, Ravichandran S (2020) Detection and Classification of mental illnesses on social media using RoBERTa

  44. Zhang Y, Zhang C, Li J (2020) Joint modeling of characters, words, and conversation contexts for microblog keyphrase extraction. J Am Soc Inf Sci 71:553–567. https://doi.org/10.1002/asi.24279

    Article  Google Scholar 

  45. Cui Y, Che W, Liu T et al (2021) Pre-training with whole word masking for Chinese BERT. IEEE/ACM Trans Audio Speech Lang Process 29:3504–3514. https://doi.org/10.1109/TASLP.2021.3124365

    Article  Google Scholar 

  46. Sun Z, Li X, Sun X, et al (2021) ChineseBERT: Chinese pretraining enhanced by glyph and pinyin information

  47. Wang P, Li J, Hou J (2021) S2SAN: a sentence-to-sentence attention network for sentiment analysis of online reviews. Decis Support Syst 149:113603. https://doi.org/10.1016/j.dss.2021.113603

    Article  Google Scholar 

  48. Lu Z, Du P, Nie J-Y (2020) VGCN-BERT: augmenting BERT with graph embedding for text classification. In: Jose JM, Yilmaz E, Magalhães J et al (eds) Advances in information retrieval. Springer International Publishing, Cham, pp 369–382

    Chapter  Google Scholar 

  49. Liu P, Yuan W, Fu J et al (2021) Pre-train, prompt, and predict: a systematic survey of prompting methods in natural language processing. ACM Comput Surv 55(9):1–35

    Google Scholar 

  50. Association AP, Association AP (2013) Diagnostic and statistical manual of mental disorders: DSM-5, 5th edn. American Psychiatric Association, Washington

    Book  Google Scholar 

  51. Barlow DH, Durand VM (2012) Abnormal psychology: an integrative approach, 6th edn. Cengage Learning, Wadsworth

    Google Scholar 

  52. Salas-Zárate R, Alor-Hernández G, Salas-Zárate MDP et al (2022) Detecting depression signs on social media: a systematic literature review. Healthcare 10:291. https://doi.org/10.3390/healthcare10020291

    Article  Google Scholar 

  53. De Angel V, Lewis S, White K et al (2022) Digital health tools for the passive monitoring of depression: a systematic review of methods. NPJ Digit Med 5(1):3. https://doi.org/10.1038/s41746-021-00548-8

    Article  Google Scholar 

  54. Ribeiro MT, Singh S, Guestrin C (2016) Why Should I Trust You?: explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, San Francisco, pp 1135–1144

  55. Liu Y (2023) Depression clinical detection model based on social media: a federated deep learning approach. J Supercomput. https://doi.org/10.1007/s11227-023-05754-7

    Article  Google Scholar 

  56. Kapse P, Garg VK (2022) Advanced deep learning techniques for depression detection: a review. SSRN J. https://doi.org/10.2139/ssrn.4180783

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the National Natural Science Foundation of China (No. 72204190), the Youth Fund for Humanities and Social Science Foundation of the Ministry of Education of China (No. 22YJZH114), China Postdoctoral Science Foundation (No. 2022M722476), Scientific research project of the National Language Commission of China (No. YB145-74).

Author information

Authors and Affiliations

Authors

Contributions

The authors confirm contribution to the paper as follows: study conception and design, analysis and interpretation of results: Yang Liu. draft manuscript preparation: Yang Liu. All authors reviewed the results and approved the final version of the manuscript.

Corresponding author

Correspondence to Yang Liu.

Ethics declarations

Conflict of interest

The authors have no relevant financial or non-financial interests to disclose.

Ethical approval

Not applicable.

Consent for publication

All authors have checked the manuscript and have agreed to the submission.

Human and animal rights

Not applicable.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, Y. Depression detection via a Chinese social media platform: a novel causal relation-aware deep learning approach. J Supercomput 80, 10327–10356 (2024). https://doi.org/10.1007/s11227-023-05830-y

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05830-y

Keywords

Navigation