Explainable Artificial Intelligence Techniques for Irregular Temporal Classification of Multidrug Resistance Acquisition in Intensive Care Unit Patients

Óscar Escudero-Arnanz, Cristina Soguero-Ruíz, Joaquín Álvarez-Rodríguez, Antonio G. MarquesarXiv 2024 · DOI

Abstract

Predicting the acquisition of multidrug-resistant (MDR) infections in Intensive Care Units (ICUs) is critical for patient safety and antibiotic stewardship. However, Electronic Health Record (EHR) data often presents as irregular multivariate time series (MTS), posing challenges for standard deep learning models. Furthermore, the "black box" nature of these models hinders clinical adoption. This paper introduces a novel framework utilizing Gated Recurrent Units (GRUs) combined with a suite of explainability (XAI) techniques, most notably IT-SHAP. Our approach handles irregular data through masking and provides temporal explanations for risk scores. Evaluated on a 17-year longitudinal dataset from the University Hospital of Fuenlabrada, the model achieved an ROC AUC of 78.27%, outperforming existing benchmarks while providing clinically validated insights into risk factors such as the "neighbor effect" and early bacterial colonization.

Introduction

Multidrug resistance represents a significant threat in healthcare, particularly within the ICU environment where patient vulnerability and high antibiotic usage create a "silent pandemic." While deep learning offers powerful predictive capabilities for MDR onset, the lack of interpretability remains a major barrier. Clinicians require models that not only predict risk but also explain why a patient is at risk at a specific point in time.

A primary technical challenge is the nature of EHR data, which consists of irregular MTS. Measurements are taken at inconsistent intervals, and data points are frequently missing. Existing models often struggle with this irregularity or fail to provide the temporal granularity needed for clinical decision support.

Methodology

The proposed framework balances predictive performance with three distinct layers of interpretability to address the complexities of ICU data.

Model Architecture

The core predictive engine is a Gated Recurrent Unit (GRU) network. GRUs are well-suited for sequential data, effectively capturing long-term dependencies without the vanishing gradient issues common in simpler recurrent models. To handle the inherent irregularity of EHR data, a masking mechanism was implemented, ensuring the model only processes available data points and accommodates varying lengths of stay.

Explainability Suite

The framework incorporates three XAI techniques:

  1. Pre-hoc (Conditional Mutual Information - CMI): Used for feature selection prior to training to identify the most relevant clinical variables.
  2. Intrinsic (Hadamard Attention): A variable-level attention mechanism that enables the model to focus on specific features at specific time steps.
  3. Post-hoc (IT-SHAP): The primary technical innovation of this work. IT-SHAP adapts the Shapley Additive Explanations framework to irregular time series, providing explanations for every intermediate prediction along a patient's trajectory.
Overview of the proposed framework for MDR prediction and explainability.

Experimental Setup

The study utilized a massive longitudinal dataset from the University Hospital of Fuenlabrada (UHF) in Spain, spanning 17 years (2004–2020). The dataset included 3,502 ICU patients (548 MDR cases) and a diverse set of features: culture results, antibiotic treatments, patient care metrics (e.g., mechanical ventilation), and environmental variables such as the infection status of neighboring patients.

Results

The GRU model with Hadamard attention achieved an average ROC AUC of 78.27%, a significant improvement over previous benchmarks (66-70%). The model also maintained a high specificity of 77.95%, which is vital for minimizing "alarm fatigue" in clinical settings.

XAI analysis provided several key clinical insights:

  • The "Neighbor" Effect: The status of co-patients (antibiotic use and infection status) was a significant predictor, highlighting the role of hospital-environment transmission.
  • Early Warning Signs: The presence of non-resistant strains of bacteria like Staphylococcus or Pseudomonas upon admission strongly predicted future MDR acquisition.
  • Performance-Interpretability Synergy: The inclusion of the attention mechanism actually improved model performance, suggesting that focusing on clinically relevant features aids generalization.

Discussion and Conclusion

This research demonstrates that deep learning models can be both high-performing and interpretable in the context of irregular clinical time series. The IT-SHAP method provides the temporal granularity necessary for real-time clinical monitoring.

However, limitations remain. The CMI method showed sensitivity to noise, and the study's single-center nature necessitates further validation on multi-center datasets like MIMIC-IV. Future work will focus on integrating this framework into real-time clinical decision support systems to evaluate its impact on patient outcomes in live ICU environments.

Summary updated

BibTeX
@misc{escuderoarnanz2024explainable,
  author = {Óscar Escudero-Arnanz and Cristina Soguero-Ruíz and Joaquín Álvarez-Rodríguez and Antonio G. Marques},
  title = {{Explainable Artificial Intelligence Techniques for Irregular Temporal Classification of Multidrug Resistance Acquisition in Intensive Care Unit Patients}},
  year = {2024},
  eprint = {2407.17165},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.17165},
}
Figure