Predicting Depression Risk in Early Intervention in Psychosis Services: A Machine Learning Study Utilising Electronic Health Records and Natural Language Processing
Sergio Mena, Dominic Oliver, Fiona Coutts, Maite Arribas, Grace R. Jacobs, Jana von Trott, Nicoleta Sirbu, Louise Moles,
Key points
From the paper's conclusion- This study provides an initial demonstration that predictive modelling of clinically documented depressive outcomes in EIP services is feasible using routinely collected EHR data. The findings address a major unmet clinical need and mark a critical step toward integrating depression risk prediction into psychiatric practice.
Abstract
INTRODUCTION: Depression is prevalent in early psychosis and associated with poorer functional outcomes and suicide risk. Early identification of depression risk is critical to inform targeted interventions. This study aimed to develop models to predict depression risk using electronic health records (EHRs) from patients accepted into South London and Maudsley (SLaM) Early Intervention in Psychosis Services. METHODS: EHRs from 3,559 patients were analysed using a nested cross-validated machine learning framework. Structured sociodemographic, medication, and 66 natural language processing (NLP)-derived clinical note variables were used to train support vector regressors (SVRs) and classifiers (SVCs) to predict future changes in depressive symptoms, antidepressant prescriptions (AD0-6m) and treatment escalation for depression (TE0-6m). Model performance was generalised in out-of-cross-validation samples and across SLaM boroughs. Clustering analyses were also conducted to identify depressive symptom trajectories. RESULTS: SVRs accurately predicted changes in depressive symptom scores over the first year following referral, with R² ranging 58.5%-72.1%. SVCs predicted AD0-6m with a balanced accuracy (BAC) of 65.6% and TE0-6m with a BAC of 68.0%. Patients with deteriorating trajectories were most likely to receive antidepressants, had higher antipsychotic treatment attempts and a psychotic-affective mixed presentation of symptoms. Model performance remained robust across clusters, and poor-prognosis clusters were captured in the +TE0-6m outcome. CONCLUSION: This study provides an initial demonstration that predictive modelling of clinically documented depressive outcomes in EIP services is feasible using routinely collected EHR data. The findings address a major unmet clinical need and mark a critical step toward integrating depression risk prediction into psychiatric practice.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Machine learning-based identification of depression in older patients with type 2 diabetes mellitus: A multicenter retrospective study.Science progress · 2026
- Phenotyping antidepressant treatment response with deep learning in electronic health recordsTranslational Psychiatry · 2026
- Building an early warning model for the risk of suicide attempt in people with depression based on machine learning: a single-centre studyFrontiers in Psychiatry · 2026
- Depression diagnosis from patient interviews using multimodal machine learningFrontiers in Psychiatry · 2025
- Joint detection of risk for psychotic disorders or bipolar disorders in clinical practice in the UK: development and validation of a clinical prediction modelThe Lancet Psychiatry · 2025
- Multidimensional Suicide Risk Assessment with Machine Learning using Electronic Health RecordsarXiv · 2026