Abstract
Recent advancements in artificial intelligence have witnessed human-level performance; however, AI-enabled cognitive assistance for therapeutic procedures has not been fully explored nor pre-clinically validated. Here we propose AI-Endo, an intelligent surgical workflow recognition suit, for endoscopic submucosal dissection (ESD). Our AI-Endo is trained on high-quality ESD cases from an expert endoscopist, covering a decade time expansion and consisting of 201,026 labeled frames. The learned model demonstrates outstanding performance on validation data, including cases from relatively junior endoscopists with various skill levels, procedures conducted with different endoscopy systems and therapeutic skills, and cohorts from international multi-centers. Furthermore, we integrate our AI-Endo with the Olympus endoscopic system and validate the AI-enabled cognitive assistance system with animal studies in live ESD training sessions. Dedicated data analysis from surgical phase recognition results is summarized in an automatically generated report for skill assessment.
Introduction
Endoscopic Submucosal Dissection (ESD) is a minimally invasive procedure essential for resecting early-stage gastrointestinal cancers. Despite its benefits, ESD is technically demanding with a steep learning curve, requiring surgeons to navigate delicate tissue layers with extreme precision. While AI has the potential to assist, existing models often struggle with the "accuracy-efficiency dilemma"—balancing the computational depth needed for context with the speed required for real-time operating room feedback. Additionally, generalizability across different hardware and surgeon skill levels remains a significant barrier.
Methods
The AI-Endo framework employs a cascaded architecture designed for high-throughput inference (47 fps) and deep temporal reasoning:
- Spatial Feature Extraction: A pruned ResNet50 backbone extracts features from individual frames efficiently.
- Temporal Modeling: A Temporal Convolutional Network (TCN) captures local context, while a Global Attention-based Transformer models long-range dependencies across the entire procedure.
- Real-time Processing: A First-In-First-Out (FIFO) queue manages temporal embeddings, ensuring the system provides feedback without perceptible latency.
- Training Strategy: The model utilizes self-supervised contrastive learning to distinguish subtle tissue differences, combined with standard cross-entropy loss for phase classification.
Datasets and Annotation
The system was developed using a robust dataset of 47 full-length ESD cases (201,026 frames) performed by a single expert over 12 years. To ensure clinical relevance, the authors established a rigorous annotation protocol defining four primary phases: Marking, Injection, Dissection, and Idle.
Validation extended to 15 cases from junior endoscopists and multi-center cohorts from China (Fujifilm systems) and Germany (Olympus systems), testing the model's robustness against varying skill levels and hardware.
Results and Discussion
AI-Endo achieved a high average accuracy of 91.04% on developmental data and maintained ~90.9% accuracy on cases involving junior surgeons. The system's hardware agnosticism was particularly notable, performing well on Fujifilm systems despite being trained on Olympus data.
A key innovation is the Normalized Transition Index (NT-Index), which quantifies surgical "smoothness" by measuring the frequency of phase transitions. Higher indices correlate with hesitation, providing an objective metric for skill assessment. In live animal trials (12 procedures), the system successfully generated automated "Skill Assessment Reports" that matched expert mentor evaluations.
Conclusion
AI-Endo successfully bridges the gap between theoretical AI and clinical utility. By providing real-time phase recognition and automated skill assessment, it serves as a "co-pilot" for endoscopists. Future work will focus on expanding the dataset and moving toward real-time semantic segmentation of anatomical structures to provide active safety warnings during surgery.
Summary updated