Phenotyping antidepressant treatment response with deep learning in electronic health records
Yi-han Sheu, Colin Magdamo, Matthew Miller, Sudeshna Das, Deborah Blacker, Jordan W. Smoller
Broad Institute · Harvard University
Key points
From the paper's conclusion- Our results indicate that deep learning methods applied to EHR data can accurately classify antidepressant response in a real-world healthcare setting.
Abstract
ABSTRACT Efficient, accurate phenotyping for antidepressant treatment response in electronic health records (EHRs) could facilitate precision psychiatry applications but remains a challenge. Increasingly, artificial intelligence methods using “deep learning” applied to clinical data have shown promise in complex classification problems. Here, we systematically evaluate the performance of eight deep-learning-based natural language processing models in classifying response to antidepressants in a large real-world healthcare setting. We obtained data spanning 1990-2018 for adults with depression and a co-occurring antidepressant prescription from the EHR data warehouse of the Mass General Brigham healthcare system (n=111,572). Clinical notes were collected for the following time windows after antidepressant initiation: (1) 2 days to 4 weeks, (2) 4–12 weeks, and (3) 12–26 weeks. A stratified random sample of these note sets (total 4,299 across time periods) were manually reviewed to classify response status as “improved” or “no evidence of improvement” in depression symptoms. All models performed well, with areas under the receiver operator curve (AUROC) of at least 0.80. Positive predictive values (PPVs) ranged from 0.72 – 0.91. In general, models incorporating more information-dense and longer text sequences performed better than others. The best performing model (Longformer-large with sliding window) had an AUROC = 0.88 and PPV = 0.84 at a specificity of 0.88. Our results indicate that deep learning methods applied to EHR data can accurately classify antidepressant response in a real-world healthcare setting. Automated treatment response classification may facilitate a range of research and clinical decision support applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Deep learning for multimodal depression detection: A review.Neural networks : the official journal of the International Neural Network Society · 2026
- Depression diagnosis from patient interviews using multimodal machine learningFrontiers in Psychiatry · 2025
- Scalable and accurate deep learning with electronic health recordsnpj Digital Medicine · 2018
- A narrative review of the accuracy and clinical readiness of artificial intelligence methods for detecting depressionDiscover Mental Health · 2026
- A systematic review of multimodal depression detection: from technological pipelines to the clinical depression management cyclePeerJ Computer Science · 2026
- Predicting Depression Risk in Early Intervention in Psychosis Services: A Machine Learning Study Utilising Electronic Health Records and Natural Language ProcessingPsychotherapy and Psychosomatics · 2026