An artificial intelligence platform for predicting postoperative complications in metastatic spinal surgery: development and validation study

Weihao Jiang, Juan Zhang, Weiqing Shi, Xuyong Cao, Xiongwei Zhao, Bin Zhang, Haikuan Yu, Shengjie Wang, Yongjie Qin, Mingxing Lei, Yuncen Cao, B.w. Zhu, Yaosheng LiuJournal Of Big Data 2025

Abstract: Metastatic spinal disease is a significant cause of morbidity, requiring precise predictive tools to optimize surgical outcomes. This study developed and validated an AI platform using data from 504 patients across four tertiary hospitals. Six machine learning models were evaluated, with the Extreme Gradient Boosting Machine (eXGBM) demonstrating superior performance (AUC 0.924). Key predictors identified included surgical time, blood transfusion, and the number of surgical segments. The final model is deployed as a free web-based tool to assist in real-time clinical decision-making.

Introduction

As oncological treatments advance, patients with metastatic cancer are living longer, leading to an increased prevalence of metastatic spinal disease. Surgery is often necessary to alleviate pain and prevent neurological deficits, yet it carries substantial risks. Complication rates in these patients can range from 6.5% to over 70% due to their fragile health and the complexity of spinal procedures. Traditional scoring systems often lack the precision needed for personalized risk assessment, creating a critical need for a validated, data-driven tool to predict postoperative complications before a patient enters the operating room.

Methodology

The researchers utilized a multi-center dataset of 504 patients treated between 2020 and 2024. The study followed a robust development and validation pipeline, as illustrated in the workflow below:

Workflow of the AI platform development and validation process.
  1. Data Splitting: The cohort was divided into a derivation set (n=379) from three hospitals for training and internal validation, and an external validation set (n=125) from a separate hospital to test the model's generalizability.
  2. Feature Selection: Univariate analysis identified seven statistically significant predictors: smoking status, diabetes, hypertension, visceral metastases, surgical time, blood transfusion, and the number of surgical segments.
  3. Model Benchmarking: Six machine learning algorithms were compared: Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Extreme Gradient Boosting Machine (eXGBM), Neural Network (NN), and K-Nearest Neighbor (KNN).

Clinical Context and Results

The complexity of these procedures is evident in the clinical presentation and surgical intervention required for metastatic spinal disease. Figure 5 demonstrates the extensive decompression and stabilization often necessary in these cases.

Imaging and intraoperative documentation of metastatic spinal surgery.

Among the tested models, the eXGBM model emerged as the clear winner, achieving an Area Under the Curve (AUC) of 0.924 in internal testing and a robust 0.880 in external validation. It also showed high balanced accuracy, precision, and recall (all 0.853), indicating it is equally effective at identifying both low-risk and high-risk patients.

Feature importance analysis revealed that the "Big Three" risk factors—surgical time, blood transfusion, and the number of surgical segments—were the most critical predictors. This suggests that the invasiveness and duration of the procedure are more predictive of complications than baseline patient comorbidities.

Discussion and Deployment

The study emphasizes clinical utility over mere statistical accuracy. Decision Curve Analysis (DCA) confirmed that using the eXGBM model provides a "net benefit" across all clinical threshold risks, helping surgeons avoid "false negatives" (missing high-risk patients).

To facilitate clinical adoption, the final optimal model has been made available online as a freely accessible AI platform (https://v37vx6dtwdyf4y4nn24cib.streamlit.app/). This tool allows surgeons to input patient data and receive a real-time risk assessment.

Limitations and Future Work

While the platform offers a powerful tool for risk stratification, it has some limitations:

  • Short-term Focus: The study primarily looks at immediate postoperative complications rather than long-term survival or hardware failure.
  • Geographic Scope: The data is currently limited to Chinese populations. Future work should validate the platform across more diverse global healthcare systems to ensure the AI's logic holds up internationally.
  • Palliative Context: The study did not systematically evaluate overall end-of-life care goals, which remain a major factor in surgical decision-making.

Summary updated

BibTeX
@article{jiang2025artificial,
  author = {Weihao Jiang and Juan Zhang and Weiqing Shi and Xuyong Cao and Xiongwei Zhao and Bin Zhang and Haikuan Yu and Shengjie Wang and Yongjie Qin and Mingxing Lei and Yuncen Cao and B.W. Zhu and Yaosheng Liu},
  title = {{An artificial intelligence platform for predicting postoperative complications in metastatic spinal surgery: development and validation study}},
  journal = {Journal Of Big Data},
  year = {2025},
  doi = {10.1186/s40537-025-01155-0},
}
Figure