Abstract
In a poignant moment on social media, a post suggesting suicidal thoughts is rapidly overshadowed by an array of memes, updates, and ads. Such overlooked cries for help underscore the dire need for reliable detection mechanisms. Addressing this urgent issue, our research introduces an innovative approach to detecting suicidal ideation from text. Using TF-IDF and Chi-square tests, we identify crucial keywords and narrow them down for frequency analysis. Our framework leverages Word2Vec embeddings and is further enriched with readability scores, sentiment assessments via TextBlob, and text length metrics. Latent Dirichlet Allocation (LDA) aids in topic modeling, its insights visualized through compelling word clouds. This multifaceted approach enhances predictive accuracy and provides a nuanced understanding of suicidal ideation. We initially employed conventional algorithms like AdaBoost, Random Forest, XGBoost, and Logistic Regression before transitioning to advanced deep learning models. The Bi-LSTM and BERT models emerged as top performers, achieving detection accuracies of 97% and 98%, respectively. While our study is constrained by dataset limitations and potential biases, it marks a significant step forward in the identification of suicidal tendencies in digital spaces. Looking forward, broader dataset integration, refined models, and a continuous recalibration in line with evolving digital discourse are anticipated next steps.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Giachanou, A., Crestani, F.: Like it or not: a survey of Twitter sentiment analysis methods. ACM Comput. Surv. 49, 1–41 (2016)
World Health Organization, Geneva, Switzerland: Preventing Suicide: A Global Imperative (2014)
World Health Organization: Suicide in the World: Global Health Estimates (2019)
O’Dea, B., et al.: Detecting suicidality on Twitter. Internet Interv. 2(2), 183–188 (2015)
Guntuku, S.C., et al.: Detecting depression and mental illness on social media: an integrative review. Curr. Opin. Behav. Sci. 18, 43–49 (2017)
Rajesh, D., Priya, V.K.: Consequences of Facebook on student’s mental health - A Conceptual Analysis. Vels Institute of Science Technology and Advanced Studies, December 2019
Desmet, B., Hoste, V.: Emotion detection in suicide notes. Exp. Syst. Appl. 40, 6351–6358 (2013)
Oussous, A., Benjelloun, F.-Z., Lahcen, A.A., Belfkih, S.: ASA: a framework for Arabic sentiment analysis. J. Inf. Sci. 46, 544–559 (2019)
Tadesse, M.M., Lin, H., Xu, B., Yang, L.: Detection of suicide ideation in social media forums using deep learning. Algorithms 13, 7 (2020)
Braithwaite, S.R., Giraud-Carrier, C., West, J., Barnes, M.D., Hanson, C.L.: Validating machine learning algorithms for Twitter data against established measures of suicidality. JMIR Mental Health 3(2), e21 2015
Tadesse, M.M., Lin, H., Xu, B., Yang, L.: Detection of depression-related posts in Reddit social media forum. IEEE Access 7, 44883–44893 (2019)
Singh, C., Imam, T., Wibowo, S., Grandhi, S.: A deep learning approach for sentiment analysis of COVID-19 reviews. Appl. Sci. 12, 3709 (2022)
Aldhyani, T.H.H., Alsubari, S.N., Alshebami, A.S., Alkahtani, H., Ahmed, Z.A.T.: Detecting and analyzing suicidal ideation on social media using deep learning and machine learning models. Int. J. Environ. Res. Pub. Health 19(19), 12635 (2022)
Potdar, R.: Suicide Text Classification NLP. Kaggle (n.d.). https://www.kaggle.com/rutujapotdar/suicide-text-classification-nlp
Singh, A.: Suicidal Thought Detection. Kaggle (n.d.). https://www.kaggle.com/code/abhijitsingh001/suicidal-thought-detection
Komati, N.: Universal Sentence Encoder 74% accuracy sparknlp. Kaggle, 3 years ago. https://www.kaggle.com/code/nikhileswarkomati/universal-sentence-encoder-74-accuracy-sparknlp
Barton, C.: Analyzing suicidal text using natural language processing. All Graduate Plan B and other Reports, no. 1640 (2022)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Wang, Z., Jin, M., Lu, Y. (2024). High-Precision Detection of Suicidal Ideation on Social Media Using Bi-LSTM and BERT Models. In: Pan, X., Jin, T., Zhang, LJ. (eds) Cognitive Computing – ICCC 2023. ICCC 2023. Lecture Notes in Computer Science, vol 14207. Springer, Cham. https://doi.org/10.1007/978-3-031-51671-9_1
Download citation
DOI: https://doi.org/10.1007/978-3-031-51671-9_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-51670-2
Online ISBN: 978-3-031-51671-9
eBook Packages: Computer ScienceComputer Science (R0)