A Comparative Study of Deep Learning Methods for Depression Detection in Social Media Data

Notice

This is an unedited manuscript accepted for publication and provided as an Article in Press for early access at the author’s request. The article will undergo copyediting, typesetting, and galley proof review before final publication. Please be aware that errors may be identified during production that could affect the content. All legal disclaimers of the journal apply.

Year : 2025 | Volume : 12 | Issue : 03 | Page : 55 65
    By

    Ruchi Jain,

  • Tariq Siddiqui,

  • Ashish Pandey,

  1. Associate Professor, Department of Computer Science and Engineering, Lakshmi Narain College of Technology & Science, Bhopal, Madhya Pradesh, India
  2. Research Scholar, Department of Computer Science and Engineering, Bhabha University, Bhopal, Madhya Pradesh, India
  3. Associate Professor, Department of Computer Science and Engineering, Bhabha University, Bhopal, Madhya Pradesh, India

Abstract

With the rise of social media platforms like Twitter, Reddit, and Facebook, individuals increasingly share personal information about their moods, behaviors, and mental states. This trend provides a unique opportunity to leverage large-scale textual data for understanding and monitoring mental health conditions, particularly depression, a prevalent and challenging mental health issue. Traditional depression assessments are often confined to clinical environments and lack the capacity for real-time monitoring. In contrast, social media provides a continuous, real-time stream of information that could be harnessed for early detection and intervention. This research aims to develop an advanced depression detection model tailored specifically for social media text by utilizing state-of-the-art Natural Language Processing (NLP) and deep learning techniques. Unlike traditional feature engineering-based methods, this study focuses on deep learning frameworks, which can capture nuanced linguistic patterns indicative of depressive symptoms without manual intervention. The research will explore various architectures, including Recurrent Neural Networks (RNNs), Long Short-Term Memory (LSTM) networks, and Transformer models, incorporating strategies like attention mechanisms, transfer learning, and hybrid approaches to enhance accuracy.

Keywords: Machine learning, deep learning, depression, healthcare, mental health diagnosis

[This article belongs to Journal of Artificial Intelligence Research & Advances ]

How to cite this article:
Ruchi Jain, Tariq Siddiqui, Ashish Pandey. A Comparative Study of Deep Learning Methods for Depression Detection in Social Media Data. Journal of Artificial Intelligence Research & Advances. 2025; 12(03):55-65.
How to cite this URL:
Ruchi Jain, Tariq Siddiqui, Ashish Pandey. A Comparative Study of Deep Learning Methods for Depression Detection in Social Media Data. Journal of Artificial Intelligence Research & Advances. 2025; 12(03):55-65. Available from: https://journals.stmjournals.com/joaira/article=2025/view=217487


