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
- Yuke Zhang (ORCID: https://orcid.org/0000-0002-2601-5572)
- Wang Shaochun
- Zhenchao Lv
- Chenglong Lu
- Zhenyu Wang
- Zesheng Cui
- Zhenya Wang
- Ziliang Song
Institutions
- Luoyang Orthopedic-Traumatological Hospital of Henan Province (CN)
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