TimeSHAP-LSTM: An Interpretable Temporal Deep Learning Framework for Early Sepsis Prediction Using EHR Data
Early detection of sepsis remains a major clinical challenge due to the complex and dynamic nature of physiological signals recorded in Intensive Care Units (ICUs). This study proposes an interpretable temporal deep learning framework, TimeSHAP-LSTM, designed to predict sepsis onset using Electronic Health Record (EHR) time-series data while providing clinically meaningful explanations. The model combines a Long Short-Term Memory (LSTM) architecture with the TimeSHAP interpretability algorithm to quantify both feature-level and time-dependent contributions to the prediction outcome. Experiments were conducted using the MIMIC-IV database, comprising more than 60,000 ICU admissions. The proposed model achieved competitive predictive performance (AUROC = 0.87, AUPRC = 0.67), outperforming conventional black-box approaches while maintaining transparency. Temporal interpretability analysis revealed that physiological features such as heart rate, lactate, and respiratory rate significantly contributed to predictions, particularly within 6–12 hours before sepsis onset. A clinician evaluation involving 12 ICU physicians confirmed that TimeSHAP visualizations were clear, relevant, and trustworthy, suggesting strong potential for clinical adoption. These findings demonstrate that interpretable artificial intelligence can achieve state-of-the-art accuracy while offering time-resolved insights that align with medical reasoning. The proposed framework contributes toward building reliable, explainable, and ethically deployable AI systems for critical care environments.
Citation data is supplied by Dimensions. New or unindexed publications may not yet have citation metrics.
- Published 2026-05-01
- Issue Vol. 1 No. 1 (2026): Regular Issue May 2026
- Section Articles
- DOI https://doi.org/10.63913/xaih.v1i1.3
- Keywords Interpretable machine learning, TimeSHAP, LSTM, , electronic health records, temporal modeling, early sepsis detection, critical care AI
This work is licensed under a Creative Commons Attribution 4.0 International License.
