NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ScribblePolyp: Scribble-Supervised Polyp Segmentation through Dual Consistency Alignment

Zixun Zhang, Yuncheng Jiang, Jun Wei, Hannah Cui, Zhen LiarXiv 2023

TL;DR

ScribblePolyp is a novel framework that trains high-performance polyp segmentation models using only simple "scribble" annotations instead of costly pixel-level masks. By employing a dual consistency alignment strategy—matching predictions across different image transformations and propagating labels via pixel similarity—it achieves performance remarkably close to fully supervised methods with a fraction of the labeling effort.

What Problem Does This Paper Address?

Early detection of polyps during colonoscopies is critical for preventing colorectal cancer. While deep learning has revolutionized automatic polyp segmentation, these models are notoriously "data-hungry." They typically require thousands of images with precise, pixel-level masks (ground truth) created by expert clinicians. This process is incredibly time-consuming and expensive.

Weakly supervised learning offers a solution by using simpler annotations like bounding boxes or scribbles. However, as shown in the paper's analysis, scribble annotations leave over 90% of pixels unlabeled (see Figure 1).

Comparison of annotation types and their label density.

Existing methods to handle these unlabeled regions often rely on complex "teacher-student" architectures or "moving average" pseudo-labels, which are computationally heavy and prone to accumulating errors over time. ScribblePolyp aims to provide a more efficient, accurate way to supervise these unlabeled regions without the overhead of auxiliary models.

Methods

The ScribblePolyp framework introduces Dual Consistency Alignment to provide supervision for the vast majority of pixels that lack a scribble label. It consists of two main branches:

  1. Transformation Consistency Alignment (TC): This branch ensures the model remains stable regardless of how the input image is viewed. It enforces two types of consistency:
  2. Scale Consistency: The model should produce the same segmentation mask whether the image is resized or at its original resolution.
  3. Local-Global Consistency: Predictions for a small cropped "patch" of an image should match the corresponding section of the prediction for the full "global" image.
  4. Affinity Propagation Alignment (AP): This branch leverages the model's internal features to understand pixel relationships. It builds an "affinity map"—a similarity matrix that identifies which pixels look alike. It then uses this map to "propagate" the sparse scribble labels to similar-looking unlabeled pixels, creating a "soft prediction" that serves as additional supervision.
The ScribblePolyp architecture showing the Dual Consistency Alignment branches.

Finally, the authors incorporate a simple self-training step. Once the model is trained with dual consistency, it generates a one-time set of pseudo-labels to refine a final version of the model, further boosting accuracy.

Datasets

The researchers evaluated their method on the SUN-SEG dataset, a large-scale benchmark for video polyp segmentation.

  • Source: Based on the SUN Database, containing 285 video clips from 100 distinct cases.
  • Scale: The study used a standard split of 6,677 frames for training, 1,240 for validation, and 1,993 for testing.

Key Insights and Ideas

  • Implicit vs. Explicit Constraints: In fully supervised learning, data augmentation (like resizing) implicitly teaches the model to be transformation-invariant because the labels are transformed along with the images. In scribble-supervised learning, this constraint is lost. ScribblePolyp explicitly re-introduces this constraint through its TC branch.
  • Multi-level Feature Leveraging: The Affinity Propagation branch doesn't just use one layer of the neural network; it uses multi-scale features from the encoder to capture both fine details and broader context when determining pixel similarity (see Figure 3).
  • Efficiency is Key: By avoiding "Mean Teacher" models or complex moving averages, ScribblePolyp is faster to train and avoids the "confirmation bias" where a model might get stuck learning from its own incorrect, evolving pseudo-labels.
Fig. 3. Procedure of multi-level affinity propagation. The softmax operation is omitted in the figure.

Key Results

ScribblePolyp sets a new state-of-the-art for scribble-supervised polyp segmentation:

  • Performance: It achieved a Dice score of 0.8155, which improved to 0.8302 with self-training.
  • Comparison: It outperformed the previous best method (Scribble2Label) by 3.2% in IoU (Intersection over Union) and 7.4% in Precision.
  • Closing the Gap: Most impressively, ScribblePolyp (0.8302 Dice) trails the fully supervised SANet model (0.8705 Dice) by only 4.6%, despite using significantly less annotation effort.
Quantitative comparison of ScribblePolyp against other methods.

Limitations and Future Work

While the paper demonstrates excellent results, a few areas remain for exploration:

  • Generalization: While the authors note ScribblePolyp can be combined with most segmentation backbones, the experiments primarily focused on SANet. Testing with more recent Transformer-based architectures could be a logical next step.
  • Video Temporal Consistency: Although SUN-SEG is a video dataset, the current framework treats frames somewhat independently. Future work could leverage temporal consistency (similarity between consecutive video frames) to further improve supervision.
  • Extreme Sparsity: The paper uses "two lines" per image; exploring the lower limits of supervision (e.g., a single point) would be an interesting stress test for the affinity propagation branch.

Summary updated

BibTeX
@misc{zhang2023scribblepolyp,
  author = {Zixun Zhang and Yuncheng Jiang and Jun Wei and Hannah Cui and Zhen Li},
  title = {{ScribblePolyp: Scribble-Supervised Polyp Segmentation through Dual Consistency Alignment}},
  year = {2023},
  eprint = {2311.05122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.05122},
}
Figure