References

  1. Mathers CD, Loncar D. Projections of global mortality and burden of disease from 2002 to 2030. PLoS Med. 2006 Nov 28; 3(11): e442.
  2. Iyortsuun NK, Kim SH, Yang HJ, Kim SW, Jhon M. Additive cross-modal attention network (ACMA) for depression detection based on audio and textual features. IEEE Access. 2024 Feb 5; 12: 20479–89.
  3. Iyortsuun NK, Kim SH, Jhon M, Yang HJ, Pant S. A review of machine learning and deep learning approaches on mental health diagnosis. Healthcare (MDPI). 2023 Jan 17; 11(3): 285.
  4. Gratch J, Artstein R, Lucas GM, Stratou G, Scherer S, Nazarian A, Wood R, Boberg J, DeVault D, Marsella S, Traum DR. The distress analysis interview corpus of human and computer interviews. In Language Resources Evaluation Conference (LREC). 2014 May 26; 14: 3123–3128.
  5. Leis A, Ronzano F, Mayer MA, Furlong LI, Sanz F. Detecting signs of depression in tweets in Spanish: behavioral and linguistic analysis. J Med Internet Res. 2019 Jun 27; 21(6): e14199.
  6. Jones LS, Anderson E, Loades M, Barnes R, Crawley E. Can linguistic analysis be used to identify whether adolescents with a chronic illness are depressed? Clin Psychol Psychother. 2020 Mar; 27(2): 179–92.
  7. Picardi A, Lega I, Tarsitani L, Caredda M, Matteucci G, Zerella MP, Miglio R, Gigantesco A, Cerbo M, Gaddini A, Spandonaro F. A randomised controlled trial of the effectiveness of a program for early detection and treatment of depression in primary care. J Affect Disord. 2016 Jul 1; 198: 96–101.
  8. Rost K, Smith JL, Dickinson M. The effect of improving primary care depression management on employee absenteeism and productivity: a randomized trial. Med care. 2004 Dec 1; 42(12): 1202–10.
  9. Grębowiec M. Social Marketing and Its Tools in the Process of Creating Consumer Purchasing Decisions. European Research Studies. 2025 Apr 1; 28(2): 127–49.
  10. Eger L, Hommerová D, editors. Social Media Communication: Theory and Research. Chemnitz: Verlag der GUC; 2024. p. 6-113.
  11. Dhand A, Luke DA, Lang CE, Lee JM. Social networks and neurological illness. Nat Rev Neurol. 2016 Oct; 12(10): 605–12.
  12. Guntuku SC, Yaden DB, Kern ML, Ungar LH, Eichstaedt JC. Detecting depression and mental illness on social media: an integrative review. Curr Opin Behav Sci. 2017 Dec 1; 18: 43–9.
  13. Akhtar MS, Sawant P, Sen S, Ekbal A, Bhattacharyya P. Improving word embedding coverage in less-resourced languages through multi-linguality and cross-linguality: A case study with aspect-based sentiment analysis. ACM Trans Asian Low-Resour Lang Inf Process. 2018 Dec 17; 18(2): 1–22.
  14. Kanwal S, Malik K, Shahzad K, Aslam F, Nawaz Z. Urdu named entity recognition: Corpus generation and deep learning applications. ACM Trans Asian Low-Resour Lang Inf Process. 2019 Jun 20; 19(1): 1–3.
  15. Selva Birunda S, Kanniga Devi R. A review on word embedding techniques for text classification. Innovative Data Communication Technologies and Application: Proceedings of ICIDCA 2020. 2021 Feb 3; 267–81.
  16. Tsugawa S, Kikuchi Y, Kishino F, Nakajima K, Itoh Y, Ohsaki H. Recognizing depression from twitter activity. In Proceedings of the 33rd annual ACM conference on human factors in computing systems. 2015 Apr 18; 3187–3196.
  17. Reece AG, Reagan AJ, Lix KL, Dodds PS, Danforth CM, Langer EJ. Forecasting the onset and course of mental illness with Twitter data. Sci Rep. 2017 Oct 11; 7(1): 13006.
  18. Prieto VM, Matos S, Alvarez M, Cacheda F, Oliveira JL. Twitter: a good place to detect health conditions. PloS one. 2014 Jan 29; 9(1): e86191.
  19. Chunara R, Andrews JR, Brownstein JS. Social and news media enable estimation of epidemiological patterns early in the 2010 Haitian cholera outbreak. Am J Trop Med Hyg. 2012 Jan 1; 86(1): 39.
  20. Aladağ AE, Muderrisoglu S, Akbas NB, Zahmacioglu O, Bingol HO. Detecting suicidal ideation on forums: proof-of-concept study. J Med Internet Res. 2018 Jun 21; 20(6): e9840.
  21. Holleran SE. The early detection of depression from social networking sites. Dissertation. Arizona, USA: The University of Arizona; 2010.
  22. Shen G, Jia J, Nie L, Feng F, Zhang C, Hu T, Chua TS, Zhu W. Depression detection via harvesting social media: A multimodal dictionary learning solution. In IJCAI, 2017 Aug 19. 2017; 3838–3844.
  23. Pirina I, Çöltekin Ç. Identifying depression on reddit: The effect of training data. In Proceedings of the 2018 EMNLP workshop SMM4H: the 3rd social media mining for health applications workshop & shared task. 2018 Oct; 9–12.
  24. Shen JH, Rudzicz F. Detecting anxiety through reddit. In Proceedings of the fourth workshop on computational linguistics and clinical psychology—from linguistic signal to clinical reality. 2017 Aug; 58–65.
  25. Islam MR, Kamal AR, Sultana N, Islam R, Moni MA. Detecting depression using k-nearest neighbors (KNN) classification technique. In 2018 IEEE international conference on computer, communication, chemical, material and electronic engineering (IC4ME2). 2018 Feb 8; 1–4.
  26. Peng Z, Hu Q, Dang J. Multi-kernel SVM based depression recognition using social media data. Int J Mach Learn Cybern. 2019 Jan 31; 10(1): 43–57.
  27. Almouzini S, Alageel A. Detecting Arabic depressed users from twitter data. Procedia Comput Sci. 2019 Jan 1; 163: 257–65.
  28. AlSagri HS, Ykhlef M. Machine learning-based approach for depression detection in twitter using content and activity features. IEICE Trans Inf Syst. 2020 Aug 1; 103(8): 1825–32.
  29. Hassan AU, Hussain J, Hussain M, Sadiq M, Lee S. Sentiment analysis of social networking sites (SNS) data using machine learning approach for the measurement of depression. In 2017 IEEE international conference on information and communication technology convergence (ICTC). 2017 Oct 18; 138–140.
  30. Sato JR, Moll J, Green S, Deakin JF, Thomaz CE, Zahn R. Machine learning algorithm accurately detects fMRI signature of vulnerability to major depression. Psychiatry Res: Neuroimaging. 2015 Aug 30; 233(2): 289–91.
  31. Su C, Xu Z, Pathak J, Wang F. Deep learning in mental health outcome research: a scoping review. Transl Psychiatry. 2020 Apr 22; 10(1): 116.
  32. Sarkar A, Singh A, Chakraborty R. A deep learning-based comparative study to track mental depression from EEG data. Neurosci Inform. 2022 Dec 1; 2(4): 100039.
  33. Orabi AH, Buddhitha P, Orabi MH, Inkpen D. Deep learning for depression detection of twitter users. In Proceedings of the fifth workshop on computational linguistics and clinical psychology: from keyboard to clinic. 2018 Jun; 88–97.
  34. Ahmed U, Jhaveri RH, Srivastava G, Lin JC-W. Explainable deep attention active learning for sentimental analytics of mental disorder. ACM Trans Asian Low-Resource Lang Inform Process. 2022 Jul 21; 21(7). doi: 10.1145/3551890.
  35. Ahmed U, Lin JC, Srivastava G. Fuzzy contrast set based deep attention network for lexical analysis and mental health treatment. ACM Trans Asian Low-Resour Lang Inf Process. 2022 Apr 29; 21(5): 1–6.
  36. Vo T. An integrated topic modelling and graph neural network for improving cross-lingual text classification. ACM Trans Asian Low-Resour Lang Inf Process. 2022 Nov 25; 22(1): 1–8.
  37. Rana TA, Shahzadi K, Rana T, Arshad A, Tubishat M. An unsupervised approach for sentiment analysis on social media short text classification in roman Urdu. ACM Trans Asian Low-Resour Lang Inf Process. 2021 Nov 3; 21(2): 1–6.
  38. Stephen JJ, Prabu P. Detecting the magnitude of depression in Twitter users using sentiment analysis. Int J Electr Comput Eng. 2019 Aug 1; 9(4): 3247.
  39. Krizhevsky A, Sutskever I, Hinton GE. Imagenet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems 25 (NIPS 25). 2012.
  40. Zhang Y, Wallace B. A sensitivity analysis of (and practitioners’ guide to) convolutional neural networks for sentence classification. arXiv preprint arXiv:1510.03820. 2015 Oct 13.
  41. Prakash A, Brockett C, Agrawal P. Emulating human conversations using convolutional neural network-based IR. arXiv preprint arXiv:1606.07056. 2016 Jun 22.
  42. Zahiri SM, Choi JD. Emotion Detection on TV Show Transcripts with Sequence-Based Convolutional Neural Networks. In AAAI Workshops. 2018 Feb 2; 18: 44–52.
  43. Tadesse MM, Lin H, Xu B, Yang L. Detection of depression-related posts in reddit social media forum. IEEE Access. 2019 Apr 4; 7: 44883–93.
  44. Liu J, Shi M. A hybrid feature selection and ensemble approach to identify depressed users in online social media. Front Psychol. 2022 Jan 18; 12: 802821.
  45. Nguyen T, Phung D, Dao B, Venkatesh S, Berk M. Affective and content analysis of online depression communities. IEEE Trans Affect Comput. 2014 Apr 8; 5(3): 217–26.
  46. Mowery DL, Park YA, Bryan C, Conway M. Towards automatically classifying depressive symptoms from Twitter data for population health. In Proceedings of the workshop on computational modeling of people’s opinions, personality, and emotions in social media (PEOPLES). 2016 Dec; 182–191.
  47. Pirina I, Çöltekin Ç. Identifying depression on reddit: The effect of training data. In Proceedings of the 2018 EMNLP workshop SMM4H: the 3rd social media mining for health applications workshop & shared task. 2018 Oct; 9–12.
  48. Wani MA, ELAffendi MA, Shakil KA, Imran AS, Abd El-Latif AA. Depression screening in humans with AI and deep learning techniques. IEEE Trans Comput Soc Syst. 2022 Sep 28; 10(4): 2074–89.
  49. Kim J, Lee J, Park E, Han J. A deep learning model for detecting mental illness from user content on social media. Sci Rep. 2020 Jul 16; 10(1): 11846.
  50. Naseem U, Dunn AG, Kim J, Khushi M. Early identification of depression severity levels on reddit using ordinal classification. In Proceedings of the ACM web conference 2022. 2022 Apr 25; 2563–2572.
  51. Ghosh S, Anwar T. Depression intensity estimation via social media: A deep learning approach. IEEE Trans Comput Soc Syst. 2021 Jun 4; 8(6): 1465–74.
  52. Kour H, Gupta MK. A hybrid deep learning approach for depression prediction from user tweets using feature-rich CNN and bi-directional LSTM. Multimed Tools Appl. 2022 Jul; 81(17): 23649–85.
  53. Zogan H, Razzak I, Jameel S, Xu G. Hierarchical convolutional attention network for depression detection on social media and its impact during pandemic. IEEE J Biomed Health Inform. 2023 Feb 9; 28(4): 1815–23.
  54. Ren L, Lin H, Xu B, Zhang S, Yang L, Sun S. Depression detection on reddit with an emotion-based attention network: algorithm development and validation. JMIR Med Inform. 2021 Jul 16; 9(7): e28754.
  55. Ansari L, Ji S, Chen Q, Cambria E. Ensemble hybrid learning methods for automated depression detection. IEEE Trans Comput Soc Syst. 2022 Mar 14; 10(1): 211–9.
  56. Trotzek M, Koitka S, Friedrich CM. Utilizing neural networks and linguistic metadata for early detection of depression indications in text sequences. IEEE Trans Knowl Data Eng. 2018 Dec 18; 32(3): 588–601.
  57. Figuerêdo JS, Maia AL, Calumby RT. Early depression detection in social media based on deep learning and underlying emotions. Online Soc Netw Media. 2022 Sep 1; 31: 100225.
  58. De Souza VB, Nobre JC, Becker K. DAC stacking: A deep learning ensemble to classify anxiety, depression, and their comorbidity from Reddit texts. IEEE J Biomed Health Inform. 2022 Mar 1; 26(7): 3303–11.
  59. Zogan H, Razzak I, Wang X, Jameel S, Xu G. Explainable depression detection with multi-aspect features using a hybrid deep learning model on social media. World Wide Web. 2022 Jan; 25(1): 281–304.
  60. Uban AS, Chulvi B, Rosso P. An emotion and cognitive based analysis of mental health disorders from social media data. Future Gener Comput Syst. 2021 Nov 1; 124: 480–94.
  61. Song H, You J, Chung JW, Park JC. Feature attention network: Interpretable depression detection from social media. In Proceedings of the 32nd Pacific Asia conference on language, information and computation; Waseda University. 2018; 613–622.
  62. Boinepelli S, Raha T, Abburi H, Parikh P, Chhaya N, Varma V. Leveraging mental health forums for user-level depression detection on social media. In Proceedings of the thirteenth language resources and evaluation conference. 2022 Jun; 5418–5427.
  63. Anantharaman K, Angel S, Sivanaiah R, Madhavan S, Rajendram SM. SSN_MLRG1@ LT-EDI-ACL2022: Multi-class classification using BERT models for detecting depression signs from social media text. In Proceedings of the Second Workshop on Language Technology for Equality, Diversity and Inclusion. 2022 May; 296–300.
  64. Nilsson F, Kovács G. FilipN@ LT-EDI-ACL2022-Detecting signs of Depression from Social Media: Examining the use of summarization methods as data augmentation for text classification. In Proceedings of the Second Workshop on Language Technology for Equality, Diversity and Inclusion. 2022 May; 283–286.
  65. Zogan H, Razzak I, Jameel S, Xu G. Depressionnet: learning multi-modalities with user post summarization for depression detection on social media. In proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval. 2021 Jul 11; 133–142.
  66. Ghosh S, Ekbal A, Bhattacharyya P. What does your bio say? Inferring Twitter users’ depression status from multimodal profile information using deep learning. IEEE Trans Comput Soc Syst. 2021 Oct 12; 9(5): 1484–94.
  67. Li Z, An Z, Cheng W, Zhou J, Zheng F, Hu B. MHA: a multimodal hierarchical attention model for depression detection in social media. Health Inf Sci Syst. 2023 Jan 18; 11(1): 6.
  68. Cheng JC, Chen AL. Multimodal time-aware attention networks for depression detection. J Intell Inf Syst. 2022 Oct; 59(2): 319–39.
  69. Shen T, Jia J, Shen G, Feng F, He X, Luan H, Tang J, Tiropanis T, Chua TS, Hall W. Cross-domain depression detection via harvesting social media. International Joint Conferences on Artificial Intelligence. IJCAI’18: Proceedings of the 27th International Joint Conference on Artificial Intelligence. 2018; 1611–1617.
  70. Gui T, Zhu L, Zhang Q, Peng M, Zhou X, Ding K, Chen Z. Cooperative multimodal approach to depression detection in twitter. In Proc AAAI Conf Artif Intell. 2019 Jul 17; 33(01): 110–117.
  71. Zhou D, Yuan J, Si J. Health issue identification in social media based on multi-task hierarchical neural networks with topic attention. Artif Intell Med. 2021 Aug 1; 118: 102119.
  72. Wang Y, Wang Z, Li C, Zhang Y, Wang H. Online social network individual depression detection using a multitask heterogenous modality fusion approach. Inf Sci. 2022 Sep 1; 609: 727–49.

Regular Issue Subscription Review Article
Volume 12
Issue 03
Received 04/02/2025
Accepted 01/07/2025
Published 24/07/2025
Publication Time 170 Days


Login


My IP

PlumX Metrics