Real-time identification of gastric lesions and anatomical landmarks by artificial intelligence during magnetically controlled capsule endoscopy

Jun Pan, Jì Xià, Bin Jiang, Hang Zhang, Hao Zhang, Zhaoshen Li, Zhuan LiaoEndoscopy 2022

Abstract

Magnetically controlled capsule endoscopy (MCE) provides a non-invasive alternative to traditional gastroscopy for stomach screening. However, the high volume of images generated during an exam poses a significant challenge for real-time human review. This paper presents the development and validation of the Smart Data Service System-AI (SDSS-AI), a deep learning-based tool designed to assist clinicians by identifying gastric lesions and anatomical landmarks in real-time. The system achieved 98.9% sensitivity for lesion detection with an inference time of 94ms per image, effectively serving as a "second pair of eyes" to minimize diagnostic blind spots.

Introduction: The Challenge of MCE Data

While traditional gastroscopy remains the gold standard for detecting gastric pathology, its invasive nature and requirement for sedation often deter patients. MCE offers a patient-friendly alternative where a swallowable camera is navigated via external magnets. Despite its benefits, a single MCE procedure generates thousands of images. Manually reviewing this data in real-time is cognitively demanding for physicians, potentially leading to missed lesions due to fatigue or oversight. There is a critical need for automated systems that can provide immediate diagnostic support during the procedure.

The SDSS-AI Framework

The researchers introduced the Smart Data Service System-AI (SDSS-AI), which integrates directly into the MCE monitor interface. The system is designed for two primary functions:

  1. Lesion Identification: The AI uses blue bounding boxes to highlight suspicious areas such as erosions, ulcers, polyps, and tumors. It also provides heat map visualizations to indicate the probability of pathology within a specific frame.
  2. Landmark Classification: The system automatically recognizes eight key anatomical landmarks (e.g., cardia, fundus, pylorus). This serves as a quality control mechanism, ensuring the physician has successfully visualized the entire stomach anatomy.
The SDSS-AI interface displaying real-time lesion detection and anatomical landmark classification.

Methodology and Training

The SDSS-AI was trained on a robust dataset of 34,062 MCE images from 856 patients. To evaluate its real-world efficacy, a prospective study was conducted with 50 patients. The AI's performance was benchmarked against expert readings, which served as the gold standard. A key technical requirement was speed; the system achieved an inference time of 94ms per image (~10.6 frames per second), which is sufficient for seamless real-time operation during the capsule's movement.

Performance and Results

The system demonstrated exceptional diagnostic accuracy, particularly for high-stakes pathologies:

  • Lesion Detection: The overall sensitivity was 98.9%. Notably, the system achieved 100% sensitivity for polyps and submucosal tumors in the evaluation set.
  • Anatomical Landmarks: The overall accuracy for landmark identification was 94.2%. The system was most proficient at identifying the pylorus (98.8%) and cardia (97.8%), though the complex geometry of the gastric angulus proved more challenging (73.8% accuracy).
Heat map visualization generated by the AI to indicate lesion probability.

Discussion and Future Directions

By moving AI analysis from post-hoc review into the live clinical loop, SDSS-AI allows physicians to immediately re-examine areas flagged by the system. This "closing of the loop" reduces the likelihood of missed lesions and the need for follow-up procedures. The use of anatomical mapping further ensures that no region of the stomach is left unexamined.

Despite these results, the study was limited by its single-center design and small prospective sample size. Future work should focus on multi-center trials to validate the system's robustness across different populations. Additionally, further research is needed to determine if the integration of AI leads to a statistically significant increase in the detection rate of early-stage gastric cancer compared to standard MCE procedures.

Summary updated

BibTeX
@inproceedings{pan2022real,
  author = {Jun Pan and Jì Xià and Bin Jiang and Hang Zhang and Hao Zhang and Zhaoshen Li and Zhuan Liao},
  title = {{Real-time identification of gastric lesions and anatomical landmarks by artificial intelligence during magnetically controlled capsule endoscopy}},
  booktitle = {Endoscopy},
  year = {2022},
  doi = {10.1055/a-1724-6958},
}
Figure