An explainable machine learning model for predicting in-hospital mortality in critically ill patients with urinary tract infection: A multicenter cohort study

Urinary tract infections (UTI) are prevalent in intensive care units (ICU) and pose significant mortality risk, yet conventional severity scores (e.g., SOFA) and single biomarkers lack accuracy for personalized management. We aimed to create a machine learning (ML) model with post hoc explainability and cross-pathogen generalizability for predicting in-hospital mortality in UTI patients. We conducted a retrospective analysis of 4,682 ICU patients from three independent cohorts: MIMIC-IV (n = 2,519), eICU-CRD (n = 1,797), and SYSMH (n = 366). Thirty-five clinically obtainable variables within 24 hours of ICU admission trained nine ML models. Multiple established performance metrics, including the area under the receiver operating characteristic curve (AUC), were employed to benchmark predictive performance against conventional clinical scores. The SHapley Additive exPlanations (SHAP) framework quantified feature importance and generated post hoc decision visualizations for the final model. Pathogen-specific subgroup analyses were conducted to assess clinical utility. The resulting LGBM-DART model, incorporating 12 features identified through recursive feature elimination, demonstrated superior predictive performance in internal validation (AUC: 0.849) and external validation (eICU-CRD: 0.822; SYSMH: 0.834). Notably, it maintained robust performance across pathogen subtypes: monomicrobial (AUC: 0.861), polymicrobial (0.880), coccal (0.847), bacillary (0.876), and fungal infections (0.861), significantly outperforming traditional severity scores (all p < 0.0001). The model additionally enabled fungal versus bacterial UTI discrimination (AUC: 0.703). Furthermore, a clinician-friendly web interface was deployed for real-world implementation. In conclusion, this ML model surpasses traditional scores in mortality prediction while providing transparency through SHAP-based explanations. Its cross-pathogen generalizability and fungal-bacterial discriminatory capacity could position it as a potential decision-support tool for ICU management of UTI.

Authors

Institutions

Publication Details

Journal
PLOS Digital Health
Published
2026-12-01
DOI
https://doi.org/10.1371/journal.pdig.0001847
Primary Topic
Sepsis Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An explainable machine learning model for predicting in-hospital mortality in critically ill patients with urinary tract infection: A multicenter cohort study

Kanru Sang, Xi-Kang Tang, Xia Yang, Yougang Mai et al.
PLOS Digital Health
Sepsis Diagnosis and Treatment
article

An explainable machine learning model for predicting in-hospital mortality in critically ill patients with urinary tract infection: A multicenter cohort study

Kanru Sang, Xi-Kang Tang, Xia Yang, Yougang Mai, Jingyi He, Congcong Zhou, Han Chen, Weidong Wang
article en

Abstract

Urinary tract infections (UTI) are prevalent in intensive care units (ICU) and pose significant mortality risk, yet conventional severity scores (e.g., SOFA) and single biomarkers lack accuracy for personalized management. We aimed to create a machine learning (ML) model with post hoc explainability and cross-pathogen generalizability for predicting in-hospital mortality in UTI patients. We conducted a retrospective analysis of 4,682 ICU patients from three independent cohorts: MIMIC-IV (n = 2,519), eICU-CRD (n = 1,797), and SYSMH (n = 366). Thirty-five clinically obtainable variables within 24 hours of ICU admission trained nine ML models. Multiple established performance metrics, including the area under the receiver operating characteristic curve (AUC), were employed to benchmark predictive performance against conventional clinical scores. The SHapley Additive exPlanations (SHAP) framework quantified feature importance and generated post hoc decision visualizations for the final model. Pathogen-specific subgroup analyses were conducted to assess clinical utility. The resulting LGBM-DART model, incorporating 12 features identified through recursive feature elimination, demonstrated superior predictive performance in internal validation (AUC: 0.849) and external validation (eICU-CRD: 0.822; SYSMH: 0.834). Notably, it maintained robust performance across pathogen subtypes: monomicrobial (AUC: 0.861), polymicrobial (0.880), coccal (0.847), bacillary (0.876), and fungal infections (0.861), significantly outperforming traditional severity scores (all p < 0.0001). The model additionally enabled fungal versus bacterial UTI discrimination (AUC: 0.703). Furthermore, a clinician-friendly web interface was deployed for real-world implementation. In conclusion, this ML model surpasses traditional scores in mortality prediction while providing transparency through SHAP-based explanations. Its cross-pathogen generalizability and fungal-bacterial discriminatory capacity could position it as a potential decision-support tool for ICU management of UTI.

PLOS Digital HealthVol. 5(12)
Sun Yat-sen University (CN), New York University (US), The University of Tokyo (JP)
Sepsis Diagnosis and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon