Depression Detection Using a Hybrid Convolutional Neural Network and Recurrent Neural Network Approach

Authors

  • Khadijat Jibrin Federal Polytechnic Kaltungo, Nigeria Author
  • Mustapha Ismail Gombe State University, Nigeria Author
  • Maimuna Salisu Tabra Gombe State University, Nigeria Author

DOI:

https://doi.org/10.5281/zenodo.23934490

Keywords:

Bidirectional LSTM, Convolutional Neural Network, Depression Detection, Hybrid Deep Learning, Mental Health Screening

Abstract

Depression is a widespread psychological condition that disrupts how people feel, think, and function, and recognising it early allows support to begin before symptoms worsen. Most automated approaches rely either on conventional machine learning, which struggles with interacting risk factors, or on single deep learning models that capture only one type of pattern. Here we propose a hybrid network that joins one-dimensional convolutional layers (CNN) to a bidirectional long short-term memory layer (BiLSTM) in order to separate depressed from non-depressed students. The novelty lies in treating structured demographic, academic, and lifestyle attributes as an ordered sequence so that convolutional and bidirectional recurrent layers can learn their interactions jointly. An open Kaggle dataset of 27,901 student records with 16 attributes was used. Missing values were imputed, categorical attributes were encoded, numerical features were standardised, and class weighting was applied; 80% of the records were used for training, while a stratified 20% was kept aside for testing. Evaluation relied on six measures: accuracy, precision, recall, F1-score, area under the ROC curve, and Matthews correlation. On the unseen test records the network reached 84% accuracy, with F1 = 0.84, ROC-AUC = 0.91, and MCC = 0.67, outperforming the classical models reported in comparable studies. The framework offers a reliable and scalable basis for automated mental-health screening in educational settings.

Downloads

Download data is not yet available.

References

Ahmed, H. U., Hossain, M. D., Aftab, A., Soron, T. R., Alam, M. T., Chowdhury, M. W., & Uddin, A. (2017). Suicide and depression in the World Health Organization South-East Asia region: A systematic review. WHO South-East Asia Journal of Public Health, 6(1), 60–66.

Ali, S. H., Fekadu, A., Hanlon, C., Medhin, G., Prince, M., & Petersen, I. (2022). Psychometric properties of screening questionnaires to detect depression in primary healthcare setting in rural Ethiopia. BMC Primary Care, 23(1), 31. https://doi.org/10.1186/s12875-022-01755-2

Bader, M., Abdelwanis, M., Maalouf, M., & Jelinek, H. F. (2024). Detecting depression severity using weighted random forest and oxidative stress biomarkers. Scientific Reports, 14(1), 16328. https://doi.org/10.1038/s41598-024-67251-y

Bertl, M., Bignoumba, N., Ross, P., Yahia, S. B., & Draheim, D. (2024). Evaluation of deep learning-based depression detection using medical claims data. Artificial Intelligence in Medicine, 147, 102745. https://doi.org/10.1016/j.artmed.2023.102745

Bhadra, S., & Kumar, C. J. (2023). Enhancing the efficacy of a depression detection system using optimal feature selection from EHR. Computer Methods in Biomechanics and Biomedical Engineering. Advance online publication. https://doi.org/10.1080/10255842.2023.2181660

Bokolo, B. G., & Liu, Q. (2023). Deep learning-based depression detection from social media: Comparative evaluation of machine learning and transformer techniques. Electronics, 12(21), 4396. https://doi.org/10.3390/electronics12214396

Brinsley, J., O'Connor, E. J., Singh, B., McKeon, G., Curtis, R., Ferguson, T., ... & Maher, C. (2025). Effectiveness of digital lifestyle interventions on depression, anxiety, stress, and well-being: Systematic review and meta-analysis. Journal of Medical Internet Research, 27, e56975.

Das, P., Hasan, M. E., Arif, M., ALmerab, M. M., Al Habib, A., Al-Mamun, F., & Mamun, M. A. (2025). Prevalence, associated factors, and machine learning-based prediction of probable depression among individuals with chronic diseases in Bangladesh. BMC Psychiatry, 25, 1093. https://doi.org/10.1186/s12888-025-07542-4

Deng, Q., Luz, S., & de la Fuente García, S. (2023). Hierarchical attention interpretation: An interpretable speech-level transformer for bi-modal depression detection. arXiv preprint arXiv:2309.13476. https://doi.org/10.48550/arXiv.2309.13476

Jurado, H. (2025). Student depression dataset [Data set]. Kaggle. https://www.kaggle.com/datasets/hopesb/student-depression-dataset

Jin, N., Ye, R., & Li, P. (2025). Diagnosis of depression based on facial multimodal data. Frontiers in Psychiatry, 16, 1508772. https://doi.org/10.3389/fpsyt.2025.1508772

Kuo, A.-T., Chen, H., Kuo, Y.-H., & Ku, W.-S. (2023). Dynamic graph representation learning for depression screening with transformer. arXiv preprint arXiv:2305.06447. https://doi.org/10.48550/arXiv.2305.06447

