Submit your papersSubmit Now
For Enquiries: [email protected]
IIARD LogoIIARD

Leveraging Hybrid CNN-LSTM Model with Attention Mechanisms for Detection of Mental Health of Patients Using Twitter Data

Gbeneowei Chinyere Ebideinere, Obasi E.C.M

Abstract

Depression, affecting over 280 million people globally, poses a significant public health challenge due to delayed diagnoses and limited access to traditional mental health assessments. This study proposes a hybrid deep learning model combining Convolutional Neural Networks (CNNs) and Bidirectional Long Short-Term Memory (BiLSTM) networks with a Multi-Head Attention mechanism to detect depressive linguistic markers in Twitter data. Using a curated dataset of tweets collected via the Twitter API (2018-2023), the model leverages advanced preprocessing with the Isolation Forest algorithm, SMOTE for class balancing, and hyperparameter tuning to achieve an accuracy of 98.66%, precision of 98.86%, recall of 98.52%, and an Fl-score of 98.69%. Integrated with Explainable AI (XAI) via LIME, the model provides transparent, word-level insights into predictions. [cite_start]Deployed through a Flask web application with a Tailwind CSS interface, it offers real-time depression detection, making it a scalable, interpretable tool for mental health monitoring and early intervention. [cite: 7, 8, 9, 10, 11]

Keywords

Depression DetectionConvolutional Neural Network (CNN)Long Short-Term Memory (LSTM)Attention MechanismIsolation ForestTwitter DataExplainable AI (XAI)

References

WHO, 2023. Naslund et al., 2020. Chancellor & De Choudhury, 2020. Tsakalidis et al., 2021. Wang et al., 2023. Kim et al., 2020. Brown et al., 2021. Bentley et al., 2021. Chancellor et al., 2022. Guntuku et al. (2021). Skaik and Inkpen (2022). Birjali et al. (2023). Joshi et al. (2022).

More Articles from INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND MATHEMATICAL THEORY

Advances in Algorithmic Contract Scoring for Pre-Negotiation Yield Optimization and Risk Retention

Author: Ngozi Samuel Uzougbo, Michael Ominyi, Cyril Chimelie Anichukwueze, Blessing, Chika Jones

DevTest flow: Designing a Scalable Continuous Testing Pipeline for High-Velocity Software Delivery

Author: Lawal Ahmed Oladimeji, Achori Busayo, Akeju BusayoZainab, Saka Samson, Damilare, Mbah Demian Chidi, Runsewe Similoluwa Mayowa, Oladiti Luqman, Abiodun