Open Access   Article Go Back

Detecting Depression and Suicidal Ideation from Texts using Machine Learning & Deep Learning Techniques

Sumit Gupta1 , Arya Manikya Sinha2 , Debjyoti Prodhan3 , Nirnay Ghosh4 , Souvik Modak5

Section:Research Paper, Product Type: Journal Paper
Volume-11 , Issue-01 , Page no. 29-35, Nov-2023

Online published on Nov 30, 2023

Copyright © Sumit Gupta, Arya Manikya Sinha, Debjyoti Prodhan, Nirnay Ghosh, Souvik Modak . This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

View this paper at   Google Scholar | DPI Digital Library

How to Cite this Paper

  • IEEE Citation
  • MLA Citation
  • APA Citation
  • BibTex Citation
  • RIS Citation

IEEE Style Citation: Sumit Gupta, Arya Manikya Sinha, Debjyoti Prodhan, Nirnay Ghosh, Souvik Modak, “Detecting Depression and Suicidal Ideation from Texts using Machine Learning & Deep Learning Techniques,” International Journal of Computer Sciences and Engineering, Vol.11, Issue.01, pp.29-35, 2023.

MLA Style Citation: Sumit Gupta, Arya Manikya Sinha, Debjyoti Prodhan, Nirnay Ghosh, Souvik Modak "Detecting Depression and Suicidal Ideation from Texts using Machine Learning & Deep Learning Techniques." International Journal of Computer Sciences and Engineering 11.01 (2023): 29-35.

APA Style Citation: Sumit Gupta, Arya Manikya Sinha, Debjyoti Prodhan, Nirnay Ghosh, Souvik Modak, (2023). Detecting Depression and Suicidal Ideation from Texts using Machine Learning & Deep Learning Techniques. International Journal of Computer Sciences and Engineering, 11(01), 29-35.

