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 | 02 | Page : –
    By

    Tariq Siddiqui,

  • Dr. Ashish Pandey,

  1. Research Scholar, Bhabha University Bhopal, Madhya Pradesh, India
  2. Associate Professor, Bhabha University Bhopal, Madhya Pradesh, India

Abstract

document.addEventListener(‘DOMContentLoaded’,function(){frmFrontForm.scrollToID(‘frm_container_abs_197710’);});Edit Abstract & Keyword

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

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


document.addEventListener(‘DOMContentLoaded’,function(){frmFrontForm.scrollToID(‘frm_container_ref_197710’);});Edit

References

  1. C. D. Mathers and D. Loncar, ‗‗Projections of global mortality and burden of disease from 2002 to 2030,‘‘ PLoS Med., vol. 3, no. 11, p. e442, Nov. 2006.
  2. M. D. Daniel and K. Hall-Flavin. (2023). Clinical Depression: What Does that Mean? Accessed: Aug. 10, 2023. [Online]. Available: https:// www.mayoclinic.org/diseases conditions/depression/expert-answers/clini cal- depression/faq-20057770#:~: text=What%20does%20the%20term%2 0%22clinical,depression%20or%20major%20depress ive%20disorder
  3. N. K. Iyortsuun, S.-H. Kim, M. Jhon, H.-J. Yang, and S. Pant, ‗‗A review of machine learning and deep learning approaches on mental health diag- nosis,‘‘ Healthcare, vol. 11, no. 3, p. 285, Jan. 2023.
  4. J. Gratch, R. Artstein, G. Lucas, G. Stratou, S. Scherer, A. Nazarian,
  5. R. Wood, J. Boberg, D. DeVault, S. Marsella, D. Traum, S. Rizzo, and L.-P. Morency, ‗‗The distress analysis interview corpus of human and computer interviews,‘‘ in Proc. Lang. Resour. Eval. Conf. (LREC), 2014, pp. 3123–3128.
  6. A. Leis, F. Ronzano, M. A. Mayer, L. I. Furlong, and F. Sanz. 2019. Detecting signs of depression in tweets in Spanish: Behavioral and linguistic analysis. Journal of Medical Internet Research 21, 6 (2019), e14199.
  7. L. S. Jones, E. Anderson, M. Loades, R. Barnes, and E. Crawley. 2020. Can linguistic analysis be used to identify whether adolescents with a chronic illness are depressed? Clinical Psychology & Psychotherapy 27, 2 (2020), 179–192.
  8. A. Picardi, I. Lega, L. Tarsitani, M. Caredda, G. Matteucci, M. P. Zerella, R. Miglio, A. Gigantesco, M. Cerbo, A. Gaddini, F. Spandonaro, M. Biondi. 2016. The SET-DEP Group,A randomised controlled trial of the effectiveness of a program for early detection and treatment of depression in primary care. Journal of Affective Disorders 198 (2016), 96– 101.
  9. K. Rost, J. L. Smith, and M. Dickinson. 2004. The effect of improving primary care depression management on employee absenteeism and productivity a randomized trial. Medical Care 42, 12 (2004), 1202.
  10. https://www.statista.com/statistics/278414/number-of- worldwide-socialnetwork-users/.
  11. https://datareportal.com/social-media-users.
  12. A. Dhand, D. A. Luke, C. E. Lang, and J. M. Lee. 2016. Social networks and neurologicalillness. Nature Reviews Neurology 12, 10 (2016), 605–612.
  13. S. C. Guntuku, D. B. Yaden, M. L. Kern, L. H. Ungar, and J. C. Eichstaedt. 2017. Detecting depression and mental illness on social media: An integrative review. Current Opinion in Behavioral Sciences 18 (2017), 43–49.
  14. M. S. Akhtar, P. Sawant, S. Sen, A. Ekbal, and P. Bhattacharyya. 2018. Improving word embedding coverage in lessresourced languages through multi- linguality and cross- linguality: A case study with aspect- based sentiment analysis. ACM Transactions on Asian and Low-Resource Language Information Processing (TALLIP) 18, 2 (2018), 1–22.
  15. S. Kanwal, K. Malik, K. Shahzad, F. Aslam, and Z. Nawaz. 2019. Urdu named entity recognition: Corpus generation and deep learning applications. ACM Transactions on Asian and Low-Resource Language Information Processing (TALLIP) 19, 1 (2019), 1–13.
  16. S. Selva Birunda and R. Kanniga Devi. 2021. A review on word embedding techniques for text classification. Innovative Data Communication Technologies and Application (2021),267–281.
  17. S. Tsugawa, Y. Kikuchi, F. Kishino, K. Nakajima, Y. Itoh, and H. Ohsaki. 2015. Recognizing depression from Twitter activity. In Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems. 3187–3196.
  18. A. G. Reece, A. J. Reagan, K. L. Lix, P. S. Dodds, C. M. Danforth, and E. J. Langer. 2017. Forecasting the onset and course of mental illness with Twitter data. Scientific Reports 7, 1 (2017), 1–11.
  19. V. M. Prieto, S. Matos, M. Alvarez, F. Cacheda, and J. L. Oliveira. 2014. Twitter: A goodplace to detect health conditions. PloS One 9, 1 (2014), e86191.
  20. R. Chunara, J. R. Andrews, and J. S. Brownstein. 2012. Social and news media enable estimation of epidemiological patterns early in the 2010 Haitian cholera outbreak. The American Journal of Tropical Medicine and Hygiene 86, 1 (2012), 39.
  21.  A. E. Aladağ, S. Muderrisoglu, N. B. Akbas, O. Zahmacioglu, and H. O. Bingol. 2018. Detecting suicidal ideation on forums: Proof-of-concept study. Journal of Medical Internet Research 20, 6 (2018), e9840.
  22.  S. E. Holleran. 2010. The Early Detection of Depression from Social Networking Sites. TheUniversity of Arizona.
  23. G. Shen, J. Jia, L. Nie, F. Feng, C. Zhang, T. Hu, and W. Zhu. 2017. Depression detection via harvesting social media: A multimodal dictionary learning solution. In Proceedings ofIJCAI. 3838–3844.
  24. I. Pirina and Ç. Çöltekin. 2018. Identifying depression on Reddit: The effect of raining data. In Proceedings of the 2018 EMNLP Workshop SMM4H: The 3rd Social Media Mining for Health Applications Workshop & Shared Task. 9–12.
  25. J. H. Shen and F. Rudzicz. 2017. Detecting anxiety through Reddit. In Proceedings of the4th Workshop on Computational Linguistics and Clinical Psychology— From Linguistic Signal to Clinical Reality. 58–65.
  26. M. R. Islam, A. R. M. Kamal, N. Sultana, R. Islam, and M. A. Moni. 2018. Detecting depression using k- nearest neighbors (knn) classification technique. In Proceedings of the2018 International Conference on Computer, Communication, Chemical, Material and Electronic Engineering (IC4ME2). IEEE, 1–4.
  27. Z. Peng, Q. Hu, and J. Dang. 2019. Multi-kernel SVM based depression recognition usingsocial media data. International Journal of Machine Learning and Cybernetics 10, 1 (2019), 43–57.
  28. S. Almouzini and A. Alageel. 2019. Detecting Arabic depressed users from Twitter data. Procedia Computer Science 163 (2019), 257–265.
  29. H. S. AlSagri and M. Ykhlef. 2020. Machine learning-based approach for depression detection in twitter using content and activity features. IEICE Transactions on Information and Systems 103, 8 (2020), 1825–1832.
  30. A. U. Hassan, J. Hussain, M. Hussain, M. Sadiq, and S. Lee. 2017. Sentiment analysis of social networking sites (SNS) data using machine learning approach for the measurementof depression. In Proceedings of the 2017 International Conference on Information and Communication Technology Convergence (ICTC). IEEE, 138–140.
  31. J. R. Sato, J. Moll, S. Green, J. F. Deakin, C. E. Thomaz, and R. Zahn. 2015. Machine learning algorithm accurately detects fMRI signature of vulnerability to major depression. Psychiatry Research: Neuroimaging 233, 2 (2015), 289– 291.
  32. C. Su, Z. Xu, J. Pathak, and F. Wang. 2020. Deep learning in mental health outcome research: A scoping review. Translational Psychiatry 10, 1 (2020), 1–26.
  33. A. Sarkar, A. Singh, and R. Chakraborty. 2022. A deep learning-based comparative study to track mental depression from EEG data. Neuroscience Informatics (2022), 100039. 34.
  34. A. H. Orabi, P. Buddhitha, M. H. Orabi, and D. Inkpen. 2018. Deep learning for depression detection of Twitter users. In Proceedings of the 5thWorkshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic. 88–97. 35.
  35. U. Ahmed, R. H. Jhaveri, G. Srivastava, and J. C. W. Lin. 2022. Explainable deep attention active learning for sentimental analytics of mental disorder. Transactions on Asian and Low-Resource Language Information Processing (2022).
  36. U. Ahmed, J. C. W. Lin, and G. Srivastava. 2022. Fuzzy contrast set based deep attention network for lexical analysis and mental health treatment. Transactions on Asian and Low- Resource Language Information Processing 21, 5 (2022), 1–16.
  37. T. Vo. 2022. An integrated topic modelling and graph neural network for improving cross- lingual text classification. Transactions on Asian and Low- Resource Language Information Processing (2022).
  38. T. A. Rana, K. Shahzadi, T. Rana, A. Arshad, and M. Tubishat. 2021. An Unsupervised Approach for Sentiment Analysis on Social Media Short Text Classification in Roman Urdu. Transactions on Asian and Low-Resource Language Information Processing 21, 2 (2021), 1–16.
  39. J. J. Stephen and P. Prabu. 2019. Detecting the magnitude of depression in Twitter users using sentiment analysis. International Journal of Electrical and Computer Engineering 9,4 (2019), 3247.
  40. A. Krizhevsky, I. Sutskever, and G. E. Hinton. 2012. Imagenet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems (2012), 25.
  41. Y. Zhang and B. Wallace. 2015. A sensitivity analysis of (and practitioners‘ guide to) convolutional neural networks for sentence classification. arXiv preprint arXiv:1510.03820.
  42. A. Prakash, C. Brockett, and P. Agrawal. 2016.Emulating human conversations using convolutional neural networkbased IR. arXiv preprint arXiv:1606.07056.
  43. S. M. Zahiri and J. D. Choi. 2018. Emotion detection on TV show transcripts with sequence-based convolutional neural networks. In Proceedings of the Workshops at the 32nd AAAI Conference on Artificial Intelligence
  44. M. M. Tadesse, H. Lin, B. Xu, and L. Yang, ―Detection of depressionrelated posts in Reddit social media forum,‖ IEEE Access, vol. 7, pp. 44883–44893, 2019.
  45. J. Liu and M. Shi, ―A hybrid feature selection and ensemble approach to identify depressed users in online social media,‖ Frontiers Psychol., vol. 12, p. 6571, Jan. 2022.
  46. T. Nguyen, D. Phung, B. Dao, S. Venkatesh, and M. Berk, ―Affective and content analysis of online depression communities,‖ IEEE Trans. Affect. Comput., vol. 5, no. 3, pp. 217– 226, Jul. 2014.
  47. S. Tsugawa, Y. Kikuchi, F. Kishino, K. Nakajima, Y. Itoh, and H. Ohsaki, ―Recognizing depression from Twitter activity,‖ in Proc. 33rd Annu. ACM Conf. Hum. Factors Comput. Syst., Apr. 2015, pp. 3187– 3196.
  48. I. Pirina and Ç. Çöltekin, ―Identifying depression on Reddit: The effect of training data,‖ in Proc. EMNLP Workshop SMM4H, 3rd Social Media Mining Health Appl. Workshop Shared Task, 2018, pp. 9–12.
  49. M. A. Wani, M. A. ELAffendi, K. A. Shakil, A. S. Imran, and A. A. A. El-Latif, ―Depression screening in humans with AI and deep learning techniques,‖ IEEE Trans. Computat. Social Syst., early access, Sep. 28, 2022, doi: 10.1109/TCSS.2022.3200213.
  50. J. Kim, J. Lee, E. Park, and J. Han, ―A deep learning model for detecting mental illness from user content on social media,‖ Sci. Rep., vol. 10, no. 1, pp. 1–6, Jul. 2020.
  51. U. Naseem, A. G. Dunn, J. Kim, and M. Khushi, ―Early identification of depression severity levels on Reddit using ordinal classification,‖ in Proc. ACM Web Conf., Apr. 2022, pp. 2563–2572.
  52. S. Ghosh and T. Anwar, ―Depression intensity estimation via social media: A deep learning approach,‖ IEEE Trans. Computat. Social Syst., vol. 8, no. 6, pp. 1465–1474, Dec. 2021.
  53. H. Kour and M. K. Gupta, ―An hybrid deep learning approach for depression prediction from user tweets using feature-rich CNN and bi-directional LSTM,‖ Multimedia Tools Appl., vol. 81, no. 17, pp. 23649– 23685, Jul. 2022.
  54. H. Zogan, I. Razzak, S. Jameel, and G. Xu, ―Hierarchical convolutional attention network for depression detection on social media and its impact during pandemic,‖ IEEE J. Biomed. Health Informat., early access, Feb. 9, 2023, doi: 10.1109/JBHI.2023.3243249.
  55. L. Ren, H. Lin, B. Xu, S. Zhang, L. Yang, and S. Sun, ―Depression detection on Reddit with an emotion-based attention network: Algorithm development and validation,‖ JMIR Med. Informat., vol. 9, no. 7, Jul. 2021, Art. no. e28754.
  56. L. Ansari, S. Ji, Q. Chen, and E. Cambria, ―Ensemble hybrid learning methods for automated depression detection,‖ IEEE Trans. Computat. Social Syst., vol. 10, no. 1, pp. 211–219, Feb. 2023.
  57. M. Trotzek, S. Koitka, and C. M. Friedrich, ―Utilizing neural networks and linguistic metadata for early detection of depression indications in text sequences,‖ IEEE Trans. Knowl. Data Eng., vol. 32, no. 3, pp. 588–601, Mar. 2020.
  58. J. S. L. Figuerêdo, A. L. L. M. Maia, and R. T. Calumby, ―Early depression detection in social media based on deep learning and underlying emotions,‖ Online Social Netw. Media, vol. 31, Sep. 2022, Art. no. 100225.
  59. V. B. de Souza, J. C. Nobre, and K. Becker, ―DAC stacking: A deep learning ensemble to classify anxiety, depression, and their comorbidity from Reddit texts,‖ IEEE J. Biomed. Health Informat., vol. 26, no. 7, pp. 3303–3311, Jul. 2022.
  60. H. Zogan, I. Razzak, X. Wang, S. Jameel, and G. Xu, ―Explainable depression detection with multi-aspect features using a hybrid deep learning model on social media,‖ World Wide Web, vol. 25, no. 1, pp. 281– 304, Jan. 2022.
  61. A.-S. Uban, B. Chulvi, and P. Rosso, ―An emotion and cognitive based analysis of mental health disorders from social media data,‖ Future Gener. Comput. Syst., vol. 124, pp. 480–494, Nov. 2021.
  62. H. Song, J. You, J.-W. Chung, and J. C. Park, ―Feature attention network: Interpretable depression detection from social media,‖ in Proc. 32nd Pacific Asia Conf. Lang., Inf. Comput. Hong Kong: Association for Computational Linguistics, Dec. 2018, pp. 1–3.
  63. S. Boinepelli, T. Raha, H. Abburi, P. Parikh, N. Chhaya, and V. Varma, ―Leveraging mental health forums for user-level depression detection on social media,‖ in Proc. 13th Lang. Resour. Eval. Conf. Marseille, France: European Language Resources Association,Jun. 2022, pp. 5418–5427.
  64. K. Anantharaman, A. S, R. Sivanaiah, S. Madhavan, and S. M. Rajendram, ―SSN_MLRG1@LT-EDI- ACL2022: Multi-class classification using BERT models for detecting depression signs from social media text,‖ in Proc. 2nd Workshop Lang. Technol. Equality, Diversity Inclusion, 2022, pp. 296–300.
  65. F. Nilsson and G. Kovács, ―FilipN@LT-EDI- ACL2022-detecting signs of depression from social media: Examining the use of summarization methods as data augmentation for text classification,‖ in Proc. 2nd Workshop Lang. Technol. Equality, Diversity Inclusion, 2022,pp. 283–286.
  66. H. Zogan, I. Razzak, S. Jameel, and G. Xu, ―DepressionNet: Learning multi-modalities with user post summarization for depression detection on social media,‖ in Proc. 44th Int. ACM SIGIR Conf. Res. Develop. Inf. Retr., Jul. 2021, pp. 133–142.
  67. S. Ghosh, A. Ekbal, and P. Bhattacharyya, ―What does your bio say? Inferring Twitter users‘ depression status from multimodal profile information using deep learning,‖ IEEE Trans. Computat. Social Syst., vol. 9, no. 5, pp. 1484–1494, Oct. 2022.
  68. Z. Li, Z. An, W. Cheng, J. Zhou, F. Zheng, and B. Hu, ―MHA: A multimodal hierarchical attention model for depression detection in social media,‖ Health Inf. Sci. Syst., vol. 11, no. 1, p. 6, Jan. 2023.
  69. J. C. Cheng and A. L. P. Chen, ―Multimodal time- aware attention networks for depressiondetection,‖ J. Intell. Inf. Syst., vol. 59, no. 2, pp. 319–339, Oct. 2022.
  70. G. Shen et al., ―Depression detection via harvesting social media: A multimodal dictionary learning solution,‖ in Proc. 27th Int. Joint Conf. Artif. Intell., Aug. 2017, pp. 3838–3844.
  71. T. Gui et al., ―Cooperative multimodal approach to depression detection in Twitter,‖ in Proc. AAAI Conf. Artif. Intell., vol. 33, no. 1, Jul. 2019, pp. 110– 117.
  72. D. Zhou, J. Yuan, and J. Si, ―Health issue identification in social media based on multi- task hierarchical neural networks with topic attention,‖ Artif. Intell. Med., vol. 118, Aug. 2021, Art. no. 102119.
  73. Y. Wang, Z. Wang, C. Li, Y. Zhang, and H. Wang, ―Online social network individual depression detection using a multitask heterogenous modality fusion approach,‖ Inf. Sci., vol. 609, pp. 727–749, Sep. 2022.

Ahead of Print Subscription Review Article
Volume 12
02
Received 04/02/2025
Accepted 01/07/2025
Published 24/07/2025
Publication Time 170 Days

[first_name] [last_name]

My IP

PlumX Metrics