Rxivist logo

Phenotyping Antidepressant Treatment Response with Deep Learning in Electronic Health Records

By Yi-han Sheu, Colin Magdamo, Matthew Miller, Sudeshna Das, Deborah Blacker, Jordan W. Smoller

Posted 04 Aug 2021
medRxiv DOI: 10.1101/2021.08.04.21261512

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.

Download data

  • Downloaded 169 times
  • Download rankings, all-time:
    • Site-wide: 153,817
    • In psychiatry and clinical psychology: 937
  • Year to date:
    • Site-wide: 67,864
  • Since beginning of last month:
    • Site-wide: 21,594

Altmetric data

Downloads over time

Distribution of downloads per paper, site-wide