RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanism
About
Accuracy and interpretability are two dominant features of successful predictive models. Typically, a choice must be made in favor of complex black box models such as recurrent neural networks (RNN) for accuracy versus less accurate but more interpretable traditional models such as logistic regression. This tradeoff poses challenges in medicine where both accuracy and interpretability are important. We addressed this challenge by developing the REverse Time AttentIoN model (RETAIN) for application to Electronic Health Records (EHR) data. RETAIN achieves high accuracy while remaining clinically interpretable and is based on a two-level neural attention model that detects influential past visits and significant clinical variables within those visits (e.g. key diagnoses). RETAIN mimics physician practice by attending the EHR data in a reverse time order so that recent clinical visits are likely to receive higher attention. RETAIN was tested on a large health system EHR dataset with 14 million visits completed by 263K patients over an 8 year period and demonstrated predictive accuracy and computational scalability comparable to state-of-the-art methods such as RNN, and ease of interpretability comparable to traditional models.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Readmission prediction | MIMIC IV | AUC-ROC0.4961 | 70 | |
| Mortality Prediction | MIMIC-IV (test) | AUC59.13 | 55 | |
| Mortality Prediction | MIMIC-III | AUROC54.86 | 46 | |
| Readmission prediction | MIMIC-III (target) | AUPRC54.11 | 35 | |
| Readmission Prediction (RA) | MIMIC-IV (test) | ROC AUC0.6457 | 33 | |
| Length of Stay Prediction (LOS) | MIMIC-IV (test) | ROC AUC72.91 | 26 | |
| Mortality Prediction | MIMIC IV | F1 Score2.78 | 16 | |
| Medication Recommendation | MIMIC-IV 4.0 (test) | Jaccard Similarity44.1 | 14 | |
| Medication Recommendation | MIMIC-III | Jaccard Similarity48.6 | 14 | |
| Medication Recommendation | MIMIC IV | Jaccard Similarity44.1 | 14 |