Affordable and real-time antimicrobial resistance prediction from multimodal electronic health records

Shahad Hardan, Mai A. Shaaban, Jehad Abdalla, Mohammad YaqubScientific 2024

Abstract Antimicrobial resistance (AMR) is a critical global health threat, leading to significant mortality and resource depletion. Traditional laboratory susceptibility tests often take days, forcing clinicians to rely on empirical broad-spectrum antibiotic prescriptions. This study presents a novel multimodal deep learning framework designed for real-time AMR prediction using existing Electronic Health Record (EHR) data. By integrating time-invariant demographics, time-series vitals, and unstructured clinical notes, the proposed model identifies resistance patterns within hours of ICU admission. Utilizing the MIMIC-IV database, we demonstrate that a MultiModal Infomax (MMIM) fusion approach significantly outperforms single-modality methods, providing a foundation for automated, affordable clinical decision support.

Introduction The rise of antimicrobial resistance is often described as a "hidden pandemic," with projections suggesting it could cause 10 million deaths annually by 2050. A primary bottleneck in effective treatment is the delay between infection suspicion and laboratory confirmation of resistance, which typically spans 48 to 72 hours. While rapid molecular diagnostics exist, their high cost and limited availability hinder widespread adoption.

Machine learning offers a promising alternative by leveraging the vast amounts of data already captured in EHR systems. However, previous efforts have often been limited by manual feature engineering or a focus on single data types. This work addresses these gaps by developing an automated pipeline that fuses diverse data modalities to provide real-time, evidence-based predictions of resistance to specific antibiotics and pathogens.

Methodology The core of the proposed system is a multimodal pipeline that processes three distinct types of EHR data: time-invariant data (static demographics), time-series data (dynamic vitals and labs), and clinical notes (unstructured text).

End-to-end clinical workflow for real-time AMR prediction using EHR data.

The workflow begins with data extraction from the EHR up to a specific time point ($n+P$). To handle the inherent noise and missingness of clinical data, the researchers employed the FIDDLE (Flexible Data-Driven Pipeline) for systematic preprocessing and feature transformation.

The technical innovation lies in the fusion architecture. The study evaluated several mechanisms to integrate these modalities, including MAGBERT (attention-gating), Tensor Fusion, and Attention Fusion. The most effective method was MultiModal Infomax (MMIM), which employs a hierarchical strategy to maximize the mutual information between individual modalities and the final prediction task.

Multimodal fusion architecture utilizing FIDDLE preprocessing and MMIM for feature integration.

Data and Results The framework was validated using the MIMIC-IV database, focusing on two primary cohorts: a Gentamicin-specific cohort (the most common antibiotic in the dataset) and a Pseudomonas aeruginosa cohort (a clinically significant pathogen).

Key findings include:

  • Superiority of Multimodality: Models that fused clinical notes with structured data achieved a ~10% improvement in AUROC compared to single-modality baselines. This suggests that unstructured notes capture predictive "clinical intuition" absent from raw lab values.
  • Optimal Prediction Window: Accuracy is highly dependent on the time since admission. The researchers identified a "sweet spot" at approximately 4 hours into an ICU stay, balancing data sufficiency with the need for early intervention.
  • Performance Metrics: The MMIM model achieved an AUROC of 0.7565 for Gentamicin resistance and 0.69 for P. aeruginosa. While AUROC scores were robust, the Area Under the Precision-Recall Curve (AUPR) remained lower (0.1825 for Gentamicin), reflecting the extreme class imbalance typical of AMR data where resistant cases are relatively rare.

Conclusion This study demonstrates the feasibility of using multimodal deep learning to predict antimicrobial resistance in real-time using existing hospital data. By automating the extraction and fusion of diverse EHR signals, the framework provides a cost-effective path toward earlier targeted therapy. Future work will focus on expanding the model to a broader range of antibiotics and pathogens, improving performance on imbalanced datasets, and integrating the system into active clinical decision-support tools at the bedside.

Summary updated

BibTeX
@inproceedings{hardan2024affordable,
  author = {Shahad Hardan and Mai A. Shaaban and Jehad Abdalla and Mohammad Yaqub},
  title = {{Affordable and real-time antimicrobial resistance prediction from multimodal electronic health records}},
  booktitle = {Scientific},
  year = {2024},
  doi = {10.1038/s41598-024-66812-5},
}
Figure