BibTex Style Citation:
@article{Gupta_2023,
author = {Sumit Gupta, Arya Manikya Sinha, Debjyoti Prodhan, Nirnay Ghosh, Souvik Modak},
title = {Detecting Depression and Suicidal Ideation from Texts using Machine Learning & Deep Learning Techniques},
journal = {International Journal of Computer Sciences and Engineering},
issue_date = {11 2023},
volume = {11},
Issue = {01},
month = {11},
year = {2023},
issn = {2347-2693},
pages = {29-35},
url = {https://www.ijcseonline.org/full_spl_paper_view.php?paper_id=1409},
publisher = {IJCSE, Indore, INDIA},
}

RIS Style Citation:
TY - JOUR
UR - https://www.ijcseonline.org/full_spl_paper_view.php?paper_id=1409
TI - Detecting Depression and Suicidal Ideation from Texts using Machine Learning & Deep Learning Techniques
T2 - International Journal of Computer Sciences and Engineering
AU - Sumit Gupta, Arya Manikya Sinha, Debjyoti Prodhan, Nirnay Ghosh, Souvik Modak
PY - 2023
DA - 2023/11/30
PB - IJCSE, Indore, INDIA
SP - 29-35
IS - 01
VL - 11
SN - 2347-2693
ER -

           

Abstract

Suicide has emerged as a pressing societal health concern in contemporary times. Suicidal intent refers to an individual`s contemplation of taking one’s own life, and such tragedies have far-reaching impacts on families, communities, and nations. The global standardized rate of suicides per population suggests that in 2022, there were approximately 903,450 completed suicides, alongside a staggering 18,069,000 cases of individuals having suicidal thoughts but not acting upon them. These distressing figures highlight the widespread nature of this issue, affecting people of all ages, nationalities, races, beliefs, socioeconomic backgrounds, and genders. Additionally, it is pertinent to acknowledge that depression, a prevalent mental disorder, can significantly hinder daily functioning and potentially contribute to developing suicidal thoughts. This work focuses on detecting suicidal intent by employing Machine Learning classifiers such as Support Vector Machines, Naive Bayes, Logistic Regression, and Random Forest. Furthermore, this research extends its analysis by incorporating Deep Learning classifiers such as Convolutional Neural Networks, Long Short-Term Memory, Bidirectional Long Short-Term Memory, and Bidirectional Encoder Representations from Transformers on six selected datasets. The primary aim is to identify signs of depression as a means to gauge the likelihood of suicidal thoughts. In addition to the classification algorithms, various features are extracted to provide insights into an individual`s emotional state and mindset. By combining these techniques, the study aims to improve the understanding and prediction of suicidal tendencies.

Key-Words / Index Term

Depression, Suicide, Depression Detection, Suicidal Ideation, Text Classification, Machine Learning, Deep Learning.

References

[1]. S. Kumar, A.K. Verma, S. Bhattacharya, S. Rathore, “Trends in rates and methods of suicide in India,” Egyptian Journal of Forensic Sciences, 3(3), 75-80, 2013.
[2]. S. Bachmann, “Epidemiology of suicide and the psychiatric perspective,” International journal of environmental research and public health, 15(7), 1425, 2018.
[3]. L. Brådvik, “Suicide risk and mental disorders,” International journal of environmental research and public health, 15(9), 2028, 2018.
[4]. M.W. Gijzen, S.P. Rasing, D.H. Creemers, F. Smit, R.C. Engels, D.D. Beurs, “Suicide ideation as a symptom of adolescent depression. A network analysis,” Journal of Affective Disorders, 278, 68-77, 2021.
[5]. A. Mbarek, S. Jamoussi, A.B. Hamadou, “An across online social networks profile building approach: Application to suicidal ideation detection,” Future Generation Computer Systems, 133, 171-183, 2022.
[6]. R.W.A. Caicedo, J.M. Soriano, H.A.M. Sasieta, “Bootstrapping semi-supervised annotation method for potential suicidal messages,” Internet Interventions, 100519, 2022.
[7]. R. Haque, N. Islam, M. Islam, M.M. Ahsan, “A comparative analysis on suicidal ideation detection using NLP, machine, and deep learning,” Technologies, 10(3), 57, 2022.
[8]. T. Zhang, A.M. Schoene, S. Ananiadou, “Automatic identification of suicide notes with a transformer-based deep learning model,” Internet interventions, 25, 100422, 2021.
[9]. S. Gupta, D. Das, M. Chatterjee, S. Naskar, “Machine Learning-Based Social Media Analysis for Suicide Risk Assessment,” In Emerging Technologies in Data Mining and Information Security, Springer, Singapore, pp. 385-393, 2021.
[10]. A.M. Schoene, A. Turner, G.R. De Mel, N. Dethlefs, “Hierarchical multiscale recurrent neural networks for detecting suicide notes,” IEEE Transactions on Affective Computing, 2021.
[11]. Z. Xu, Y. Xu, F. Cheung, M. Cheng, D. Lung, Y.W. Law, B. Chiang, Q. Zhang, P.S.F. Yip, “Detecting suicide risk using knowledge-aware natural language processing and counseling service data,” Social Science & Medicine, 283, 114176, 2021.
[12]. E.R. Kumar, K.V.S.N. Rama Rao, S.R. Nayak, R. Chandra, “Suicidal ideation prediction in twitter data using machine learning techniques,” Journal of Interdisciplinary Mathematics, 23(1), 117-125, 2020.
[13]. S. Parrott, B.C. Britt, J.L. Hayes, D.L. Albright, “Social media and suicide: a validation of terms to help identify suicide-related social media posts,” Journal of Evidence-Based Social Work, 17(5), 624-634, 2020.
[14]. R.W.A. Caicedo, J.M.G. Soriano, H.A.M. Sasieta, “Assessment of supervised classifiers for the task of detecting messages with suicidal ideation,” Heliyon, 6(8), e04412, 2020.
[15]. S.T. Rabani, Q.R. Khan, A.M.U.D. Khanday, “Detection of suicidal ideation on Twitter using machine learning & ensemble approaches,” Baghdad Science Journal, 17(4), 1328-1328, 2020.
[16]. S.B. Hassan, S.B. Hassan, U. Zakia, “Recognizing Suicidal Intent in Depressed Population using NLP: A Pilot Study,” In 2020 11th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), IEEE, pp. 0121-0128, 2020.
[17]. A. Alambo, M. Gaur, U. Lokala, U. Kursuncu, K. Thirunarayan, A. Gyrard, A. Sheth, R.S. Welton, J. Pathak, “Question answering for suicide risk assessment using reddit,” In 2019 IEEE 13th International Conference on Semantic Computing (ICSC), IEEE, pp. 468-473, 2019.
[18]. J. Parraga-Alava, R.A. Caicedo, J.M. Gómez, M. Inostroza-Ponta, “An unsupervised learning approach for automatically to categorize potential suicide messages in social media,” In 2019 38th International Conference of the Chilean Computer Science Society (SCCC), IEEE, pp. 1-8, 2019.
[19]. J. Du, Y. Zhang, J. Luo, Y. Jia, Q. Wei, C. Tao, H. Xu, “Extracting psychiatric stressors for suicide from social media using deep learning,” BMC medical informatics and decision making, 18(2), 77-87, 2018.
[20]. M.J. Vioules, B. Moulahi, J. Azé, S. Bringay, “Detection of suicide-related posts in Twitter data streams,” IBM Journal of Research and Development, 62(1), 7-1, 2018.
[21]. S.R. Braithwaite, C. Giraud-Carrier, J. West, M.D. Barnes, C.L. Hanson, “Validating machine learning algorithms for Twitter data against established measures of suicidality,” JMIR mental health, 3(2), e4822, 2016.
[22]. B. O`dea, S. Wan, P.J. Batterham, A.L. Calear, C. Paris, H. Christensen, “Detecting suicidality on Twitter,” Internet Interventions, 2(2), 183-188, 2015.
[23]. A. Nikfarjam, E. Emadzadeh, G. Gonzalez, “A hybrid system for emotion extraction from suicide notes,” Biomedical informatics insights, 5, BII-S8981, 2012.
[24]. M.M. Tadesse, H. Lin, B. Xu, L. Yang, “Detection of suicide ideation in social media forums using deep learning,” Algorithms, 13(1), 7, 2019.
[25]. F.M. Shah, F. Ahmed, S.K.S. Joy, S. Ahmed, S. Sadek, R. Shil, M.H. Kabir, “Early depression detection from social network using deep learning techniques,” In 2020 IEEE Region 10 Symposium (TENSYMP), IEEE, pp. 823-826, 2020.
[26]. S. Ghosh, A. Ekbal, P, Bhattacharyya, “Cease, a corpus of emotion annotated suicide notes in English,” In Proceedings of the 12th Language Resources and Evaluation Conference, pp. 1618-1626, 2020.
[27]. M. Morales, P. Dey, T. Theisen, D. Belitz, N. Chernova, “An investigation of deep learning systems for suicide risk assessment,” In Proceedings of the sixth workshop on computational linguistics and clinical psychology, pp. 177-181, 2019.
[28]. S. Boukil, F. El Adnani, L. Cherrat, A.E. El Moutaouakkil, M. Ezziyyani, “Deep learning algorithm for suicide sentiment prediction,” In Advanced Intelligent Systems for Sustainable Development (AI2SD’2018) Vol 4: Advanced Intelligent Systems Applied to Health, Springer International Publishing, pp. 261-272, 2019.
[29]. A. Haque, V. Reddi, T. Giallanza, “Deep learning for suicide and depression identification with unsupervised label correction,” In Artificial Neural Networks and Machine Learning–ICANN 2021: 30th International Conference on Artificial Neural Networks, Bratislava, Slovakia, Vol 30, Springer International Publishing, pp. 436-447, 2021.
[30]. C.S. Wu, C.J. Kuo, C.H. Su, S.H. Wang, H.J. Dai, “Using text mining to extract depressive symptoms and to validate the diagnosis of major depressive disorder from electronic health records,” Journal of affective disorders, 260, 617-623, 2020.
[31]. K.S. Choi, S. Kim, B.H. Kim, H.J. Jeon, J.H. Kim, J.H. Jang, B. Jeong, “Deep graph neural network-based prediction of acute suicidal ideation in young adults,” Scientific reports, 11(1), 1-11, 2021.
[32]. J. Kim, J. Lee, E. Park, J. Han, “A deep learning model for detecting mental illness from user content on social media,” Scientific reports, 10(1), 1-6, 2020.
[33]. N.A. Baghdadi, A., Malki, H.M. Balaha, Y. AbdulAzeem, M. Badawy, M. Elhosseini, “An optimized deep learning approach for suicide detection through Arabic tweets,” PeerJ Computer Science, 8, e1070, 2022.
[34]. T.H. Aldhyani, S.N. Alsubari, A.S. Alshebami, H. Alkahtani, Z.A. Ahmed, “Detecting and analyzing suicidal ideation on social media using deep learning and machine learning models,” International journal of environmental research and public health, 19(19), 12635, 2022.
[35]. S. Long, R. Cabral, J. Poon, S.C. Han, “A Quantitative and Qualitative Analysis of Suicide Ideation Detection using Deep Learning,” arXiv preprint arXiv:2206.08673, 2022.
[36]. S. Ghosh, A. Ekbal, P. Bhattacharyya, “VAD-assisted multitask transformer framework for emotion recognition and intensity prediction on suicide notes,” Information Processing & Management, 60(2), 103234, 2023.
[37]. S. Ji, X. Li, Z. Huang, E. Cambria, “Suicidal ideation and mental disorder detection with attentive relation networks,” Neural Computing and Applications, 34(13), 10309-10319, 2022.
[38]. A.S.S. Wen, G.J. Yi, L.Z. Hui, L. Xiao, Q.Y. Zhen, “Suicidal Text Detection,” Retrived from: https://github.com/gohjiayi/suicidal-text-detection, 2021.
[39]. M. Gaur, A. Alambo, J.P. Sain, U. Kurscuncu, K. Thirunarayan, R. Kavuluru, A. Sheth, R. Welton, J. Pathak, “Reddit C-SSRS suicide dataset,” Zenodo, https://doi.org/10.5281/zenodo.2667859, 2019.
[40]. https://github.com/ayaanzhaque/SDCNL
[41]. https://www.kaggle.com/datasets/nikhileswarkomati/suicide-watch
[42]. https://github.com/PlataformaLifeUA.
[43]. https://www.iitp.ac.in/~ai-nlp-ml/resources.html#CEASE
[44]. https://zenodo.org/record/6476179#.ZGuJF3ZX6SU