DEVELOPMENT OF A SENTIMENT ANALYSIS- DRIVEN PREDICTIVE AI MODEL FOR DETECTING SUICIDE IDEATION IN NIGERIAN SOCIAL MEDIA PLATFORM

Authors

  • Dr. Adamu Garba Abdullahi Department of Cybersecurity and Data Science, Faculty of Computing, Nile University Author
  • Aneesah Ibrahim Shehu Department of Information Technology, Nile University of Nigeria, Abuja. Author

DOI:

https://doi.org/10.70454/JRIST.020301

Keywords:

Artificial Intelligence, Nigeria, Sentiment Analysis, Social-media, Suicide Ideation

Abstract

Suicidal thoughts among youths are a growing concern, particularly in low-income nations like Nigeria where underreporting, stigma, and a lack of mental health facilities make early intervention challenging. Since many people now use different social media platforms to express their psychological suffering online, artificial intelligence has created proactive potential to discover mental health issues. In order to identify early indicators of suicide intentions on Nigerian social media, this study develops a predictive AI algorithm that employs sentiment analysis. 52,000 publicly available Nigerian social media posts collected between 2020 and 2025 were manually classified into risk categories for suicidal ideation and non-suicidal ideation using a supervised machine learning approach. This study takes into account linguistic characteristics unique to Nigeria that are often overlooked in Western dataset models, such as code-switching, local slang, and Nigerian Pidgin. It employed a comprehensive preprocessing method, sentiment feature extraction, and contextual embeddings. Additionally, the performance of a transformer-based BERT model that was modified for classification was evaluated using accuracy, precision, and recall metrics. The results showed that the model had 96.7% accuracy, 88.4% precision, and 92% recall in identifying both overt and covert signs of suicidal ideation. The results show that in linguistically difficult situations, sentiment-aware deep learning models perform better than traditional methods. This paper provides a culturally appropriate AI framework for mental health monitoring in Nigeria and lays the groundwork for early-warning systems that facilitate prompt intervention, policy creation, and suicide prevention campaigns.

References

1. Al Maeni, N., Suarna, N., &Prihartono, W. (2024). Shopee User Sentiment Analysis Based on Tweet Data from Twitter Using the Naive Bayes Classifier Method. JATI (Journal of Informatics Engineering Students) ,8 (2), 1834–1840.

2. Coppersmith, G.; Ngo, K.; Leary, R.; Wood, A. Exploratory analysis of social media prior to a suicide attempt. In Proceedings of the Third Workshop on Computational Linguistics and Clinical Psychology, San Diego, CA, USA, 16 June 2016; pp. 106–117.

3. Devlin, J., Chang, M-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. NAACL-HLT.

4. Fadjeri, A., Hidayat, K., &Handayani, DR (2021). Emotion Detection in Text Using the Naïve Bayes Algorithm. Journal of Information and Computer Technology Research (JURISTIK) ,1 (2), 1–4. https://doi.org/10.53863/juristik.v1i02.365

5. Hinduja and J.W.Patchin, "Bullying, cyberbullying, and suicide," Archives of suicide research, vol. 14, no. 3, pp. 206–221,2010.

6. Hinduja, S., Afrin, M., Mistry, S., & Krishna, A. (2022). Machine learning-based proactive social-sensor service for mental health monitoring using twitter data. International Journal of Information Management Data Insights, 2(2), 100113

7. Liu, D., Feng, X. L., Ahmed, F., Shahid, M., & Guo, J. (2022). Detecting and measuring depression on social media using a machine learning approach: Systematic review. JMIR Mental Health, 9(3),

8. Pachouly, S.J.; Raut, G.; Bute, K.; Tambe, R.; Bhavsar, S. Depression Detection on Social Media Network (Twitter) using Sentiment Analysis. Int. Res. J. Eng. Technol. 2021, 8, 1834–1839.

9. Stankevich, M.; Latyshev, A.; Kuminskaya, E.; Smirnov, I.; Grigoriev, O. Depression detection from social media texts. CEUR Workshop Proc. 2019, 6, 2523.

10. Syed, T.R.; Qamar, R.K.; Akib, M.U. Khanday. Machine Classification for Suicide Ideation Detection on Twitter. Int. J. Innov. Technol. Explor. Eng. 2019, 8, 4154–4160.

11. Tadesse, M.M.; Lin, H.; Xu, B.; Yang, L. Detection of Depression-Related Posts in Reddit Social-Media Forum. IEEE Access 2019, 7, 44883–44893

12. Tadesse, M.M.; Lin, H.; Xu, B.; Yang, L. Detection of suicide ideation in social media forums using deep learning. Algorithms 2020, 13, 7

13. Vioule, B.Moulahi, J.Aze´, and S.Bringay, "Detection of suicide-related posts in twitter data streams," IBM Journal of Research and Development, vol.62, no.1, pp.7:1–7:12,2018

14. World Health Organization, Preventing suicide: A global imperative. World Health Organization, 2014

Downloads

Published

2026-09-30

Issue

Section

Articles

How to Cite

DEVELOPMENT OF A SENTIMENT ANALYSIS- DRIVEN PREDICTIVE AI MODEL FOR DETECTING SUICIDE IDEATION IN NIGERIAN SOCIAL MEDIA PLATFORM. (2026). Journal of Recent Innovation in Science and Technology , 2(3), 1-11. https://doi.org/10.70454/JRIST.020301

Similar Articles

1-10 of 12

You may also start an advanced similarity search for this article.