Related Experiment Video
Updated: May 16, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Exploring GPT-based models for depression detection in adolescents using naturalistic speech: A proof-of-concept
Anna Viduani1, Leonardo Z Ferreira2, Claudia Buchweitz1
1Prodia - Child & Adolescent Depression Program, Hospital de Clínicas de Porto Alegre (HCPA), Porto Alegre, Brazil; Graduate Program in Psychiatry and Behavioral Sciences, Universidade Federal do Rio Grande do Sul (UFRGS), Porto Alegre, Brazil; Instituto de Pesquisa, Hospital Moinhos de Vento, Porto Alegre, RS, Brazil.
None:
This study investigates whether GPT-4o, a Large Language Model (LLM), can identify depression from daily, naturalistic non-symptom-specific speech transcripts; how its performance varies with input volume; and how it compares to other LLMs. Thirty Brazilian adolescents (aged 16-19) completed a 14-day remote data collection using IDEABot, a WhatsApp-based chatbot. Half of the participants (n = 15, 8 girls) had a confirmed Major Depressive Disorder (MDD) diagnosis established by a child and adolescent psychiatrist using gold-standard procedures. GPT-4o was prompted to classify participants as depressed or non-depressed based on daily transcribed audio messages in Brazilian Portuguese. Performance was evaluated across varying input lengths (number of days), and a secondary analysis compared GPT-4o with 12 alternative GPT-based models. GPT-4o achieved an overall accuracy of 86.6% (95% CI [70.3%, 95.6%]), with 100% sensitivity and 73.3% specificity (95% CI [55.6%, 86.2%]). Classification remained stable across days, and increasing input length yielded only modest improvements. No statistically significant differences were observed between models, although GPT-4o showed numerically higher performance than newer and larger models. As a proof-of-concept study using a purposively selected sample representing opposite ends of the symptom spectrum, these findings are preliminary. Nonetheless, they suggest that LLMs may support depression detection from naturalistic conversational text, extending prior work based on structured assessments to more ecologically valid contexts. This study highlights both the promise and current limitations of AI-based approaches for mental health screening.
