FIR-LSTM: An Explainable Deep Learning Framework for Predicting Iatrogenic Withdrawal Syndrome in Pediatric Intensive Care Units

Liqing Zhang, Haoqiu Song, Anita Patel, Murray M. Pollack, Layne T. WatsonResearch Square 2025

Abstract

Iatrogenic withdrawal syndrome (IWS) is a significant yet underrecognized public health concern for pediatric patients in critical care units, most frequently the result of abrupt cessation or rapid tapering of sedative or opioid medications. Early prediction of IWS is important for timely intervention and improved patient outcomes. In this study, we developed an explainable deep learning model utilizing a unidirectional multilayer long short-term memory (LSTM) network to predict the risk of IWS in pediatric ICU patients. Through longitudinal electronic health records (EHRs), our model analyzes the preceding 24 hours of patient data to predict the likelihood of IWS occurring in the next four hours, providing a real-time risk score. To enhance interpretability and identify key risk factors, we applied layer-wise relevance propagation (LRP) to the LSTM model. The feature importance rankings derived from LRP were validated through multiple experiments. Experimental results show that the model was perfectly calibrated and achieved robust predictive performance, suggesting that the LRP enhanced LSTM model holds significant potential for improving pediatric patient care by facilitating early detection and proactive management of IWS in critical care settings.

Introduction

Children in pediatric intensive care units (PICUs) often require sedatives and opioids to manage pain and anxiety during mechanical ventilation. However, the abrupt cessation or rapid tapering of these medications can lead to Iatrogenic Withdrawal Syndrome (IWS), a condition characterized by autonomic instability and neurological distress that can prolong hospital stays and delay recovery.

Current clinical practice relies on subjective, observational tools like the Withdrawal Assessment Tool-1 (WAT-1). These tools are reactive, often identifying IWS only after symptoms have become severe. While deep learning offers the potential for proactive prediction using continuous Electronic Health Record (EHR) data, the "black box" nature of these models often hinders clinical adoption. This paper introduces FIR-LSTM (Feature Importance Ranking Long Short-Term Memory), a framework designed to provide both high predictive accuracy and clinical transparency.

Methodology

The FIR-LSTM framework utilizes a unidirectional, multilayer LSTM network to process temporal patient data.

Data Pipeline and Temporal Structuring

The study utilized data from 2,100 patients at Children’s National Hospital (2012–2023) for development, with an additional 400 patients (2023–2025) for prospective validation. The model processes 66 features, including vital signs, medication dosages, and ventilation history.

As illustrated in the data pipeline, the model employs a specific temporal windowing strategy: it analyzes a 24-hour "lookback" period, divided into six 4-hour epochs, to predict the probability of IWS in the following 4-hour window.

Data processing pipeline and temporal windowing strategy for IWS prediction.

Explainability and Calibration

To address the need for clinical interpretability, the authors integrated Layer-wise Relevance Propagation (LRP). Unlike standard attention mechanisms, LRP works backward through the LSTM's internal gates to assign relevance scores to specific input features at specific time steps. This allows clinicians to see exactly which physiological changes or medication adjustments triggered a high-risk alert.

FIR-LSTM architecture and Layer-wise Relevance Propagation (LRP) mechanism.

Furthermore, the model incorporates Platt scaling to ensure that the output scores are well-calibrated, representing true clinical probabilities rather than arbitrary rankings. This reliability is crucial for threshold-based clinical interventions.

Key Insights and Results

The FIR-LSTM model demonstrated robust performance and provided insights that align with established clinical knowledge:

  • Predictive Performance: The model achieved an AUROC of 0.83 and an AUPRC of 0.54 on the test set, outperforming standard LSTM and CNN architectures. Crucially, it maintained a high Negative Predictive Value (0.94) at a sensitivity of 0.80, making it an effective tool for ruling out low-risk patients.
  • Feature Importance: LRP analysis identified maximum and average temperatures, along with heart rate fluctuations, as primary drivers of IWS predictions. This validates the model's logic, as these are classic signs of autonomic instability in withdrawal.
  • Temporal Relevance: The model placed higher importance on the most recent 4-hour epochs, suggesting that immediate physiological shifts are more predictive of imminent IWS than long-term historical trends.
  • Generalizability: The model's performance remained stable (AUROC ~0.77) when applied to the independent prospective cohort, indicating its robustness against changes in hospital practices over time.

Conclusion

FIR-LSTM represents a significant step toward integrating explainable AI into pediatric critical care. By providing calibrated risk scores alongside feature-level explanations, the framework bridges the gap between complex neural networks and bedside clinical decision-making. Future work will focus on incorporating unstructured clinical notes via Natural Language Processing (NLP) and deploying the system for real-time bedside alerts to improve patient outcomes and medication management in the PICU.

Summary updated

BibTeX
@inproceedings{zhang2025fir,
  author = {Liqing Zhang and Haoqiu Song and Anita Patel and Murray M. Pollack and Layne T. Watson},
  title = {{FIR-LSTM: An Explainable Deep Learning Framework for Predicting Iatrogenic Withdrawal Syndrome in Pediatric Intensive Care Units}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-6787167/v1},
}
Figure