Early prediction of bloodstream infections in ICU patients using machine learning methods based on routine laboratory parameters

Bloodstream infections (BSIs) are a major cause of morbidity and mortality in Intensive Care Units (ICUs). Although blood cultures remain the diagnostic gold standard, their long turnaround time may hinder early risk warning. Early risk stratification using routinely available laboratory data may facilitate prompt clinical intervention. This study aimed to develop and validate machine learning (ML) models to predict the likelihood of BSIs in ICU patients based on laboratory tests obtained within the first 24 h of admission. This was a retrospective, two-center cohort study using data from the Sixth Affiliated Hospital of Sun Yat-sen University (SAH-SYSU) and the Medical Information Mart for Intensive Care IV (MIMIC, v3.0) database. Adult ICU patients (≥ 18 years) with available first-day laboratory results and blood culture data were included. Multiple ML algorithms, including random forest, XGBoost, GBM, LightGBM, and SVM, were trained and validated using tenfold cross-validation. Model performance was assessed via area under the receiver operating characteristic curve (AUROC), calibration curves, Brier score, and decision curve analysis (DCA). Feature selection was conducted using the Boruta algorithm to develop simplified models. External validation was performed across cohorts using shared features. A total of 754 patients from SAH-SYSU (BSI prevalence: 27.7%) and 3,136 patients from MIMIC (BSI prevalence: 14.0%) were included. Tree-based models outperformed linear classifiers. In internal validation, XGBoost achieved the best performance (AUROC = 0.87 in MIMIC, 0.83 in SYSU). Simplified models using Boruta-selected features retained similar predictive performance (p > 0.05). Cross-cohort validation yielded AUROCs of 0.61 (MIMIC → SYSU) and 0.64 (SYSU → MIMIC). A compact four-feature model demonstrated moderate performance (AUROC up to 0.65), supporting feasibility in resource-limited settings. ML-based models using only routine laboratory tests from the first ICU day can effectively identify patients at increased risk of BSIs. These models offer a rapid, interpretable, and generalizable tool for early clinical decision-making. Future studies should prospectively validate the model and explore its integration into electronic health records to support real-time risk stratification.

Authors

Institutions

Publication Details

Journal
BMC Infectious Diseases
Published
2025-09-29
DOI
https://doi.org/10.1186/s12879-025-11580-4
Citations
1
Primary Topic
Sepsis Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
1.35

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Early prediction of bloodstream infections in ICU patients using machine learning methods based on routine laboratory parameters

Xueyan Ye, Caihong Zeng, Sam Fong Yau Li, Xinguang Yu et al.
1 citations
BMC Infectious Diseases
Sepsis Diagnosis and Treatment
1.35
article

Early prediction of bloodstream infections in ICU patients using machine learning methods based on routine laboratory parameters

Xueyan Ye, Caihong Zeng, Sam Fong Yau Li, Xinguang Yu, Jian-Mei Lin, Z. Chen, XU Dong-yun, Feixiong Chen, Rui Li, Siyu Xiao, Cai Shaoxi, Jie Yang, Yanying Chen
article en
1 citations

Abstract

Bloodstream infections (BSIs) are a major cause of morbidity and mortality in Intensive Care Units (ICUs). Although blood cultures remain the diagnostic gold standard, their long turnaround time may hinder early risk warning. Early risk stratification using routinely available laboratory data may facilitate prompt clinical intervention. This study aimed to develop and validate machine learning (ML) models to predict the likelihood of BSIs in ICU patients based on laboratory tests obtained within the first 24 h of admission. This was a retrospective, two-center cohort study using data from the Sixth Affiliated Hospital of Sun Yat-sen University (SAH-SYSU) and the Medical Information Mart for Intensive Care IV (MIMIC, v3.0) database. Adult ICU patients (≥ 18 years) with available first-day laboratory results and blood culture data were included. Multiple ML algorithms, including random forest, XGBoost, GBM, LightGBM, and SVM, were trained and validated using tenfold cross-validation. Model performance was assessed via area under the receiver operating characteristic curve (AUROC), calibration curves, Brier score, and decision curve analysis (DCA). Feature selection was conducted using the Boruta algorithm to develop simplified models. External validation was performed across cohorts using shared features. A total of 754 patients from SAH-SYSU (BSI prevalence: 27.7%) and 3,136 patients from MIMIC (BSI prevalence: 14.0%) were included. Tree-based models outperformed linear classifiers. In internal validation, XGBoost achieved the best performance (AUROC = 0.87 in MIMIC, 0.83 in SYSU). Simplified models using Boruta-selected features retained similar predictive performance (p > 0.05). Cross-cohort validation yielded AUROCs of 0.61 (MIMIC → SYSU) and 0.64 (SYSU → MIMIC). A compact four-feature model demonstrated moderate performance (AUROC up to 0.65), supporting feasibility in resource-limited settings. ML-based models using only routine laboratory tests from the first ICU day can effectively identify patients at increased risk of BSIs. These models offer a rapid, interpretable, and generalizable tool for early clinical decision-making. Future studies should prospectively validate the model and explore its integration into electronic health records to support real-time risk stratification.

BMC Infectious DiseasesVol. 25(1)
Sun Yat-sen University (CN), Sixth Affiliated Hospital of Sun Yat-sen University (CN), Guangdong Academy of Medical Sciences (CN), Guangdong Provincial People's Hospital (CN), Southern Medical University (CN)
Sun Yat-sen University
Openalex Percentile: Top 15%
Sepsis Diagnosis and Treatment
1.35
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.