[Paper Review] Doctor AI: Predicting Clinical Events via Recurrent Neural Networks
Doctor AI is a recurrent neural network (RNN)-based model that learns temporal representations from longitudinal electronic health record (EHR) data to predict future diagnoses and medication orders across multiple patient visits. It achieves 79.58% recall@30 in differential diagnosis prediction and demonstrates strong transferability across healthcare institutions without significant accuracy loss.
Leveraging large historical data in electronic health record (EHR), we developed Doctor AI, a generic predictive model that covers observed medical conditions and medication uses. Doctor AI is a temporal model using recurrent neural networks (RNN) and was developed and applied to longitudinal time stamped EHR data from 260K patients over 8 years. Encounter records (e.g. diagnosis codes, medication codes or procedure codes) were input to RNN to predict (all) the diagnosis and medication categories for a subsequent visit. Doctor AI assesses the history of patients to make multilabel predictions (one label for each diagnosis or medication category). Based on separate blind test set evaluation, Doctor AI can perform differential diagnosis with up to 79% recall@30, significantly higher than several baselines. Moreover, we demonstrate great generalizability of Doctor AI by adapting the resulting models from one institution to another without losing substantial accuracy.
Motivation & Objective
- To develop a generic, scalable predictive model for clinical events using longitudinal EHR data.
- To address the challenge of predicting multilabel diagnoses and medication orders across heterogeneous, unscheduled clinical scenarios.
- To improve prediction performance in low-data settings by leveraging transfer learning from larger institutions.
- To evaluate the model’s ability to generalize across different healthcare systems and patient populations.
- To assess the clinical relevance and interpretability of model predictions through expert validation.
Proposed method
- The model uses a two-layer long short-term memory (LSTM) network to encode sequential EHR visits, with each visit represented by ICD-9 diagnosis and medication codes.
- It performs multilabel prediction by outputting a probability distribution over all possible diagnosis and medication categories for the next visit.
- The RNN is initialized using Skip-gram embeddings trained on EHR visit sequences to improve convergence speed and prediction accuracy.
- Knowledge transfer is enabled by pre-training the model on a large dataset from Sutter Health and fine-tuning it on smaller datasets from other institutions, such as MIMIC-II.
- Time-stamped visit sequences are processed without time discretization, preserving temporal resolution and enabling prediction of visit timing.
- The model is trained end-to-end using cross-entropy loss for multilabel classification and mean squared error for visit time prediction.
Experimental results
Research questions
- RQ1Can an RNN-based model effectively learn patient trajectories from longitudinal EHR data to predict future diagnoses and medication orders?
- RQ2How does model performance vary with patient visit frequency and the rarity of medical codes?
- RQ3To what extent can a model pre-trained on one health system be adapted to another with minimal performance degradation?
- RQ4Does pre-training with Skip-gram embeddings improve RNN training speed and prediction accuracy?
- RQ5Can the model’s predictions be clinically meaningful and comparable to human physician reasoning?
Key findings
- Doctor AI achieved 79.58% recall@30 in multilabel diagnosis prediction, significantly outperforming multiple baseline models.
- Performance improved with longer patient history, with recall@30 increasing as visit count increased, indicating better modeling of chronic or complex conditions.
- The model demonstrated strong generalization: transfer learning from Sutter Health to MIMIC-II improved performance by over 10% on smaller datasets.
- Patients with frequent visits (e.g., high comorbidity burden) were easier to predict, while rare conditions like Klinefelter’s syndrome led to more diverse, frequently observed predictions.
- Pre-training with Skip-gram embeddings improved both training speed and final model accuracy, especially in low-data regimes.
- A medical expert confirmed that Doctor AI’s predictions were clinically meaningful and mimicked average physician diagnostic behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.