AI-powered conversational framework for mental health diagnosis

In the domain of mental health care, conditions such as anxiety, depression, bipolar disorder, and borderline personality disorder (BPD) affect millions globally, often going undetected due to stigma, limited access to specialists, and the complexity of diagnosis. In this study, a hybrid AI framework is proposed that combines conversational intelligence with deep learning-based classification to assist in mental health screening. The system utilizes GPT-3.5 to conduct adaptive, human-like conversations for gathering user responses, which are then analyzed by a fine-tuned DistilRoBERTa model for accurate multi-class classification. Further, a strategic data sampling technique is employed using t-distributed stochastic neighbor embedding (t-SNE) and Sentence-Bidirectional Encoder Representations from Transformers (BERT) embeddings to select the most representative samples per class from a public Reddit mental health dataset. The classification model achieved high performance, with an accuracy of 96.27%, and Area Under the Receiver Operating Characteristic Curve (ROC-AUC) scores consistently above 0.91 across all classes, indicating strong discriminative capability. The system is computationally efficient, with an average inference time of 1.67 milliseconds per sample, making it suitable for real-time applications. This work offers a lightweight, scalable, and explainable solution that can assist professionals or be integrated into virtual mental health assistants.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2026-02-24
DOI
https://doi.org/10.7717/peerj-cs.3602
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-powered conversational framework for mental health diagnosis

Deepa Raj, Diwakar Diwakar, Arvind Prasad, G. G. Md. Nawaz Ali et al.
PeerJ Computer Science
Mental Health via Writing
article

AI-powered conversational framework for mental health diagnosis

Deepa Raj, Diwakar Diwakar, Arvind Prasad, G. G. Md. Nawaz Ali, Mohammed A. ElAffendi ElAffendi
article en

Abstract

In the domain of mental health care, conditions such as anxiety, depression, bipolar disorder, and borderline personality disorder (BPD) affect millions globally, often going undetected due to stigma, limited access to specialists, and the complexity of diagnosis. In this study, a hybrid AI framework is proposed that combines conversational intelligence with deep learning-based classification to assist in mental health screening. The system utilizes GPT-3.5 to conduct adaptive, human-like conversations for gathering user responses, which are then analyzed by a fine-tuned DistilRoBERTa model for accurate multi-class classification. Further, a strategic data sampling technique is employed using t-distributed stochastic neighbor embedding (t-SNE) and Sentence-Bidirectional Encoder Representations from Transformers (BERT) embeddings to select the most representative samples per class from a public Reddit mental health dataset. The classification model achieved high performance, with an accuracy of 96.27%, and Area Under the Receiver Operating Characteristic Curve (ROC-AUC) scores consistently above 0.91 across all classes, indicating strong discriminative capability. The system is computationally efficient, with an average inference time of 1.67 milliseconds per sample, making it suitable for real-time applications. This work offers a lightweight, scalable, and explainable solution that can assist professionals or be integrated into virtual mental health assistants.

PeerJ Computer ScienceVol. 12
Prince Sultan University (SA), Babasaheb Bhimrao Ambedkar University (IN), GLA University (IN)
Reduced inequalities
Openalex Percentile: Top 51%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.