Development and clinical validation of a machine learning model for predicting surgical site infection after spine surgery based on the MIMIC-IV database

Objective To develop and validate a machine learning model for predicting surgical site infection (SSI) after spine surgery using the MIMIC-IV database. Methods Patients who underwent spine surgery in MIMIC-IV were randomly divided in a 7:3 ratio into training and internal validation sets, and an independent institutional cohort was used for external validation. Predictors were selected using least absolute shrinkage and selection operator regression and multivariable logistic regression analyses. Logistic regression (LR), support vector machine (SVM), extreme gradient boosting (XGBoost), and deep neural network (DNN) models were developed. The performance was assessed using the ROC-AUC, PR-AUC, classification metrics, and calibration. Shapley additive explanations were used to interpret the final models. Results Among 7,326 patients in the MIMIC-IV database, 151 developed SSI, whereas 27 of 294 patients in the external validation cohort developed SSI. Six predictors were retained: surgery on admission day, spinal fusion, disc surgery, preoperative antibiotic exposure, HB level, and PLT. XGBoost achieved ROC-AUCs of 0.818 and 0.791 and PR-AUCs of 0.153 and 0.291, respectively, in the internal and external validation sets. Its external PR-AUC exceeded the no-skill level of 0.092. The calibration was generally reasonable, although some deviations were observed in the external cohort. Spinal fusion had the greatest contribution to the model prediction. Conclusion Considering its overall validation profile, XGBoost was selected as the final model and showed favorable performance in an independent external cohort. The model may support the early identification and perioperative risk stratification of patients at an increased risk of SSI. Further validation in larger, multicenter, prospective cohorts is required before clinical application of this model.

Authors

Institutions

Publication Details

Journal
Frontiers in Surgery
Published
2026-12-01
DOI
https://doi.org/10.3389/fsurg.2026.1961057
Primary Topic
Surgical site infection prevention
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Development and clinical validation of a machine learning model for predicting surgical site infection after spine surgery based on the MIMIC-IV database

Yuke Zhang, Wang Shaochun, Zhenchao Lv, Chenglong Lu et al.
Frontiers in Surgery
Surgical site infection prevention
article

Development and clinical validation of a machine learning model for predicting surgical site infection after spine surgery based on the MIMIC-IV database

Yuke Zhang, Wang Shaochun, Zhenchao Lv, Chenglong Lu, Zhenyu Wang, Zesheng Cui, Zhenya Wang, Ziliang Song
article en

Abstract

Objective To develop and validate a machine learning model for predicting surgical site infection (SSI) after spine surgery using the MIMIC-IV database. Methods Patients who underwent spine surgery in MIMIC-IV were randomly divided in a 7:3 ratio into training and internal validation sets, and an independent institutional cohort was used for external validation. Predictors were selected using least absolute shrinkage and selection operator regression and multivariable logistic regression analyses. Logistic regression (LR), support vector machine (SVM), extreme gradient boosting (XGBoost), and deep neural network (DNN) models were developed. The performance was assessed using the ROC-AUC, PR-AUC, classification metrics, and calibration. Shapley additive explanations were used to interpret the final models. Results Among 7,326 patients in the MIMIC-IV database, 151 developed SSI, whereas 27 of 294 patients in the external validation cohort developed SSI. Six predictors were retained: surgery on admission day, spinal fusion, disc surgery, preoperative antibiotic exposure, HB level, and PLT. XGBoost achieved ROC-AUCs of 0.818 and 0.791 and PR-AUCs of 0.153 and 0.291, respectively, in the internal and external validation sets. Its external PR-AUC exceeded the no-skill level of 0.092. The calibration was generally reasonable, although some deviations were observed in the external cohort. Spinal fusion had the greatest contribution to the model prediction. Conclusion Considering its overall validation profile, XGBoost was selected as the final model and showed favorable performance in an independent external cohort. The model may support the early identification and perioperative risk stratification of patients at an increased risk of SSI. Further validation in larger, multicenter, prospective cohorts is required before clinical application of this model.

Frontiers in SurgeryVol. 13
Luoyang Orthopedic-Traumatological Hospital of Henan Province (CN)
Surgical site infection prevention
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