Heterogeneous Model Ensemble For Automatic Polyp Detection and Tracking In Colonoscopy

Amine Yamlahi, Patrick Godau, Thuy Nuong Tran, Lucas-Raphael Muller, Tim Adler, Minu Tizabi, Michael Baumgartner, Paul Jäger, Lena Maier-HeinEndoCV@ISBI 2022

Introduction

Colorectal cancer is a leading cause of cancer-related mortality, yet it is highly preventable through the early detection and removal of polyps during colonoscopy screenings. Despite its importance, the effectiveness of these screenings can be limited by human factors; clinicians may miss polyps due to fatigue or the subtle appearance of certain lesions.

While deep learning has shown significant promise in automating detection, generalizability remains a critical hurdle. Models trained on data from a specific hospital or camera type often underperform in different clinical environments. This research addresses these challenges by developing a robust detection system centered on "heterogeneous ensembling"—combining models trained with diverse data augmentation strategies to ensure stability across varied patient populations and hardware.

Methodology

The researchers developed a multi-stage pipeline that integrates ensemble learning, temporal tracking, and specialized post-processing to improve detection accuracy.

Heterogeneous Ensemble Training

Instead of ensembling identical models, the authors created three distinct training strategies for YOLOv5 (specifically the x6 and l6 variants):

  • M_H-AUGMENT: Employs heavy data augmentation (Mosaic, Mixup, and Copy-Paste) to force the model to learn complex, varied features.
  • M_L-AUGMENT: Uses light augmentation, reducing Mosaic and omitting Mixup to focus on cleaner, standard representations.
  • M_E-DATA: Specifically trained on a large pool of external datasets (including CVC-ColonDB and ETIS-Larib) to improve generalizability to unseen environments.

Fusion and Tracking

To combine the outputs of these models, the system uses Weighted Boxes Fusion (WBF). Unlike standard Non-Maximum Suppression, WBF uses confidence scores to average the coordinates of overlapping boxes, leading to more stable localizations. The pipeline also integrates Norfair, a multi-object tracker, to link detections across video frames (t-2, t-1, t), leveraging the temporal consistency of polyp movement.

Overview of the proposed polyp detection and tracking pipeline, illustrating the heterogeneous ensemble, fusion, and post-processing stages.

Post-processing (Box Shrinking)

Observation showed that detection models often over-estimate polyp size. To counter this, the authors implemented a heuristic to shrink bounding boxes with a confidence score > 0.4 by 2% of their size, refining the final output for better metric performance.

Experimental Results

The ensemble approach demonstrated clear incremental gains over single-model baselines in the EndoCV2022 challenge. The final pipeline, combining the ensemble with post-processing, achieved a mean Average Precision (mAP) of 0.44 and an AP50 of 0.60.

Performance comparison of individual models and ensemble configurations across AP, AP50, and AP75 metrics.

Key insights from the results include:

  • Diversity Over Depth: Ensembling models with different augmentation intensities is more effective than ensembling identical models, as it captures both obvious and subtle polyps.
  • Tracking and Recall: While temporal tracking did not significantly improve the mAP score, it improved F2 scores. In clinical settings, a higher F2 score is often preferred because missing a polyp (false negative) is more dangerous than a brief false alarm.

Discussion and Future Work

The study confirms that heterogeneous ensembling and simple heuristic refinements like box shrinking can significantly boost detection performance. However, the authors noted that the computational overhead of running three large YOLOv5 models simultaneously may challenge real-time deployment. Future research will focus on more sophisticated temporal integration—such as recurrent architectures or transformers—to better "remember" polyp features across longer video sequences and further optimize the system for live clinical use.

Summary updated

BibTeX
@inproceedings{yamlahi2022heterogeneous,
  author = {Amine Yamlahi and Patrick Godau and Thuy Nuong Tran and Lucas-Raphael Muller and Tim Adler and Minu Tizabi and Michael Baumgartner and Paul Jäger and Lena Maier-Hein},
  title = {{Heterogeneous Model Ensemble For Automatic Polyp Detection and Tracking In Colonoscopy}},
  booktitle = {EndoCV@ISBI},
  year = {2022},
  url = {https://openreview.net/forum?id=i9OyvGZJ1JF},
}
Figure