ORIGINAL RESEARCH article
Front. Cell. Infect. Microbiol.
Sec. Clinical Infectious Diseases
Volume 15 - 2025 | doi: 10.3389/fcimb.2025.1636886
Personalized Machine Learning–Based Prognostic Model for ICU-Acquired Bloodstream Infections
Provisionally accepted- 1Second Affiliated Hospital of Anhui Medical University, Hefei, China
- 2Second Hospital of Anhui Medical University, Hefei, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Background: Intensive care unit–acquired bloodstream infections (ICU-BSIs) are among the most prevalent healthcare-associated infections and a major cause of mortality among ICU patients. We developed a machine learning (ML)–based model to predict the prognosis of ICU-BSIs. Methods: Adult patients with blood cultures drawn ≥48 hours after ICU admission were included: the Second Affiliated Hospital of Anhui Medical University (AMU, China) and the Medical Information Mart for Intensive Care IV (MIMIC-IV, USA). The AMU dataset was used for model training and internal validation, and the MIMIC-IV dataset served as the external validation set. The model incorporated routinely collected, easily obtainable clinical variables, including several representing the average rate of change in laboratory indicators. After comparing multiple algorithms, eXtreme Gradient Boosting (XGBoost) was selected and optimized using cross-validation and grid search. Results: A total of 1,903 patients from AMU and 3,496 from MIMIC-IV were included. In both cohorts, antibiotic duration, platelet count, serum creatinine, duration of invasive mechanical ventilation, and Charlson Comorbidity Index (CCI) were significantly associated with 28-day mortality (P < 0.001). The XGBoost model using 33 variables showed strong discrimination, with an AUROC of 0.92 (95% CI 0.90–0.94) for training and 0.85 (95% CI 0.80–0.90) for internal validation. Shapley Additive Explanations (SHAP) identified the 10 most important variables; a simplified model using these maintained good accuracy, with AUROC values of 0.81 (95% CI 0.76–0.85) and 0.71 (95% CI 0.70–0.73) for the internal and external validation sets, respectively. In pathogen subgroups, the internal AUROC was 0.91 (95% CI 0.87–0.94) and 0.90 (95% CI 0.86–0.93) for Gram-positive (Gram+) and Gram-negative (Gram−) infections, with external validation AUROCs of 0.72 (95% CI 0.66–0.77) and 0.72 (95% CI 0.62–0.82) , respectively. Conclusions: We developed and externally validated a personalized ML-based prognostic model for ICU-BSIs using multicenter time-series data. This model may facilitate early identification of high-risk patients, enabling timely intervention and optimized ICU resource allocation.
Keywords: Bloodstream infection, Intensive Care Unit, Prognostic model, machine learning, Cross-validation, XGBoost, Shap
Received: 28 May 2025; Accepted: 17 Oct 2025.
Copyright: © 2025 Zhou, Cai, Yang, Wu, Xia, Yu, Liu and Zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Wanjun Liu, 759015378@qq.com
Zhenhua Zhang, zzh1974cn@163.com
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.