TL;DR
This paper reveals a critical flaw in how we evaluate clinical machine learning models: current benchmarks ignore the temporal evolution of healthcare data, leading to overestimates of performance. The authors demonstrate that state-of-the-art models significantly degrade when deployed over time, especially after system changes. They propose a simple yet effective solution: aggregating raw features into expert-defined clinical concepts, which dramatically improves robustness to these real-world shifts.
What Problem Does This Paper Address?
Deploying machine learning models in healthcare is a major goal, but their performance can degrade over time due to changes in clinical practices, data recording systems, and patient populations. This phenomenon, known as "concept drift" or "non-stationarity," is a significant hurdle for real-world deployment. However, most research on electronic health records (EHRs), particularly using public datasets like MIMIC-III, de-identifies data in a way that obscures the temporal aspect. This means models are trained and tested without regard for when the data was collected, leading to an unrealistic assessment of their robustness. Essentially, current benchmarks don't tell us how well a model will actually perform when used in a clinic over months or years.
Methods
The core of this work involves a rigorous evaluation of model robustness under temporal shifts. The authors:
- Obtained Temporal Data: Crucially, they secured a Limited Data Use Agreement to access the actual year of data collection for MIMIC-III records, enabling time-aware analysis.
- Evaluated Multiple Representations: They tested four ways of representing the raw EHR data:
- Raw: Using the original 181 lab and vital measurements directly.
- PCA: Reducing dimensionality of raw features using Principal Component Analysis.
- CUI Code Spanning: Grouping features based on Concept Unique Identifiers (CUIs) from UMLS, an automated approach.
- Clinical Aggregations: Manually grouping raw features into expert-defined clinical concepts (e.g., different ways of measuring "Heart Rate" are mapped to a single concept).
- Tested Various Models: They assessed four common models: Logistic Regression (LR), Random Forests (RF), Long Short-Term Memory (LSTM) networks, and Gated Recurrent Unit with Decay (GRU-D).
- Employed Temporal Training Regimes: Beyond standard "year-agnostic" training (shuffling all data), they introduced three time-aware regimes:
- 2001-2002: Training on early data, testing on all future years.
- Prior Year: Training on data from the year immediately preceding the test year.
- Full History: Training on all available data up to the year before the test year.
Datasets
The primary dataset used is the MIMIC-III critical care database. The authors obtained a Limited Data Use Agreement to access the underlying calendar year of care for each record, which is not typically available in publicly released versions of MIMIC-III. This temporal information is key to their analysis and allows for the creation of time-aware benchmarks.
Key Insights and Ideas
- Date-agnostic evaluation is misleading: The standard practice of shuffling data without considering the year of collection creates an overly optimistic view of model performance.
- System changes are major disruptors: A significant system-wide record-keeping change at BIDMC in 2008 caused a dramatic drop in model performance across the board, highlighting the impact of infrastructure evolution.
- Raw features are brittle: Models relying on raw, granular EHR features are particularly vulnerable to these temporal shifts and system changes.
- Expert knowledge is powerful: Aggregating raw features into clinically meaningful concepts, guided by expert knowledge, is a surprisingly effective strategy for building robust models. This approach smooths out the performance decay significantly.
- Model complexity doesn't guarantee robustness: Even high-capacity models like LSTMs and GRU-Ds struggled with raw features when faced with temporal shifts, suggesting that representation is a more critical factor than model architecture alone for robustness.
- Performance saturates quickly: For common tasks like mortality and length-of-stay prediction, model performance seems to plateau relatively early in the training data's timeline. This suggests the field might benefit from focusing on more challenging tasks or incorporating richer signals.
Key Results
- Significant performance decay: When trained on historical data and tested on future data, state-of-the-art models showed substantial drops in AUROC. For example, a Random Forest model for mortality prediction experienced a 0.29 drop in AUROC, and for length-of-stay, a 0.10 drop.
- Clinical Aggregations mitigate decay: The proposed "Clinical Aggregations" representation reduced the AUROC drop to just 0.06 for mortality and 0.03 for length-of-stay.
- Outperforming other methods: This aggregation strategy was shown to be more effective than other automatic feature preprocessing techniques (like PCA and CUI Code Spanning) in improving robustness to data drift.
- Date-agnostic overestimation: For RF models, year-agnostic AUROC was 0.82, compared to a true year-averaged AUROC of 0.76 under the raw representation (a 0.054 overestimate). With Clinical Aggregations, the overestimate was only 0.017.
Limitations and Future Work
The authors acknowledge several limitations:
- Limited Data Use Agreement: Their ability to access temporal data was due to a specific LDUA, which may not be accessible to all researchers.
- Manual Definition of Aggregations: The "Clinical Aggregations" required manual expert input specific to MIMIC-III. Transferring this to other EHR systems would necessitate new taxonomies and expert involvement.
- Limited Task Scope: They focused on two common tasks (mortality and length-of-stay). More research is needed for tasks that might not exhibit such rapid performance saturation.
Future work could focus on:
- Automated Concept Definition: Developing methods to automatically generate robust feature aggregations that can adapt to different EHR systems.
- Broader Task Evaluation: Investigating robustness across a wider range of clinical prediction tasks.
- Understanding Subgroup Performance: Analyzing how data drift affects different patient subgroups (e.g., by gender, ethnicity, insurance type), as explored in Appendix F.
Summary updated