Levis, B., Sun, Y., He, C., Wu, Y., Krishnan, A., Bhandari, P. M., ... & Thombs, B. D. (2020). Probability of major depression classification based on the SCID, CIDI, and MINI diagnostic interviews: A synthesis of three individual participant data meta-analyses. Psychotherapy and Psychosomatics, 89(4), 255–263. https://doi.org/10.1159/000506074

Lin, H., Fang, J., Zhang, J., et al. (2024). Resting-state electroencephalogram depression diagnosis based on traditional machine learning and deep learning: A comparative analysis. Sensors, 24(21), 6815. https://doi.org/10.3390/s24216815

Manea, L., Gilbody, S., & McMillan, D. (2017). The psychometric properties of depression screening tools in primary healthcare settings: A systematic review. British Journal of Psychiatry, 210(4), 259–265. https://doi.org/10.1192/bjp.bp.116.186395

Masud, G. H. A., Shanto, R. I., Sakin, I., & Kabir, M. R. (2025). Effective depression detection and interpretation: Integrating machine learning, deep learning, language models, and explainable AI. Array, 25, 100375. https://doi.org/10.1016/j.array.2025.100375

Nadeem, A., Naveed, M., Satti, M. I., Afzal, H., Ahmad, T., & Kim, K.-I. (2022). Depression detection based on a hybrid deep-learning SSCL framework using a self-attention mechanism: An application to social-networking data. Sensors, 22(24), 9775. https://doi.org/10.3390/s22249775

Qasim, A., Mehak, G., Hussain, N., Gelbukh, A., & Sidorov, G. (2025). Detection of depression severity in social media text using transformer-based models. Information, 16(2), 114. https://doi.org/10.3390/info16020114

Rehmani, F., Shaheen, Q., Anwar, M., Faheem, M., & Bhatti, S. S. (2024). Depression detection with machine learning of structural and non-structural dual languages. Healthcare Technology Letters, 11(4), 218–226. https://doi.org/10.1049/htl2.12088

Saha, D. K., Hossain, T., Safran, M., et al. (2024). An ensemble of hybrid model–based techniques for early detection of depression based on SVM and neural networks. Scientific Reports, 14, 25470. https://doi.org/10.1038/s41598-024-77193-0

Sahu, S., & Singh, S. (2024). Joint textual and acoustic convolution–LSTM architecture for depression detection. Journal of Biomedical Informatics, 135, 104123. https://doi.org/10.1016/j.jbi.2024.104123

Sonjaya, R. P., Gintara, A. R., Riza, L. S., Nursalman, M., Nugraha, E., & Wahyudin, D. (2025). Predicting student depression using the Naive Bayes model on the Student Depression Dataset from Kaggle. JENTIK: Jurnal Pendidikan Teknologi Informasi dan Komunikasi, 4(1), 9–20. https://doi.org/10.58723/jentik.v4i1.448

Torous, J., Kiang, M. V., Lorme, J., & Onnela, J.-P. (2020). The performance and accuracy of depression screening tools capable of self-administration in primary care: A systematic review and meta-analysis. European Journal of Psychiatry, 34(4), 234–243. https://doi.org/10.1016/j.ejpsy.2020.08.002

Torres Cruz, F., Flores, E. E. C., & Quispe, S. J. C. (2023). Prediction of depression status in college students using a Naïve Bayes classifier–based machine-learning model. arXiv preprint. https://doi.org/10.48550/arXiv.2307.14371

Vu, T., Dawadi, R., Yamamoto, M., et al. (2025). Prediction of depressive disorder using machine-learning approaches: Findings from the NHANES. BMC Medical Informatics and Decision Making, 25, 83. https://doi.org/10.1186/s12911-025-02903-1

World Health Organization. (2023). Depressive disorder (depression) [Fact sheet]. https://www.who.int/news-room/fact-sheets/detail/depression

Xu, X., Wang, Y., Wei, X., Wang, F., & Zhang, X. (2024). Attention-based acoustic feature fusion network for depression detection. arXiv preprint arXiv:2308.12478. https://doi.org/10.48550/arXiv.2308.12478

Zhang, Z., Zhang, S., Ni, D., Wei, Z., Yang, K., Jin, S., ... & Wang, J. (2024a). Multimodal sensing for depression risk detection: Integrating audio, video, and text data. Sensors, 24(12), 3714. https://doi.org/10.3390/s24123714

Zhang, Z., Zhu, J., Guo, Z., et al. (2024b). Natural language processing for depression prediction on Sina Weibo: Method study and analysis. JMIR Mental Health, 11, e58259. https://doi.org/10.2196/58259

Downloads

Published

21-10-2026

Issue

Section

Articles

How to Cite

Depression Detection Using a Hybrid Convolutional Neural Network and Recurrent Neural Network Approach. (2026). SITEKNIK: Sistem Informasi, Teknik Dan Teknologi Terapan, 3(4), 206-214. https://doi.org/10.5281/zenodo.23934490

Share

Similar Articles

1-10 of 23

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