PHQ-9 Based Depression Detection Using Text with Multi-Task DeBERTa Model
Journal of Smart Sensors and Computing · 31.03.2026 · 2 (1)
DOI: 10.64189/ssc.26205 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Smart Sensors and Computing, online erschienen am 31.03.2026. Verfasst von Rahul Dagade und 6 weiteren Autor:innen.
Themen: Depression
Abstract (Originalsprache)
Depression is a widespread mental health disorder that adversely affects emotional well-being, cognitive functioning, and overall quality of life. Early and accurate detection is essential for timely intervention; however, traditional screening methods such as the Patient Health Questionnaire-9 (PHQ-9) are often limited by accessibility and resource constraints. To address these challenges, this study proposes a text-based automated depression screening system that predicts both PHQ-9 scores and depression severity levels from user-generated free-form text.The proposed approach utilizes DeBERTa-V3, a state-of-the-art transformer model, within a multi-task learning framework that simultaneously performs regression and multi-class classification. The model was trained on the PHQ-TextSet dataset, a synthetically constructed and PHQ-9-aligned corpus comprising 3,235 annotated samples across five severity categories. By leveraging disentangled attention and shared contextual representations, the system effectively captures nuanced linguistic and emotional patterns.Experimental results demonstrate high performance, achieving 99.85% classification accuracy, a macro F1-score of 0.9984, a weighted AUC of 0.96, and a Mean Absolute Error of 1.2495 for PHQ-9 score prediction. However, these results should be interpreted as an upper-bound estimate due to the structured and controlled nature of the dataset, which differs from real-world, noisy text inputs. The model is deployed as a real-time inference system using FastAPI, highlighting its practical applicability in digital mental health platforms, telemedicine systems, and educational wellness tools. This work presents a scalable and accessible alternative to traditional screening methods while maintaining alignment with clinical assessment standards. Future work will focus on evaluating the model on real-world datasets, enhancing robustness, incorporating multimodal data, and improving interpretability to support responsible AI deployment in mental healthcare.
Zitieren
APA
Dagade, R., Godha, N., Jadhav, G., Darwatkar, S., Kalekar, P., Kamble, A., & Hargude, P. (2026). PHQ-9 Based Depression Detection Using Text with Multi-Task DeBERTa Model. Journal of Smart Sensors and Computing, 2(1). https://doi.org/10.64189/ssc.26205
Vancouver
Dagade R, Godha N, Jadhav G, Darwatkar S, Kalekar P, Kamble A, et al. PHQ-9 Based Depression Detection Using Text with Multi-Task DeBERTa Model. Journal of Smart Sensors and Computing. 2026;2(1). doi:10.64189/ssc.26205
BibTeX
@article{Dagade2026,
author = {Dagade, Rahul and Godha, Nisha and Jadhav, Ganesh and Darwatkar, Saee and Kalekar, Payal and Kamble, Aditya and Hargude, Prasad},
title = {PHQ-9 Based Depression Detection Using Text with Multi-Task DeBERTa Model},
journal = {Journal of Smart Sensors and Computing},
year = {2026},
volume = {2},
number = {1},
doi = {10.64189/ssc.26205}
}
EUVIMED