Abstract
Automated polyp segmentation is a critical component in the early detection and prevention of colorectal cancer. However, the development of high-performance deep learning models is frequently hindered by the "data bottleneck"—the high cost and expert labor required to produce pixel-perfect masks. This paper discusses MixPolyp, a novel training paradigm designed to break the traditional reliance on single-label-type datasets. By integrating expensive pixel-level masks with high-volume, low-cost bounding box and scribble annotations, MixPolyp achieves state-of-the-art (SOTA) performance. Through three specialized loss functions, the framework effectively leverages diverse supervision signals to improve generalization across multiple clinical benchmarks without increasing inference-time computational overhead.
1. Introduction
In the domain of medical imaging, the performance of segmentation models like U-Net is often proportional to the quality and quantity of annotated data. For polyp segmentation, creating dense pixel-level masks is a labor-intensive process requiring significant clinical expertise. While weakly supervised learning (WSL) methods—using bounding boxes or scribbles—have been proposed to mitigate this cost, they typically suffer from specific biases. Bounding boxes often introduce "box bias," where models learn to predict rectangular shapes, while scribbles provide extremely sparse signals, leaving the model without guidance for the majority of the image pixels.
Furthermore, most existing frameworks are "siloed," meaning they are designed to handle only one type of annotation at a time. MixPolyp addresses these challenges by providing a unified framework that trains on a mixture of mask, box, and scribble data simultaneously, turning the variety of available clinical data into a competitive advantage.
2. Methodology
MixPolyp is built upon a PVTv2-B2 backbone, though its core innovations are "plug-and-play" loss functions that can be integrated into various architectures. The framework focuses on three primary objectives to handle heterogeneous supervision.
2.1 Subspace Projection Loss ($\mathcal{L}_{SP}$)
To utilize bounding boxes without inheriting their rectangular geometry, MixPolyp employs Subspace Projection. This method projects the 2D predicted mask and the 2D box annotation into 1D vectors along the horizontal and vertical axes using max pooling. By supervising these 1D "shadows" rather than the 2D mask directly, the model learns the precise location and spatial extent of the polyp while remaining free to predict non-rectangular, organic boundaries.
2.2 Binary Minimum Entropy Loss ($\mathcal{L}_{BME}$)
Scribble annotations provide labels for only a tiny fraction of pixels. To provide guidance for the remaining unlabeled regions, MixPolyp applies the principle of minimum entropy. $\mathcal{L}_{BME}$ encourages the model to make confident predictions (approaching 0 or 1) in unlabeled areas. This prevents the model from producing ambiguous, low-confidence probability maps and encourages the formation of sharp, decisive object boundaries.
2.3 Linear Regularization Loss ($\mathcal{L}_{LR}$)
To ensure consistency across the different supervision branches, the authors introduce a "Linear Fusion" strategy. Synthetic training samples are created by blending fully annotated images with weakly annotated ones. $\mathcal{L}_{LR}$ then enforces consistency between the model's predictions on these mixed images and their corresponding pseudo-labels. This mechanism effectively transfers high-quality spatial knowledge from the mask-supervised branch to the box and scribble branches.
3. Experimental Setup and Results
3.1 Datasets
The study utilized an extensive multi-source dataset to validate the framework:
- Fully Supervised: 1,451 images with pixel-level masks (Kvasir, CVC-ClinicDB, etc.).
- Box Supervised: 33,884 samples from the LDPolypVideo dataset.
- Scribble Supervised: 49,136 samples from the SUN-SEG dataset.
Evaluation was conducted across five standard benchmarks: Kvasir, ClinicDB, ColonDB, EndoScene, and ETIS.
3.2 Performance Metrics
MixPolyp demonstrated superior performance compared to nine SOTA models. On a weighted average (wAVG) across all test sets, the model achieved a Dice score of 85.9% and an Intersection over Union (IoU) of 78.5%. This represents a 1.7% improvement in Dice score over the previous leading model, HSNet.
Ablation studies confirmed the value of the multi-supervision approach. A baseline model trained only on masks achieved an 80.6% Dice score. The addition of the box branch ($\mathcal{L}_{SP}$) raised this to 84.0%, and the inclusion of scribble data and linear regularization further pushed the performance to the final 85.9%.
4. Discussion and Key Insights
The primary takeaway from MixPolyp is that in medical imaging, quantity can have a quality of its own. A model trained on a small set of high-quality masks supplemented by a massive volume of "noisy" or weak labels can significantly outperform models restricted to high-quality data alone. The sheer volume of weak data helps the model generalize to the diverse shapes, sizes, and textures of polyps encountered in real-world clinical settings.
Crucially, because the complexity of MixPolyp is contained entirely within the training loss functions, the final deployed model maintains the same inference speed as a standard segmentation network, making it highly suitable for real-time clinical applications.
5. Conclusion and Future Work
MixPolyp provides a robust solution to the data scarcity problem in polyp segmentation. By decoupling object shape from supervision type and enforcing consistency across data sources, it sets a new benchmark for the field. Future research may explore the inclusion of even cheaper labels, such as single-point prompts or natural language descriptions, and investigate more sophisticated attention-based fusion methods to further refine the regularization process.
Summary updated