The unreasonable effectiveness of AI CADe polyp detectors to generalize to new countries

Joel Shor, Hiro-o Yamano, Daisuke Tsurumaru, Yotam Intrator, Hiroki Kayama, Joseph R. Ledsam, Atsushi Hamabe, Koji Ando, Mitsuhiko Ota, Haruei Ogino, Hiroshi Nakase, Kaho Kobayashi, Eiji Oki, Roman Goldenberg, Ehud Rivlin, Ichiro TakemasaarXiv 2023 · DOI

Abstract

A major challenge in medical AI is the "domain shift" that occurs when models are deployed in new clinical environments. This study demonstrates that a Computer-Aided Detection (CADe) model for polyps, trained exclusively on Israeli colonoscopy data, generalizes remarkably well to Japanese clinical data. Despite encountering novel imaging modalities like Narrow-Band Imaging (NBI) and different patient demographics, the model maintained high performance. To quantify these shifts without expensive manual labeling, the authors introduce MACE (MAsked mediCal Embedding Distance), a label-free metric that identifies data dissimilarity.

Introduction: The Challenge of Domain Adaptation

Medical AI models often suffer performance degradation when moved from their training environment to a new hospital or country. In colonoscopy, these differences are pronounced: variations in endoscope hardware, lighting technologies, and clinical procedures create significant visual discrepancies. Traditionally, validating a model in a new country requires thousands of hours of expert manual labeling, which is both slow and prohibitively expensive.

Visual differences between Israeli (left) and Japanese (right) colonoscopy data, including variations in the Heads-Up Display (HUD) and imaging modes.

Methods

The CADe Detector

The researchers utilized a RetinaNet architecture trained on a massive dataset from Israel. To ensure clinical utility and reduce false alarms, they implemented a temporal Median Filter to aggregate predictions across consecutive video frames.

MACE: A Label-Free Dissimilarity Metric

The primary technical innovation is MACE (MAsked mediCal Embedding Distance). MACE provides a way to predict potential performance drops without human labels. It employs self-supervised learning models—specifically Vision Transformers (ViT) and SimCLR—to map colonoscopy frames into compact numerical "embeddings."

The MACE framework utilizes self-supervised learning (ViT and SimCLR) to generate embeddings for quantifying data distribution shifts.

By calculating the Frechet Distance between the embedding distributions of the training set and the new target set, MACE quantifies how "different" the new data appears to the model. This allows developers to identify problematic data subsets (e.g., specific lighting modes) before starting clinical trials.

Datasets and Domain Differences

The study compared two large-scale datasets:

  • Israel (Training & Validation): 5,004 videos (1,106 hours) primarily using standard white-light imaging.
  • Japan (External Validation): 354 videos (128 hours) featuring significantly more complex data, including triple the number of polyps per procedure and frequent use of Narrow-Band Imaging (NBI) and Chromoendoscopy (CE)—technologies entirely absent from the training set.

Key Results

High Cross-Border Accuracy

At a strict operating point of 0.5 False Alarms Per Minute (FAPM), the model achieved a True Positive Rate (TPR) of 0.957 in Israel and 0.972 in Japan. The performance in Japan was statistically non-inferior to the training domain.

Robustness to Novel Technology

Despite never seeing NBI or CE during training, the model's performance on these subsets was robust and non-inferior to its performance on white-light imaging (t > 47.3, p < 10⁻⁸). This suggests that the core visual features of polyps—such as shape and texture—are consistent enough across populations and modalities to be captured by a sufficiently large training set.

Validation of MACE

MACE successfully identified that NBI and CE frames were the most mathematically distant from the Israeli training data. This validates MACE as a reliable "pre-flight check" for identifying data drift in medical imaging.

Discussion and Future Work

The "unreasonable" generalization observed suggests that large-scale medical datasets can overcome significant environmental noise. However, the study is limited to two countries and retrospective video analysis. Future work will focus on validating these findings across more diverse global regions and refining MACE to provide more interpretable feedback on how data differs, rather than just that it differs.

Summary updated

BibTeX
@misc{shor2023unreasonable,
  author = {Joel Shor and Hiro-o Yamano and Daisuke Tsurumaru and Yotam Intrator and Hiroki Kayama and Joseph R. Ledsam and Atsushi Hamabe and Koji Ando and Mitsuhiko Ota and Haruei Ogino and Hiroshi Nakase and Kaho Kobayashi and Eiji Oki and Roman Goldenberg and Ehud Rivlin and Ichiro Takemasa},
  title = {{The unreasonable effectiveness of AI CADe polyp detectors to generalize to new countries}},
  year = {2023},
  eprint = {2312.06833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.06833},
}
Figure