Abstract
Colorectal cancer (CRC) remains a leading cause of cancer-related mortality worldwide, yet it is highly preventable through early detection and segmentation of polyps during colonoscopy. While deep learning has significantly advanced medical image segmentation, the field is constrained by the "annotation gap"—the scarcity of expensive, pixel-level masks compared to the abundance of low-cost bounding box labels. This paper presents BoxPolyp, a novel framework designed to leverage these "cheap" labels to enhance model robustness and generalization. By integrating a Fusion Filter Sampling (FFS) module for quality control and an Image Consistency (IC) loss for cross-architecture agreement, BoxPolyp achieves new state-of-the-art results across multiple challenging benchmarks.
Introduction
In the clinical workflow of a colonoscopy, the precise segmentation of polyps is critical for diagnosis and surgical planning. However, training high-performing segmentation models requires vast amounts of data. In medical imaging, we face a significant bottleneck: creating precise, pixel-by-pixel masks requires expert knowledge and is incredibly time-consuming. Consequently, most high-quality datasets are limited to fewer than 1,500 images. This scarcity often leads to overfitting, where models perform well on training data but fail to generalize to the diverse appearances of polyps encountered in different clinical environments.
Conversely, bounding box annotations are much easier to obtain, leading to larger datasets like LDPolypVideo, which contains over 40,000 frames. However, these boxes are "noisy"—they include background pixels, may be inaccurately placed, or appear in blurred frames. The challenge addressed by BoxPolyp is how to effectively utilize this massive but imperfect data source to improve segmentation performance without being misled by its inherent noise.
Methodology
BoxPolyp is designed as a "plug-and-play" framework that can be integrated with various neural network backbones. The system relies on two core innovations to bridge the gap between coarse boxes and precise masks.
Fusion Filter Sampling (FFS)
Rather than treating all bounding box data as ground truth, the FFS module acts as a rigorous quality controller. It operates in two stages:
- Object-level Filtering: The framework uses a model pre-trained on a small set of high-quality masks to generate initial predictions on the box-annotated data. If the overlap (Dice score) between the prediction and the bounding box is below 0.7, the sample is flagged as "noisy" (potentially due to motion blur or mislabeling) and discarded.
- Pixel-level Refinement: For the samples that pass the filter, the FFS generates a pseudo-label. It defines the foreground as the intersection where both the box and the prediction agree a polyp exists, and the background where both agree there is none. Regions of disagreement are marked as "uncertain," ensuring the model is not forced to learn from ambiguous pixels.
Image Consistency (IC) Loss
To address the "uncertain" regions identified by the FFS, the authors introduce a consistency-based learning strategy. Instead of relying on a potentially incorrect label, the framework passes the image through two architecturally distinct networks: a Res2Net (a CNN optimized for local texture patterns) and a Pyramid Vision Transformer (PVT) (focused on global context).
The IC loss penalizes disagreements between these two different "perspectives." By forcing a CNN and a Transformer to reach a consensus on uncertain pixels, the model learns to extract robust, invariant features of polyps that are consistent across different mathematical representations of the image.
Experimental Results
The BoxPolyp framework was evaluated using a combination of 1,451 mask-annotated images and 40,266 box-annotated frames from the LDPolypVideo dataset. Testing was conducted across five major benchmarks: Kvasir, CVC-ClinicDB, CVC-ColonDB, EndoScene, and ETIS.
Quantitative Performance
BoxPolyp significantly outperformed previous state-of-the-art (SOTA) models such as PraNet and SANet. The most notable improvement occurred on the ETIS dataset, which is widely considered the most difficult benchmark due to small polyp sizes and low contrast. On ETIS, BoxPolyp improved the Dice score from approximately 0.75 to 0.84.
Across all five datasets, the BoxPolyp-PVT variant achieved a weighted average Dice score of 0.851, surpassing the previous SOTA of 0.833. These results demonstrate that the inclusion of filtered, coarse-labeled data provides a substantial boost to the model's ability to generalize to unseen data.
Qualitative Analysis
Visual inspections of the segmentation outputs reveal that BoxPolyp is particularly effective at suppressing false positives. While standard models often mistake background folds or shadows for polyps, BoxPolyp maintains a cleaner output. Furthermore, the boundaries of the segmented polyps are significantly more precise, even in challenging, low-contrast frames where the polyp blends into the surrounding tissue.
Conclusion
BoxPolyp demonstrates that in medical AI, data quality and architectural diversity are just as important as data quantity. By intelligently filtering noisy bounding boxes and using cross-architecture consistency to resolve uncertainty, the framework effectively bridges the gap between "cheap" labels and high-performance segmentation. While the system still requires a small initial set of pixel-level masks for pre-training, it represents a major step toward more scalable and robust medical imaging tools. Future research may focus on fully weakly-supervised methods to further reduce the reliance on expert-annotated masks.
Summary updated