Introduction
Anastomotic leakage (AL) is the postoperative complication with the greatest impact on both patients and healthcare systems after colorectal surgery, carrying substantial morbidity and mortality. Current assessment remains suboptimal and relies exclusively on clinical, radiological, and analytical parameters, often leading to delayed diagnosis and worse outcomes. Artificial intelligence (AI) in digestive healthcare has enabled the development of several detection (CADe) and characterization (CADx) models, although CADex models remain scarce. This study aimed to develop a multidevice deep learning model for intraoperative risk stratification, enabling real time prediction of AL.
Aims & Methods
An AI model based on a convolutional neural network was developed to predict AL using laparoscopic video frames, with a bounding box highlighting the region contributing most to leak prediction. AL diagnosis was established according to clinical, analytical, and imaging criteria. Normal anastomosis required stoma closure and at least 6 months of clinical follow up. To prevent overfitting and selection bias, dataset splitting was performed at the case level, ensuring that frames from the same surgery were not represented in both training and testing sets. The dataset was divided into training and testing sets using an 80 percent and 20 percent split. The detection component (CADe) was evaluated with mAP50, whereas the characterization component (CADx) was evaluated with accuracy and AUC ROC.
Results
This multicenter study included 71 colorectal surgeries and 17,801 frames collected across 4 reference centers in Europe and the Americas, using seven different laparoscopy systems, including conventional and robotic platforms. Thirteen patients developed CAL during postoperative follow up, whereas the remaining patients had an uneventful recovery without CAL. The AI model detected anastomoses with an mAP50 of 0.973. Frames associated with AL were identified with 99.0 percent accuracy and an AUC ROC of 0.997.
Conclusion
This is the first multidevice, interoperable AI model for intraoperative risk stratification enabling automatic prediction of AL development through a CADe mechanism for anastomosis identification, in a cohort including patients from both Europe and the Americas. The development of prognosis driven AI models is essential to support intraoperative decision making, allowing risk reduction through targeted preventive or active measures. Ultimately, these tools may reduce the incidence of this postoperative complication, with meaningful benefit for both patients and healthcare systems.