Depression Tendency Processing Based on LSTM Technique for Text Emotion Recognition
DOI:
https://doi.org/10.62051/23e9s737Keywords:
LSTM; gradient explosion gradient disappearance; confusion matrix; Depression tendency identification.Abstract
Depression is a common mental disorder that can lead to suicide in specific severe cases. A large number of suicides occur each year due to a lack of timely observational attention and treatment worldwide. This paper indicates that social media posts should be monitored for implicit depression and categorized immediately to reduce the risk of suicide and improve public mental health. In the data preprocessing, the NLTK library is used to slice the labeled social media text collected from Kaggle. Words not relevant to sentiment analysis are deleted. Words from sentiment lexicon can represent the positive and negative and filter the noise. The original data was randomly divided into training set(70%) and prediction set(30%). In the machine learning stage(for classification results and evaluation), a bidirectional LSTM mode( used to solve the problem of gradient explosion or disappearance from the preamble text.)l is used. The accuracy, precision, recall and F1-score are 72.85%, 73.88%, 72.37%, 73.12%. They can be components of confusion matrix to evaluate the model. It is difficult for CNN algorithm to capture good n-gram feature results. The quality of the model can be improved by using higher quality and larger numbers of datasets and noise handling, perfecting a better sentiment lexicon and adjusting model parameters, to prevent overfitting. Finally, the most suicidal users(top 3.6% high score) in the text to prevent the tragedy of suicide can be found and more attention to public mental health and safety should be paid.
Downloads
References
[1] Cronquist Christensen Michael, Meng Chiew, Wong Johnny, Baune Bernhard. Symptoms of Major Depressive Disorder and Their Impact on Psychosocial Functioning in the Different Phases of the Disease: Do the Perspectives of Patients and Healthcare Providers Differ, 2020.
[2] Rafael Salas-Zárate, Alor-Hernández Giner, Salas-Zárate María del Pilar, Andrés Mario, Bustos-López Maritza, and Sánchez-Cervantes José Luis. Detecting Depression Signs on Social Media: A Systematic Literature Review. Healthcare, 2022, 10(2): 291.
[3] Bokolo Biodoumoye George, Liu Qingzhong. Symptoms of major depressive disorder and their impact on psychosocial functioning in the different phases of the disease: Do the perspectives of patients and healthcare providers differ, 2019, 10: 335.
[4] Wang Yingjie, Zhu Jiuqi, Wang Zumin, Bai Fengbo, Gong Jian. Deep Learning-Based Depression Detection from Social Media: Comparative Evaluation of ML and Transformer Techniques, 2023.
[5] Bravo-Marquez Felipe, Khanchandani Arun, Pfahringer Bernhard. Suicide, Stigma, and Utilizing Social Media Platforms to Gauge Public Perceptions. Frontiers in Psychiatry, 10: 947, 2020.
[6] Tadesse Mesfin Michael, Lin Hongfei, Xu Bo, Yang Liang. Detection of Suicide Ideation in Social Media Forums Using Deep Learning. Algorithms, 2020, 13(1): 7.
[7] Wang Yingjie, Zhu Jiuqi, Wang Zumin. A Review of the Application of Natural Language Processing in Text Sentiment Analysis. Computer Applications, 2022, 42(4): 10.
[8] Bravo-Marquez Felipe, Khanchandani Arun, Pfahringer Bernhard. Incremental Word Vectors for Time-Evolving Sentiment Lexicon Induction, 14, 425–441. 2022.
[9] Li Shan. Research and Implementation of Depression Screening Algorithm Based on Text Information Processing, 2021.
[10] He Lun. Text Sentiment Analysis Based on Attention and LSTM Recurrent Neural Networks. Computer Programming Skills & Maintenance, 2024, 4: 31-34.
[11] Murray Christopher J L. Global burden of 369 diseases and injuries in 204 countries and territories, 1990–2019: A systematic analysis for the Global Burden of Disease Study 2019, 2020.
[12] Risio Luisa De, Pettorruso Mauro, Collevecchio Rebecca, Collacchi Barbara, Boffa Marta, Santorelli Mario, Clerici Massimo, Martinotti Giovanni, Zoratto Francesca, Borgi Marta. Staying connected: An umbrella review of meta-analyses on the push-and-pull of social connection in depression. Journal of Affective Disorders, 2024.
[13] Düntsch Ivo, Gediga Günther. Confusion Matrices and Rough Set Data Analysis. Journal of Physics: Conference Series, 2019.
[14] Lin Emily, Sun Jian, Chen Hsingyu, Mahoor Mohammad H. Data Quality Matters: Suicide Intention Detection on Social Media Posts Using a RoBERTa-CNN Model, 2023.
Downloads
Published
Conference Proceedings Volume
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.