Multicenter development and external validation of machine learning models for early postoperative prediction of anastomotic leakage after low rectal cancer surgery: integrating clinical factors and biomarkers
Background To develop and externally validate a machine learning model for early postoperative detection of anastomotic leakage (AL) after low anterior resection for rectal cancer, emphasising the incremental value of perioperative biomarkers including procalcitonin (PCT), neutrophil-to-lymphocyte ratio (NLR), and serum albumin. The prediction is made on postoperative day 3 (POD3), after the return of POD3 laboratory results and before the clinical diagnosis of AL; the model is therefore intended for early postoperative risk stratification rather than preoperative decision-making. Methods In this multicentre retrospective study, 1,673 patients from six tertiary hospitals were enrolled (internal cohort, 880; independent external validation cohort, 793). Candidate predictors were screened, and models were developed using multivariable logistic regression and five machine learning algorithms [XGBoost, random forest, support vector machine (SVM), multilayer perceptron, and k-nearest neighbours]. Performance was assessed by discrimination, calibration, and clinical utility, and predictor contributions were interpreted using SHapley Additive exPlanations (SHAP). Results Nine core predictors were identified, including three serological biomarkers: albumin < 30 g/L, POD3 PCT ≥ 0.05 ng/mL, and POD3 NLR ≥ 3. The SVM model performed best, with an AUC of 0.935 in external validation; calibration and decision curve analyses supported its robustness and potential clinical utility. SHAP identified BMI, NLR, and operative time as the three most influential predictors, with PCT, NLR, and albumin all within the top five. Conclusion The SVM-based model estimates the probability of subsequently documented AL after POD3 assessment and showed robust discrimination and calibration in external validation. PCT, NLR, and albumin were among the most influential predictors. Using routinely available serological indices, this approach may support early postoperative identification of high-risk patients and targeted escalation of surveillance; prospective confirmation and clinical-impact studies are required before the model can be considered to improve outcomes.
Authors
- Jing Xu (ORCID: https://orcid.org/0000-0002-2071-4524)
- 蒋志阳
- Yanfei Zhu (ORCID: https://orcid.org/0009-0001-3715-800X)
- Yinchao Zhang (ORCID: https://orcid.org/0009-0001-8298-3527)
- Shujun Ding
Institutions
- Wuxi People's Hospital (CN)
- Nanjing Medical University (CN)
Publication Details
- Journal
- Frontiers in Surgery
- Published
- 2026-11-30
- DOI
- https://doi.org/10.3389/fsurg.2026.1934784
- Primary Topic
- Colorectal Cancer Surgical Treatments
- Type
- article
- Field-Weighted Citation Impact
- 0.00