Related Experiment Video
Updated: Jan 14, 2026

A Data-Driven Approach to Quantifying Immune States in Sepsis
Published on: February 7, 2025
Explainable AI for infection prevention and control: modeling CPE acquisition and patient outcomes in an Irish
Minh-Khoi Pham1,2, Tai Tan Mai3,4, Martin Crane3,4
1School of Computing, Dublin City University, Dublin, Ireland. minhkhoi.pham@adaptcentre.ie.
Background:
Carbapenemase-Producing Enterobacteriace (CPE) poses a critical concern for infection prevention and control in hospitals. However, predictive modeling of previously highlighted CPE-associated risks such as readmission, mortality, and extended length of stay (LOS) remains underexplored, particularly with modern deep learning approaches. This study introduces an eXplainable AI (XAI) modeling framework to investigate CPE impact on patient outcomes from Electronic Medical Records (EMR) data of an Irish hospital.
Methods:
We analyzed an inpatient dataset from an Irish acute hospital (2018-2022), incorporating diagnostic codes, ward transitions, patient demographics, infection-related variables and contact network features. Several Transformer-based architectures (e.g., TabTransformer, TabNet) were benchmarked alongside traditional machine learning models. Clinical outcomes were predicted, and XAI techniques were applied to interpret model decisions.
Results:
Our framework successfully demonstrated the utility of Transformer-based models, with TabTransformer consistently outperforming baselines across multiple clinical prediction tasks, especially for CPE acquisition (Area Under Receiver Operating Characteristic and sensitivity). We found infection-related features, including historical hospital exposure, admission context, and network centrality measures, to be highly influential in predicting patient outcomes and CPE acquisition risk. Explainability analyses revealed that features like "Area of Residence", "Admission Ward" and prior admissions are key risk factors. Network variables like "Ward PageRank" also ranked highly, reflecting the potential value of structural exposure information.
Conclusion:
This study presents a robust and explainable AI framework for analyzing complex EMR data to identify key risk factors and predict CPE-related outcomes. Our findings underscore the superior performance of the Transformer models and highlight the importance of diverse clinical and network features. The transparent interpretability offered by our XAI approach provides actionable insights for infection prevention and control, paving the way for more targeted interventions and ultimately enhancing patient safety within acute healthcare settings.
Related Concept Videos
Healthcare Associated Infections II: Preventive Measures
The best practices for preventing healthcare-associated infections include hand hygiene, patient risk...
Healthcare Associated Infections I: Iatrogenic, Exogenic and Endogenic
HAIs significantly increase the cost of health care. Extended stays in healthcare institutions, increased disability, increased costs of medications, including specialized antibiotics, and prolonged recovery times add to the patient's expenses and the healthcare institution and funding bodies.
Steps in Outbreak Investigation
Transmission-based Precautions II: Airborne and Protective Environment
Airborne precautions:
Use airborne precautions when treating patients known or suspected to have diseases that spread through the air—for example, tuberculosis or measles. These organisms are present in smaller droplets expelled by an infected person and...
Standard Precaution
Hand hygiene is the most crucial means to prevent the transmission of disease. Employers are legally required to provide their workers with personal protective equipment (PPE) to minimize exposure or contact with...
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...
