Self-Supervised and Semi-Supervised Polyp Segmentation using Synthetic Data

Enric Moreu, Eric Arazo, Kevin McGuinness, Noel E. O'ConnorarXiv 2023

TL;DR

This paper introduces PL-CUT-Seg and PL-CUT-Seg+, novel end-to-end frameworks that tackle the severe shortage of annotated medical images by combining synthetic data with self-supervised and semi-supervised learning. By translating computer-generated colon images into realistic domains and leveraging model-generated pseudo-labels for unlabeled real images, the approach achieves state-of-the-art polyp segmentation performance while drastically reducing the need for manual expert annotations.

What Problem Does This Paper Address?

Colorectal cancer prevention relies heavily on the early detection and removal of polyps during colonoscopies. While computer vision models can assist clinicians by automatically segmenting polyps, training these models typically requires massive amounts of pixel-level, manually annotated data.

In the medical domain, this creates a double bottleneck: data is scarce due to privacy and procedural constraints, and labeling requires hours of tedious work from expensive medical experts. While synthetic data (generated from 3D models) offers an infinite supply of perfectly labeled images, a massive domain gap exists between pristine synthetic graphics and noisy, real-world colonoscopy video feeds. This paper addresses how to effectively blend synthetic data with limited real-world data to train highly accurate segmentation models without relying on large, fully annotated datasets.

Methods

The authors propose an end-to-end architecture consisting of two primary stages:

  1. Image-to-Image Translation Stage: Utilizing Contrastive Unpaired Translation (CUT), a generative adversarial network (GAN) translates computer-generated synthetic images into the real-world colonoscopy domain. Contrastive learning terms ensure that the spatial structure and polyp locations from the synthetic masks are preserved during translation.
  2. Polyp Segmentation Stage: A segmentation network (HarDNet-MSEG) is trained on an "extended batch" containing a 50/50 mix of domain-adapted synthetic images (with perfect synthetic masks) and real-world images.
Fig. 1. Schematic of PL-CUT-Seg in the self-supervised scenario: two-stage architecture for polyp segmentation that leverages real-world data without annotations. Our end-to-end approach utilizes synthetic images, which are translated to the real-world domain, and incorporates pseudo-labeled real-world images within each mini-batch to narrow the gap between the training and testing distributions. This forces the segmentation model, U, to learn features that better generalize to real-world images.

To maximize the utility of unlabeled real images, the authors introduce pseudo-labeling: the model uses its own highly confident predictions as segmentation masks for unlabeled real data, updating these masks at the end of each epoch.

An enhanced version, PL-CUT-Seg+, introduces two key regularizations to further bridge the domain gap:

  • MixUp Data Augmentation: Blending images and soft segmentation masks together to prevent overfitting.
  • Confidence Masking: Filtering out low-confidence pixel predictions (thresholding at >0.999) so the model doesn't learn from its own incorrect pseudo-labels.

Datasets

  • Synthetic Dataset: 19,917 computer-generated image-mask pairs simulated from a 3D colon model.
  • Real-World Datasets: Standard benchmarks including Kvasir-SEG, CVC-ClinicDB, ETIS, CVC-ColonDB, and CVC-300.
  • Training Setup: The training set comprised 1,450 real samples (900 from Kvasir, 550 from CVC-ClinicDB), evaluated across self-supervised (0% real labels available) and semi-supervised (15% and 30% real labels available) paradigms.

Key Insights and Ideas

  • Exposing the Model to Real Images Matters: Previous methods only trained the segmentation network on translated synthetic images. PL-CUT-Seg proves that forcing the segmentation network to look at real images—even without ground-truth labels, via pseudo-labeling—drastically improves feature generalization.
  • Synthetic Data Shines in Scarcity: The impact of synthetic data becomes significantly more pronounced as the availability of real labels drops. It acts as a robust structural anchor for the model when real-world guidance is minimal.
  • The Regularization Paradox: While advanced regularization (MixUp and confidence masking in PL-CUT-Seg+) significantly boosts performance when some labels are present (15% or 30%), it can slightly hinder performance in purely self-supervised (0% label) settings. This implies that completely unsupervised setups require gentler regularization to avoid suppressing early, unrefined learning signals.

Key Results

The proposed models achieved state-of-the-art results across self-supervised and semi-supervised configurations, closing the performance gap toward fully supervised models.

Fig. 3. Synthetic images (first row) converted to the real-world domain (second row).
  • Purely Self-Supervised (0% Labels): On the Kvasir dataset, PL-CUT-Seg+ achieved a mean Dice (mDICE) score of 78.08 and an IoU of 68.77, a massive leap from the baseline CUT-Seg's mDICE of 63.82.
  • Semi-Supervised (30% Labels): With only 30% of the real data labeled, PL-CUT-Seg+ reached an mDICE of 86.94 on Kvasir, approaching the performance of fully supervised models trained on 100% labeled data (which score around 89.72).

Limitations and Future Work

A key limitation identified is dataset bias within the synthetic data itself. The synthetic colon model naturally shared more visual similarities (texture/style) with the Kvasir dataset than with CVC-ClinicDB. As a result, the performance gains were less pronounced when the model was trained and evaluated solely on CVC-ClinicDB.

The authors suggest that future work should focus on generating more diverse 3D synthetic environments to better mimic a wider variety of real-world medical imaging hardware and patient demographics.

Summary updated

BibTeX
@misc{moreu2023self,
  author = {Enric Moreu and Eric Arazo and Kevin McGuinness and Noel E. O'Connor},
  title = {{Self-Supervised and Semi-Supervised Polyp Segmentation using Synthetic Data}},
  year = {2023},
  eprint = {2307.12033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.12033},
}
Figure