Scientific Reports

Automated detection of depression in clinical interviews using pretrained transformer language models

Longdi Xian, Kit Ying Chan, Jie Chen, Joey W Y Chan, Ngan Yin Chan, Bei Huang, Yun-Kwok Wing, Tim M H Li

Key points

From the paper's conclusion
  • These findings support efficient MDD classification with automated transcription in clinical interviews.

Abstract

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 process​ing 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.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Automated detection of depression in clinical interviews using pretrained transformer language models — Science Skim