International Journal of Emerging Research in Science, Engineering, and Management
Vol. 2, Issue 1, pp. 263-272, January 2026.
This work is licensed under a Creative Commons Attribution 4.0 International License.
M. A. Manivasagam
K.V.L.V. Narasimha Prakash
B. Madhulatha
M. Moulika
P. Gokul
G. R. Manohar Reddy
Department of CSE, Siddartha Institute of Science and Technology, Puttur, India.
Abstract: This research presents a Deep Learning-Driven Real-Time Conversational Assistant designed to bridge the gap between digital expression and proactive mental health support. While modern users frequently share their emotional states on digital platforms, conventional sentiment analysis often fails to identify the nuanced linguistic patterns associated with acute psychological distress, such as chronic stress or clinical anxiety. To address this, the proposed framework utilizes state-of-the-art Transformer-based architectures (BERT and RoBERTa) to perform high-granularity emotion classification, effectively categorizing inputs into states of sadness, anger, stress, and anxiety. The system architecture integrates these detected emotional vectors into a Large Language Model (LLM), which is fine-tuned to generate empathetic, contextually relevant support responses. This ensures a human-centric interaction model that provides immediate comfort without overstepping into medical diagnosis. To enhance the assistant’s reliability, a Retrieval-Augmented Generation (RAG) module is incorporated that dynamically fetches localized mental health resources, including emergency helplines and nearby counseling centers, based on the user’s geographic coordinates. The final solution is deployed as a comprehensive web application featuring a real-time chat interface, a personalized mood dashboard, and longitudinal summaries of emotional trends. By combining deep learning-driven diagnostics with localized resource mapping, the paper offers a scalable, safe, and accessible intervention tool that empowers users to monitor their mental well-being and access professional support when critical emotional thresholds are met.
Keywords: Mental Health, BERT, Natural Language Processing, LLM, Emotion Detection.
References:
- A. M. Vinod and R. Vignesh, “Detecting Mental Health Disorder using Deep Learning,” 2025 International Conference on Intelligent Computing and Control Systems (ICICCS), Erode, India, 2025, pp. 1122-1127, doi: 10.1109/ICICCS65191.2025.10984793.
- P. Indumathy and R. P. Kumar, “Assessing the Impact of Stress on Teenagers Mental Health Using Deep Learning: A Comparative Study,” 2025 2nd International Conference on Computing and Data Science (ICCDS), Chennai, India, 2025, pp. 1-6, doi: 10.1109/ICCDS64403.2025.11209454.
- K. Nagarajaiah, M. H. Krishnappa and K. R. Asha, “Machine Learning based Detection of Post Traumatic Stress Disorder of Mental Health,” 2023 4th International Conference on Electronics and Sustainable Communication Systems (ICESC), Coimbatore, India, 2023, pp. 1456-1460, doi: 10.1109/ICESC57686.2023.10193036.
- Q. Ran and D. Han, “Design of Mental Health Consultation System Based on Deep Learning Algorithm,” 2023 International Conference on Computer Science and Automation Technology (CSAT), Shanghai, China, 2023, pp. 257-262, doi: 10.1109/CSAT61646.2023.00074.
- P. Kaushik, K. Bansal and Y. Kumar, “Deep Learning in Mental Health: An In-Depth Analysis of Prediction Systems,” 2023 International Conference on Communication, Security and Artificial Intelligence (ICCSAI), Greater Noida, India, 2023, pp. 364-369, doi: 10.1109/ICCSAI59793.2023.10421590.
- S. Jage, S. Chaudhari, M. Jatte, A. Mhatre and V. Mane, “Predicting Mental Health Illness using Machine Learning,” 2023 3rd Asian Conference on Innovation in Technology (ASIANCON), Ravet IN, India, 2023, pp. 1-5, doi: 10.1109/ASIANCON58793.2023.10270445.
- P. D. Marsella, N. D. Lessy, S. B. Syam, R. O. Kadang, S. Hamzah and M. F. Rahmatullah, “Applying Multimodal Deep Learning for Identifying Mental Health Indicators in Instagram Content,” 2024 6th International Conference on Cybernetics and Intelligent System (ICORIS), Surakarta, Indonesia, 2024, pp. 1-5, doi: 10.1109/ICORIS63540.2024.10903856.
- J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” arXiv.org, Oct. 11, 2018. https://arxiv.org/abs/1810.04805
- Y. Liu et al., “ROBERTA: A robustly optimized BERT pretraining approach,” arXiv.org, Jul. 26, 2019. https://arxiv.org/abs/1907.1169
- J. L. Beredo and E. C. Ong, “A Hybrid Response Generation Model for an Empathetic Conversational Agent,” 2022 International Conference on Asian Language Processing (IALP), Singapore, Singapore, 2022, pp. 300-305, doi: 10.1109/IALP57159.2022.9961311.
- P. Lewis et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP tasks,” arXiv.org, May 22, 2020. https://arxiv.org/abs/2005.11401.
- V. Gopi, M. Ramya, N. M. Saisree, V. A. K. Reddy, K. V. Vardhan, and K. Y. Yadav, “AI-Driven Smart Healthcare Assistant,” International Journal of Emerging Research in Science, Engineering, and Management, vol. 2, no. 1, pp. 34-44, Jan. 2026, doi: 10.58482/ijersem.v2i1.6.
