Heterogeneous Model Ensemble For Automatic Polyp Segmentation In Endoscopic Video Sequences

Thuy Nuong Tran, Fabian Isensee, Lars Kra mer, Amine Yamlahi, Tim Adler, Patrick Godau, Minu Tizabi, Lena Maier-HeinEndoCV@ISBI 2022

Introduction

Colorectal cancer remains a leading cause of cancer-related mortality worldwide. However, it is highly preventable through the early detection and removal of precancerous polyps during colonoscopy procedures. While artificial intelligence (AI) has shown significant promise in assisting clinicians, automatic polyp segmentation—the precise pixel-level identification of polyps in video sequences—remains a complex challenge.

Existing models often struggle with three primary issues: generalizability across different clinical settings, temporal inconsistency (where detections "flicker" between consecutive frames), and scale variation, as polyps can range from minute spots to large, obstructive masses. To address these, researchers developed a multi-stage heterogeneous ensemble pipeline for the EndoCV2022 challenge.

Methodology

Data Curation and Quality Control

Recognizing that data quality is paramount, the team performed extensive manual review of the challenge dataset. They removed images with implausible or inconsistent annotations, prioritizing a high-quality curated set of 4,106 image-mask pairs over a larger, noisier dataset.

Heterogeneous Ensemble Architecture

The core of the system is an ensemble of three distinct deep learning architectures, each chosen for complementary strengths:

  1. nnU-Net: A self-configuring framework that provides a robust baseline for medical imaging tasks.
  2. HM-ANet (Hierarchical Multi-Scale Attention Network): Specifically selected for its ability to process high-resolution images and handle varying scales effectively.
  3. Efficient-UNet Ensemble: Utilizing EfficientNet backbones, this component included a variant with a Gated Recurrent Unit (GRU) layer to capture temporal dependencies across frames.
The proposed heterogeneous ensemble pipeline, integrating multiple architectures with size-based weighting and temporal post-processing.

Size-Based Weighting and Temporal Refinement

To optimize performance across the spectrum of polyp sizes, the pipeline employs a size-based weighting strategy. The HM-ANet model is given higher priority when the predicted polyp is either very small (≤ 0.4% of the image area) or very large (≥ 9% of the image area).

Classification of polyp sizes (small, medium, and large) used to determine model weighting during ensembling.

Furthermore, the system addresses temporal flickering through a post-processing reweighting scheme. If a frame is initially predicted as "polyp-negative" but its neighboring frames are positive and share a high Structural Similarity Index (SSIM > 0.9), the system re-evaluates the individual model predictions to recover potentially missed segmentations.

Key Results and Insights

  • Segmentation Accuracy: The final ensemble achieved a mean Dice Similarity Coefficient (DSC) of 0.70 in 4-fold cross-validation.
  • Model Specialization: HM-ANet emerged as the strongest individual performer, particularly on the "small and large" subsets, where reweighting helped it reach a DSC of 0.74.
  • Temporal Coherence: The SSIM-based post-processing successfully resolved false negatives in sequences where the camera remained relatively stable, ensuring the polyp did not "disappear" due to minor lighting or angle changes.
  • Processing Speed: The system operates at 0.71 frames per second (fps). While highly accurate, this speed is currently below the threshold required for real-time clinical use (typically 30+ fps).

Discussion and Future Directions

The study demonstrates that architectural diversity and temporal sanity checks can significantly improve segmentation robustness. The primary trade-off is computational overhead; the reliance on multiple large models prevents real-time application.

Future work will focus on "knowledge distillation," where the insights from this complex ensemble are used to train a single, lightweight model capable of maintaining high accuracy at real-time speeds. Additionally, the success of manual data cleaning highlights a critical need for more sophisticated automated tools to manage noisy labels in large-scale medical datasets.

Summary updated

BibTeX
@inproceedings{tran2022heterogeneous,
  author = {Thuy Nuong Tran and Fabian Isensee and Lars Kra mer and Amine Yamlahi and Tim Adler and Patrick Godau and Minu Tizabi and Lena Maier-Hein},
  title = {{Heterogeneous Model Ensemble For Automatic Polyp Segmentation In Endoscopic Video Sequences}},
  booktitle = {EndoCV@ISBI},
  year = {2022},
  url = {https://openreview.net/forum?id=LYprmlILOU},
}
Figure