Artificial intelligence assisted real-time recognition of intra-abdominal metastasis during laparoscopic gastric cancer surgery

Hao Chen 0011, Longfei Gou, Zhiwen Fang, Qi Dou, Haobin Chen, Chang Chen, Yuqing Qiu, Jinglin Zhang, Chenglin Ning, Yanfeng Hu, Haijun Deng, Jiang Yu, Guoxin Li

Abstract

Intra-abdominal metastasis (IAM) is a critical factor in determining the treatment path for gastric cancer. This study introduces AiLES (Artificial Intelligence Laparoscopic Exploration System), a deep-learning framework utilizing a Residual Feedback Network (RF-Net) to identify IAM in real-time. Evaluated on a dataset of 5,111 frames from 100 surgical videos, AiLES achieved a Dice score of 0.76 at 11 frames per second, matching novice surgeon performance and excelling in detecting occult lesions.

Introduction: The "Fork in the Road" for Gastric Cancer

In advanced gastric cancer, the presence of intra-abdominal metastasis (IAM) represents a significant "fork in the road" for clinical management. If IAM is detected, the treatment strategy shifts from curative gastrectomy to systemic chemotherapy. Currently, surgeons rely on Laparoscopic Exploration (LE) to identify these metastases. However, these lesions are often minute, hidden within tissue folds, or overlooked due to camera movement and visual fatigue. Missing even a single "seed" leads to under-staging and potentially unnecessary invasive surgery. There is a critical need for automated, real-time assistance to help surgeons, particularly those in training, identify these elusive markers.

Methods: Engineering a Real-Time Surgical Assistant

The researchers developed AiLES (Artificial Intelligence Laparoscopic Exploration System) based on a Residual Feedback Network (RF-Net) architecture. Unlike standard feed-forward networks, RF-Net uses residual feedback loops to better handle the ambiguous boundaries and complex textures typical of laparoscopic images of metastases.

To ensure surgical-grade performance, the system employs a real-time pipeline that processes high-resolution frames by dividing them into 512x512 patches for inference before merging the resulting masks. This approach balances the need for high-resolution detail with the computational constraints of real-time surgery.

Model Development: The pipeline includes data augmentation, patch-based processing, and a semantic segmentation model.

Dataset: High-Quality Annotation and Diversity

The study utilized a custom dataset derived from 100 laparoscopic gastric cancer surgery videos. Expert surgeons performed detailed polygonal annotations on 5,111 frames containing IAM lesions, providing the pixel-level ground truth necessary for semantic segmentation. The dataset captures a wide variety of metastatic presentations, categorized by extent (single, multiple, extensive) and anatomical location (peritoneum, omentum, bowels, mesentery, liver surface, and uterus).

Dataset Construction: The workflow from video extraction to expert-reviewed annotation and categorical labeling.

Results: Performance and Clinical Utility

AiLES demonstrated superior performance compared to general-purpose vision models. While the state-of-the-art "Segment Anything Model" (SAM) struggled with the specialized task (Dice score 0.14–0.29), AiLES achieved an overall Dice score of 0.76 and an mAP@50 of 0.65.

Key performance highlights include:

  • Speed: The system operates at 11 frames per second (fps), providing real-time feedback during surgery.
  • Detection of Occult Lesions: AiLES achieved its highest performance (0.90 Dice score) on single peritoneal lesions—the very "tiny and occult" seeds most likely to be missed by human eyes.
  • Human-AI Equivalence: In head-to-head comparisons, AiLES's performance was statistically non-inferior to novice surgeons, effectively serving as a reliable "second pair of eyes."

Conclusion and Future Directions

AiLES represents a significant step toward automated intraoperative assistance. By matching the accuracy of novice surgeons and excelling at detecting minute lesions, it offers a tool to reduce under-staging in gastric cancer. Future work will focus on multi-center validation, addressing data imbalances for rarer metastatic locations, and expanding the system's capabilities to include automated Peritoneal Cancer Index (PCI) scoring and lesion measurement.

Summary updated

BibTeX
@article{chen2025artificial,
  author = {Hao Chen and Longfei Gou and Zhiwen Fang and Qi Dou and Haobin Chen and Chang Chen and Yuqing Qiu and Jinglin Zhang and Chenglin Ning and Yanfeng Hu and Haijun Deng and Jiang Yu and Guoxin Li},
  title = {{Artificial intelligence assisted real-time recognition of intra-abdominal metastasis during laparoscopic gastric cancer surgery}},
  journal = {Npj Digit. Medicine},
  year = {2025},
  doi = {10.1038/s41746-024-01372-6},
}
Figure