Published online Jul 27, 2025. doi: 10.4240/wjgs.v17.i7.106340
Revised: March 13, 2025
Accepted: March 19, 2025
Published online: July 27, 2025
Processing time: 150 Days and 21.9 Hours
Colorectal cancer (CRC) is a prevalent malignancy, with surgery playing a key role in its treatment. However, perioperative complications, such as anastomotic leaks, infections, and mortality, can significantly affect surgical outcomes, extend hospital stays, and increase healthcare costs. Traditional risk prediction models often lack precision, leading to increased interest in artificial intelligence (AI) for improving risk stratification. This review examines the application of AI, particularly machine learning and deep learning, in predicting perioperative complications in CRC surgery. AI models have been employed to predict a variety of postoperative complications, including readmissions, surgical-site infections, anastomotic leakage, and mortality, by analyzing diverse data sources such as electronic health records, medical imaging, and preoperative markers. Despite the promising results, several challenges remain, including data quality, model generalizability, the complexity of clinical data, and ethical and regulatory concerns. The review emphasizes the need for multicenter, diverse datasets and the integration of AI into clinical workflows to improve model performance and adoption. Future efforts should focus on enhancing the transparency and in
Core Tip: Artificial intelligence (AI), including machine learning and deep learning, is increasingly applied to predict perioperative complications in colorectal cancer surgery. By analyzing diverse data sources such as electronic health records, medical imaging, and preoperative markers, AI models can improve risk stratification, predict complications like ana
- Citation: Fu YY, Jiao Y, Liu YH, Dong SS. Application and challenges of artificial intelligence in predicting perioperative complications of colorectal cancer. World J Gastrointest Surg 2025; 17(7): 106340
- URL: https://www.wjgnet.com/1948-9366/full/v17/i7/106340.htm
- DOI: https://dx.doi.org/10.4240/wjgs.v17.i7.106340
Colorectal cancer (CRC) is a prevalent malignancy, and surgery remains a cornerstone of its treatment. Despite the advances in surgical techniques, perioperative complications such as anastomotic leaks, infections, and thromboembolic events continue to affect patient outcomes, may lead to increased healthcare costs, extended hospitalizations, and higher likelihood of patient mortality. Traditional risk prediction models often lack precision, primarily because they rely on static, population-level data and predefined scoring systems that may not fully capture individual patient variability or real-time physiological changes. Consequently, they often provide only broad risk stratifications rather than precise, individualized risk estimations. This limitation has driven the interest in artificial intelligence (AI) as a potential solution to enhance risk stratification and provide more accurate predictions. AI, including machine learning (ML) and deep learning, has the ability to analyze vast amounts of clinical data to improve the prediction of perioperative complications in CRC surgery. However, there are several challenges in AI implementation, such as data quality, model generalizability, and ethical concerns. This review examines the applications of AI in predicting perioperative complications, the challenges faced, and the future directions necessary for successful clinical integration.
AI and ML have been successfully applied to predict postoperative complications in CRC patients. These models analyzed a variety of perioperative complications, including anastomotic leakage, surgical-site infections, and unplanned readmissions. The neural network model incorporated electronic health record data, including preoperative laboratory values (e.g., albumin, hemoglobin), intraoperative factors (e.g., operative time, blood loss), and demographic data to enhance prediction accuracy. For instance, a recent study developed an artificial neural network (ANN) to predict major postoperative complications and readmission in CRC surgery. This ANN model demonstrated superior performance over traditional regression models, highlighting its potential to improve risk prediction accuracy[1]. Another study developed an improved ML model, MGA-extreme gradient boosting (XGBoost), to predict postoperative infectious complications in elderly patients, achieving an area under the curve (AUC) of 0.862, outperforming other ML algorithms tested[2].
AI models have also shown significant promise in preoperative risk assessment for complications such as anastomotic leakage. A study using a feed-forward multilayer perceptron network found that preoperative immune-inflammatory markers like the systemic immune-inflammation index and neutrophil-to-lymphocyte ratio were significant predictors of postoperative complications[3]. Additionally, a nomogram model incorporating preoperative factors such as the prognostic nutritional index, albumin levels, American Society of Anesthesiologists (ASA) scores, and tumor diameter was developed to predict postoperative complications. This model achieved an AUC of 0.835 in the training cohort, underscoring the importance of integrating multiple clinical markers in risk prediction[4].
AI has been effectively utilized to predict specific complications following CRC surgery, including anastomotic leakage, surgical-site infections, and low anterior resection syndrome (LARS). For example, a Random Forest model was de
AI models have also been utilized to predict both short-term and long-term mortality following CRC surgery. A study using a least absolute shrinkage and selection operator logistic regression model predicted 30-day mortality, achieving an AUC of 0.871. This model demonstrated excellent discrimination and calibration, offering potential for its integration into clinical practice. Another study, using an XGBoost model, predicted in-hospital mortality in emergency colorectal surgery. This model achieved an AUC of 0.814, with significant predictors including age, CRC diagnosis, and serum lactate dehydrogenase levels.
AI-based decision support systems have been developed to aid clinicians in preoperative and perioperative decision-making. For example, a ML -based calculator was created to predict five perioperative risk events, including surgical site infection and mechanical ventilation, in emergency general surgery. This calculator demonstrated stronger predictive performance compared to traditional scoring systems[7], highlighting the potential of AI to support clinical decision-making in complex cases.
One of the major challenges in developing AI models for perioperative complication prediction is the quality and availability of data. Many studies rely on retrospective data, which often contains missing or incomplete information, potentially introducing bias and affecting model performance[5,8]. For example, a study predicting anastomotic leakage noted that the performance of a Random Forest model decreased from an AUC of 0.78 on the internal test set to 0.60 on the external validation set, indicating the importance of using high-quality, multicenter data[5]. High-quality data sources should be characterized by standardized data collection processes, minimal missing data, and diverse patient populations to improve model generalizability. While a higher AUC in an external validation set is often a positive indicator, it does not inherently guarantee clinical applicability. Real-world implementation requires prospective validation, clinician interpretability, and integration into decision-making workflows to confirm utility beyond statistical performance.
AI models trained on single-center or specific patient populations may lack generalizability to diverse clinical settings. A study using a Random Forest model for anastomotic leakage prediction found that the model’s performance significantly decreased when applied to an external validation set, emphasizing the need for multicenter, diverse datasets[5]. Similarly, AI models trained on data from specific geographic locations may be biased by regional differences in patient de
The complexity of clinical data, including nonlinear relationships and interactions between variables, presents a challenge for AI models. Although ML algorithms like neural networks and gradient boosting are well-equipped to handle such complexity, they require careful tuning and validation to ensure robust performance[1,3]. Strategies such as hyper
Integrating AI into clinical practice requires addressing significant regulatory and ethical considerations. Issues such as data privacy, algorithm transparency, and accountability must be resolved to ensure the safe and ethical use of AI in predicting perioperative complications[9,10].
AI has been used in surgical settings to enhance precision and reduce complications. For instance, AI-assisted robotic systems have been employed in minimally invasive surgeries to improve accuracy and reduce recovery times[11]. Despite promising results from AI models, their routine adoption in clinical practice remains challenging. Many models need further validation across diverse clinical settings, and clinicians may be hesitant to rely on AI-driven predictions without robust evidence of their clinical utility[7,9].
To improve the generalizability of AI models, future studies should focus on developing models using multicenter and diverse datasets. Collaborative efforts between institutions, as well as the use of national or international registries, can help address the challenges of model bias and improve the robustness of AI predictions[5].
Efforts should be made to integrate AI models into clinical workflows by developing user-friendly tools for real-time decision-making. Web-based calculators and decision support systems can be designed to predict perioperative risks and guide surgical planning, ultimately improving clinical outcomes[7,10]. AI-driven risk prediction models must provide actionable insights that influence perioperative management. For example, an AI model predicting a high risk of anastomotic leakage may prompt preoperative interventions such as selective use of diverting stomas or closer postoperative monitoring. Similarly, AI-driven preoperative risk stratification could guide intraoperative decision-making, such as adjusting surgical techniques based on individualized risk profiles.
Improving the transparency and interpretability of AI models is crucial for their adoption in clinical practice. Techniques such as SHAP values and feature importance analysis can provide clinicians with a clearer understanding of how models arrive at their predictions, thereby increasing trust in AI-driven recommendations[7].
To ensure the safe and effective use of AI in healthcare, ethical and regulatory issues must be addressed. This includes ensuring data privacy, ensuring transparency in algorithms, and establishing regulatory frameworks to guide the development and deployment of AI models in clinical practice[9,10].
AI has shown significant promise in predicting perioperative complications in CRC surgery, with applications ranging from preoperative risk assessment to mortality prediction. However, challenges such as data quality, model generalizability, and regulatory considerations must be addressed to fully realize the potential of AI in clinical practice. Future directions include the development of multicenter datasets, integration of AI into clinical workflows, and enhanced model transparency and interpretability. By overcoming these challenges, AI has the potential to become a valuable tool in improving surgical outcomes and patient care in CRC surgery.
1. | Agnes A, Nguyen ST, Konishi T, Peacock O, Bednarski BK, You YN, Messick CA, Tillman MM, Skibber JM, Chang GJ, Uppal A. Early Postoperative Prediction of Complications and Readmission After Colorectal Cancer Surgery Using an Artificial Neural Network. Dis Colon Rectum. 2024;67:1341-1352. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 3] [Cited by in RCA: 2] [Article Influence: 2.0] [Reference Citation Analysis (0)] |
2. | Tian Y, Li R, Wang G, Xu K, Li H, He L. Prediction of postoperative infectious complications in elderly patients with colorectal cancer: a study based on improved machine learning. BMC Med Inform Decis Mak. 2024;24:11. [RCA] [PubMed] [DOI] [Full Text] [Cited by in RCA: 6] [Reference Citation Analysis (0)] |
3. | Patrascu S, Cotofana-Graure GM, Surlin V, Mitroi G, Serbanescu MS, Geormaneanu C, Rotaru I, Patrascu AM, Ionascu CM, Cazacu S, Strambu VDE, Petru R. Preoperative Immunocite-Derived Ratios Predict Surgical Complications Better when Artificial Neural Networks Are Used for Analysis-A Pilot Comparative Study. J Pers Med. 2023;13. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in Crossref: 2] [Cited by in RCA: 3] [Article Influence: 1.5] [Reference Citation Analysis (0)] |
4. | Ou Y, Yang Y, Yang W, Pan Y, Tian W, Wang Z, Yu X, Luo J, Wang L. Analysis of risk factors and establishment of early warning model for recent postoperative complications of colorectal cancer. Front Oncol. 2024;14:1411817. [RCA] [PubMed] [DOI] [Full Text] [Cited by in RCA: 2] [Reference Citation Analysis (0)] |
5. | Taha-Mehlitz S, Wentzler L, Angehrn F, Hendie A, Ochs V, Wolleb J, Staartjes VE, Enodien B, Baltuonis M, Vorburger S, Frey DM, Rosenberg R, von Flüe M, Müller-Stich B, Cattin PC, Taha A, Steinemann D. Machine learning-based preoperative analytics for the prediction of anastomotic leakage in colorectal surgery: a swiss pilot study. Surg Endosc. 2024;38:3672-3683. [RCA] [PubMed] [DOI] [Full Text] [Cited by in RCA: 3] [Reference Citation Analysis (0)] |
6. | Wang Z, Shao SL, Liu L, Lu QY, Mu L, Qin JC. Machine learning model for prediction of low anterior resection syndrome following laparoscopic anterior resection of rectal cancer: A multicenter study. World J Gastroenterol. 2023;29:2979-2991. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in CrossRef: 2] [Cited by in RCA: 7] [Article Influence: 3.5] [Reference Citation Analysis (0)] |
7. | Chen B, Sheng W, Wu Z, Ma B, Cao N, Li X, Yang J, Yuan X, Yan L, Zhu G, Zhou Y, Huang Z, Zhu M, Ding X, Du H, Wan Y, Gao X, Cheng X, Xu P, Zhang T, Tao K, Shuai X, Cheng P, Gao Y, Zhang J. Machine learning based peri-surgical risk calculator for abdominal related emergency general surgery: a multicenter retrospective study. Int J Surg. 2024;110:3527-3535. [RCA] [PubMed] [DOI] [Full Text] [Cited by in RCA: 5] [Reference Citation Analysis (0)] |
8. | Nwaiwu CA, Rivera Perla KM, Abel L, Sears I, Liu YZ, Barton AT, Peterson R, Khatri IS, Shah NS. Predicting Complication after Elective Colectomy: A Machine Learning Approach. J Am Coll Surg. 2022;235:S50-S51. [RCA] [DOI] [Full Text] [Cited by in RCA: 2] [Reference Citation Analysis (0)] |
9. | Wei R, Guan X, Liu E, Zhang W, Lv J, Huang H, Zhao Z, Chen H, Liu Z, Jiang Z, Wang X. Development of a machine learning algorithm to predict complications of total laparoscopic anterior resection and natural orifice specimen extraction surgery in rectal cancer. Eur J Surg Oncol. 2023;49:1258-1268. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 1] [Cited by in RCA: 2] [Article Influence: 1.0] [Reference Citation Analysis (0)] |
10. | Maheshwari K, Cywinski JB, Papay F, Khanna AK, Mathur P. Artificial Intelligence for Perioperative Medicine: Perioperative Intelligence. Anesth Analg. 2023;136:637-645. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 2] [Cited by in RCA: 17] [Article Influence: 8.5] [Reference Citation Analysis (0)] |
11. | Brito CMS, Lopes LEC, Lira EJD, Barros GVS, Pinheiro JA, Fortes MS, Carvalho JLG, Sousa IFDU, Passos MMPMB, Bezerra LDA, Furtado DG, de Carvalho GGF. Application and Impact of Artificial Intelligence In Medical Care: A Systematic Literature Review. Sci Connect: Interdependence Discipl. 2025;. [DOI] [Full Text] |