Abstract
Myocardial infarction (MI) remains one of the greatest contributors to mortality, and patients admitted to the intensive care unit (ICU) with myocardial infarction are at higher risk of death. In this study, we use two retrospective cohorts extracted from two US-based ICU databases, eICU and MIMIC-IV, to develop an explainable pseudo-dynamic machine learning framework for mortality prediction in the ICU. The method provides accurate prediction for ICU patients up to 24 hours before the event and provides time-resolved interpretability. We compare standard supervised machine learning algorithms with novel tabular deep learning approaches and find that an integrated XGBoost model in our EHR time-series extraction framework (XMI-ICU) performs best. The framework was evaluated on a held-out test set from eICU and externally validated on the MIMIC-IV cohort using the most important features identified by time-resolved Shapley values. XMI-ICU achieved AUROCs of 92.0 (balanced accuracy of 82.3) for a 6-hour prediction of mortality. We demonstrate that XMI-ICU maintains reliable predictive performance across different prediction horizons (6, 12, 18, and 24 hours) during ICU stay while also achieving successful external validation in a separate patient cohort from MIMIC-IV without any previous training on that dataset. We also evaluated the framework for clinical risk analysis by comparing it to the standard APACHE IV system in active use. We show that our framework successfully leverages time-series physiological measurements from ICU health records by translating them into stacked static prediction problems for mortality in heart attack patients and can offer clinical insight from time-resolved interpretability through the use of Shapley values.
Introduction
Acute Myocardial Infarction (AMI) is a leading cause of death globally, and patients admitted to the ICU for AMI are at particularly high risk. Existing mortality prediction tools often struggle to adapt to the dynamic nature of a patient's condition. Traditional clinical scores, such as APACHE IV, are typically static, relying on data from the first 24 hours of admission. While deep learning models can handle dynamic data, they often lack the transparency and robustness required for clinical decision-making. This paper introduces XMI-ICU, a framework that bridges this gap by transforming complex time-series data into "pseudo-dynamic" summary statistics for use with highly interpretable gradient-boosting models.
Methodology
The core of the XMI-ICU framework is the pseudo-dynamic data approach. Instead of raw time-series data, the researchers extracted summary statistics (mean and standard deviation) of physiological variables across various prediction horizons (6, 12, 18, and 24 hours before a potential event). This effectively turns a continuous time-series problem into a series of "stacked" static snapshots. An integrated XGBoost model was found to perform best on this tabular data. To ensure clinical utility, the framework employs time-resolved Shapley values (SHAP), allowing clinicians to observe how the importance of different biomarkers shifts as a patient's condition evolves.
Results and Discussion
Model Comparison
A significant finding of the study is that tree-based models like XGBoost can outperform specialized tabular deep learning architectures such as TabNet and NODE in the context of EHR data. XMI-ICU consistently demonstrated superior AUROC and Average Precision across all tested models.
Comparison with Clinical Benchmarks
XMI-ICU significantly outperformed the standard APACHE IV clinical risk score. At the 24-hour mark, the framework achieved an 18.3% higher AUROC than the APACHE system. Furthermore, the model maintained high predictive performance across all tested horizons (6, 12, 18, and 24 hours), demonstrating its reliability as a continuous monitoring tool.
External Validation and Interpretability
The model's robustness was confirmed through external validation on the MIMIC-IV dataset, where it achieved an AUROC of ~75.1–80.0 using only the top 8 features identified in the eICU training set. Time-resolved SHAP analysis highlighted that as a patient nears a high-risk state, acute measurements like lactate, albumin, and systolic blood pressure become significantly more predictive than baseline demographics.
Conclusion
XMI-ICU provides a high-performance, interpretable alternative to traditional clinical scores and complex deep learning models for ICU mortality prediction. By leveraging summary statistics of time-series data, the framework offers reliable predictions and clinical insights that can aid in early intervention for heart attack patients. Future research will focus on incorporating more sophisticated temporal features and exploring Transformer-based architectures.
Summary updated