Depression Detection Using AI with Chatbot Support

Year : 2026 | Volume : 14 | Issue : 01 | Page : 01 08
    By

    S. A. Patil,

  • Anushka Sanjay Gaikwad,

  • Komal Ashok Gaikwad,

  • Sampada Nitin Aher,

  • Sakshi Babasaheb Mogal,

  1. Lecturer, Department of Computer Technology, Sanjivani K.B.P. Polytechnic, Kopargaon, Maharashtra, India
  2. Research Scholar, Department of Computer Technology, Sanjivani K.B.P. Polytechnic, Kopargaon, Maharashtra, India
  3. Research Scholar, Department of Computer Technology, Sanjivani K.B.P. Polytechnic, Kopargaon, Maharashtra, India
  4. Research Scholar, Department of Computer Technology, Sanjivani K.B.P. Polytechnic, Kopargaon, Maharashtra, India
  5. Research Scholar, Department of Computer Technology, Sanjivani K.B.P. Polytechnic, Kopargaon, Maharashtra, India

Abstract

Depression is a major global health concern and a significant contributor to suicide rates worldwide. India reports a high number of suicide cases, making the early detection of mental distress and depression essential for timely intervention. This research presents an AI-based system for depression detection that integrates deep learning, natural language processing (NLP), and a chatbot for user support. The system analyzes facial expressions using convolutional neural networks (CNNs) and assesses emotional states from textual input through machine-learning techniques such as Naïve Bayes and support vector machines (SVMs). The system captures real-time facial images through a camera, which are then processed using CNN algorithms and classified into emotional categories such as happy or sad. Simultaneously, it analyzes users’ language patterns to evaluate sentiment, stress levels, and depressive tendencies. To address class imbalance, the study employs the synthetic minority over-sampling technique (SMOTE), thereby improving the accuracy of depression detection. In addition, the system incorporates a chatbot interface that interacts with users, providing support and personalized recommendations based on the detected emotional state. The model was evaluated using datasets such as DAIC-WOZ and PHQ-8 and demonstrated strong performance in identifying depressive symptoms. The integration of facial-expression analysis and text-based sentiment assessment provides a comprehensive approach to depression detection, enhancing the accuracy and reliability of the diagnostic process.

Keywords: Mental Stress Detection, Speech Processing, CNN, NLP, Chatbot, Deep Learning, Machine Learning, Depression Prediction

[This article belongs to Research & Reviews: A Journal of Embedded System & Applications ]

How to cite this article:
S. A. Patil, Anushka Sanjay Gaikwad, Komal Ashok Gaikwad, Sampada Nitin Aher, Sakshi Babasaheb Mogal. Depression Detection Using AI with Chatbot Support. Research & Reviews: A Journal of Embedded System & Applications. 2025; 14(01):01-08.
How to cite this URL:
S. A. Patil, Anushka Sanjay Gaikwad, Komal Ashok Gaikwad, Sampada Nitin Aher, Sakshi Babasaheb Mogal. Depression Detection Using AI with Chatbot Support. Research & Reviews: A Journal of Embedded System & Applications. 2025; 14(01):01-08. Available from: https://journals.stmjournals.com/rrjoesa/article=2025/view=242057


References

  1. Stone LB, Veksler AE. Stop talking about it already! Co-ruminating and social media focused on COVID-19 was associated with heightened state anxiety, depressive symptoms, and perceived changes in health anxiety during spring 2020. BMC Psychol. 2022;10(1):22. doi:10.1186/s40359-022-00734-7. PMID: 35130965.
  2. Chancellor S, Baumer EPS, De Choudhury M. Who is the “human” in human-centered machine learning: the case of predicting mental health from social media. Proc ACM Hum Comput Interact. 2019;3(CSCW):147. doi:10.1145/3359249.
  3. Mikolov T, Chen K, Corrado G, Dean J. Efficient estimation of word representations in vector space [preprint]. 2013. arXiv:1301.3781. doi:10.48550/arXiv.1301.3781.
  4. Guntuku SC, Yaden DB, Kern ML, Ungar LH, Eichstaedt JC. Detecting depression and mental illness on social media: an integrative review. Curr Opin Behav Sci. 2017;18:43–49. doi:10.1016/j.cobeha.2017.07.005.
  5. Mancini G, Agnoli S, Baldaro B, Bitti PER, Surcinelli P. Facial expressions of emotions: recognition accuracy and affective reactions during late childhood. J Psychol. 2013;147(6):599–617. doi:10.1080/00223980.2012.727891. PMID: 24199514.
  6. Guarnera M, Hichy Z, Cascio MI, Carrubba S. Facial expressions and ability to recognize emotions from eyes or mouth in children. Eur J Psychol. 2015;11(2):183–196. doi:10.5964/ejop.v11i2.890. PubMed:27247651.
  7. Hey T, Butler K, Jackson S, Thiyagalingam J. Machine learning and big scientific data. Philos Trans A Math Phys Eng Sci. 2020;378(2166):20190054. doi:10.1098/rsta.2019.0054. PMID: 31955675.
  8. Sen S, Raghunathan A. Approximate computing for long short-term memory (LSTM) neural networks. IEEE Trans Comput Aided Des Integr Circuits Syst. 2018;37(11):2266–2276. doi:10.1109/TCAD.2018.2858362.
  9. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. In: Guyon I, Von Luxburg U, Bengio S, Wallach H, Fergus R, Vishwanathan S, et al., editors. Advances in Neural Information Processing Systems 30 (NIPS 2017). Red Hook (NY): Curran Associates, Inc.; 2017. p. 5998–6008. doi:10.48550/arXiv.1706.03762.
  10. Rabasco A, Corcoran V, Andover M. Alone but not lonely: the relationship between COVID-19 social factors, loneliness, depression, and suicidal ideation. PLoS One. 2021;16(12):e0261867. doi:10.1371/journal.pone.0261867. PMID: 34941942.
  11. Song K, Tan X, Qin T, Lu J, Liu TY. MPNet: masked and permuted pre-training for language understanding [preprint]. 2020. arXiv:2004.09297. doi:10.48550/arXiv.2004.09297.
  12. Liu B. Sentiment Analysis and Opinion Mining. Cham: Springer Nature; 2022. doi:10.1007/978-3-031-02145-9.
  13. Schuller BW, Batliner AM. Computational paralinguistics: emotion, affect and personality in speech and language processing. Chichester: John Wiley & Sons; 2013. doi:10.1002/9781118706664.
  14. Yang Z, Dai Z, Yang Y, Carbonell J, Salakhutdinov R, Le QV. XLNet: generalized autoregressive pretraining for language understanding [preprint. 2019. arXiv:1906.08237. doi:10.48550/arXiv.1906.08237.
  15. Poria S, Cambria E, Bajpai R, Hussain A. A review of affective computing: from unimodal analysis to multimodal fusion. Inf Fusion. 2017;37:98–125. doi:10.1016/j.inffus.2017.02.003.
  16. Yeasmin S, Das S, Afroj T, Suha SH, Prabha M, Vanu N, Hosen A. Artificial intelligence in mental health: leveraging machine learning for diagnosis, therapy, and emotional well-being. J Ecohumanism. 2025;4(3):286–300. doi:10.62754/joe.v4i3.6640.

Regular Issue Subscription Review Article
Volume 14
Issue 01
Received 01/04/2025
Accepted 07/10/2025
Published 20/12/2025
Publication Time 263 Days


Login


My IP

PlumX Metrics