Jurnal Teknik Informatika (JUTIF)
Vol. 7 No. 3 (2026): JUTIF Volume 7, Number 3, June 2026

Predicting Mental Health Status using a Fine-Tuned CNN-LSTM Hybrid Model

Agustin Agustin (Department of Informatic Engineering, Faculty of Engineering and Informatics Universitas Sains dan Teknologi Indonesia, Pekanbaru, Indonesia)
Junadhi Junadhi (Department of Informatic Engineering, Faculty of Engineering and Informatics Universitas Sains dan Teknologi Indonesia, Pekanbaru, Indonesia)
Susi Erlinda (Department of Informatic Engineering, Faculty of Engineering and Informatics Universitas Sains dan Teknologi Indonesia, Pekanbaru, Indonesia)
Triyani Arita Fitri (Department of Informatic Engineering, Faculty of Engineering and Informatics Universitas Sains dan Teknologi Indonesia, Pekanbaru, Indonesia)
Lusiana Efrizoni (Department of Informatic Engineering, Faculty of Engineering and Informatics Universitas Sains dan Teknologi Indonesia, Pekanbaru, Indonesia)



Article Info

Publish Date
15 Jun 2026

Abstract

Mental health has become a critical global concern in the digital era, particularly as social media platforms increasingly serve as spaces where users express psychological conditions, emotions, and personal struggles. This study aims to predict mental health status from Twitter text using a fine-tuned hybrid CNN–LSTM deep learning model. A total of 12,214 tweets were collected, cleaned, and labeled into five categories: Normal, Stress, Anxiety, Depression, and High-Risk Condition. The dataset was split using stratified sampling into 70% training, 15% validation, and 15% testing portions. Text was transformed into numerical representations through tokenization, padding, and 100-dimensional word embeddings. The hybrid CNN–LSTM architecture combines the CNN’s ability to extract local linguistic features with the LSTM’s strength in capturing long-term contextual dependencies, supported by dropout, early stopping, and hyperparameter fine-tuning. Experimental results show that the hybrid model achieves superior performance compared to standalone CNN and LSTM architectures, obtaining an overall accuracy of 0.892, macro precision of 0.874, macro recall of 0.861, and a macro F1-score of 0.865. Class-wise evaluation indicates that the Normal category achieves the highest accuracy (0.960), followed by Anxiety (0.884) and High-Risk Condition (0.808). Meanwhile, Stress (0.751) and Depression (0.745) show lower accuracies due to semantic overlap in linguistic expressions commonly found on social media. The training process demonstrates stable convergence without significant overfitting, confirming the effectiveness of the selected architecture and training strategy. Overall, this study highlights the effectiveness of the hybrid CNN–LSTM model for early mental health detection based on text data. The findings provide a strong foundation for developing scalable and data-driven mental health monitoring systems in digital environments and contribute to advancing natural language processing approaches for mental health analysis.

Copyrights © 2026






Journal Info

Abbrev

jurnal

Publisher

Subject

Computer Science & IT

Description

Jurnal Teknik Informatika (JUTIF) is an Indonesian national journal, publishes high-quality research papers in the broad field of Informatics, Information Systems and Computer Science, which encompasses software engineering, information system development, computer systems, computer network, ...