Automated detection of depression in clinical interviews using pretrained transformer language models
Automated analysis of psychiatric interviews may support depression detection. However, the performance of automatic speech recognition (ASR), speaker diarization, and ensemble learning in this context remains unclear. We assessed pretrained transformer models for detecting major depressive disorder (MDD) in Cantonese clinical interviews. The development dataset included 299 participants (194 with MDD and 105 healthy controls; mean age 53.30 ± 11.28 years). Five ASR systems were compared against manual reference transcripts. Seven transformer classifiers were evaluated using interviewer-only, interviewee-only, and interaction text with participant-level stratified 10-fold cross-validation. Models trained on manually and automatically transcribed text were compared. The top-performing individual models were combined using statistical aggregation methods. The top-performing ensembles were then evaluated in an independent external dataset of 169 participants (81 with MDD and 88 healthy controls; mean age 21.16 ± 2.06 years) to assess generalizability. Qwen3-ASR-1.7B had the lowest cleaned character error rate (0.344; 95% CI, 0.331–0.357). Automated transcription reduced processing time from approximately 45 to 2 min per interview (95.6% reduction). Interviewer-only text was predictive: RoBERTa achieved AUCs of 0.809 using manually transcribed text and 0.804 using automatically transcribed text. In the development dataset, the best-performing interviewer-only ensemble using automatically transcribed text achieved an AUC of 0.871 (95% CI, 0.830–0.908). In external validation, the interaction-based ensemble using automatically transcribed text achieved the highest AUC of 0.792 (95% CI, 0.719–0.856). These findings support efficient MDD classification with automated transcription in clinical interviews. They also suggest that interviewers’ questions and follow-up strategies shape clinical information available to models, while potentially introducing predictive shortcuts.
Authors
- Ngan Yin Chan (ORCID: https://orcid.org/0000-0002-3009-3565)
- Tim M. H. Li (ORCID: https://orcid.org/0000-0002-6328-0105)
- Yun-Kwok Wing
- Kit Ying Chan (ORCID: https://orcid.org/0009-0009-9244-0612)
- Jie Chen (ORCID: https://orcid.org/0000-0001-7942-5367)
- Bei Huang
- Longdi Xian
- Joey W. Y. Chan
Institutions
- Fujian Medical University (CN)
- Chinese University of Hong Kong (HK)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-11-26
- DOI
- https://doi.org/10.1038/s41598-026-82723-z
- Primary Topic
- Mental Health via Writing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Eisai
- Chinese University of Hong Kong
- H. Lundbeck A/S
- Health and Medical Research Fund