Abstract: Existing weakly supervised semantic segmentation (WSSS) methods focus heavily on generating accurate pseudo-labels via Class Activation Maps (CAMs), often neglecting the robustness of the subsequent segmentation network training. This paper identifies an inconsistency between pseudo-label quality and final model performance, noting that errors are primarily concentrated at object boundaries. We propose BECO (Boundary-enhanced Co-training), which shifts the focus to robust learning. BECO employs a co-training paradigm with two interactive networks to handle uncertain pixels and a boundary-enhanced strategy that uses reliable predictions to synthesize artificial boundaries. Experiments on PASCAL VOC 2012 and MS COCO 2014 demonstrate that BECO achieves state-of-the-art performance across various CAM initializations.
Introduction
Semantic segmentation—the task of labeling every pixel in an image—usually requires expensive, pixel-perfect manual annotations. Weakly Supervised Semantic Segmentation (WSSS) tries to bypass this by training models using only image-level tags (e.g., "there is a dog in this photo"). The standard WSSS pipeline involves generating "pseudo-labels" (rough masks) using Class Activation Maps (CAMs) and then training a segmentation network using these noisy labels as ground truth.
Researchers have developed BECO (Boundary-enhanced Co-training), a new framework that shifts the focus from perfecting initial pseudo-labels to robustly training the model itself. By using two networks that teach each other and a novel "copy-paste" strategy to create artificial, reliable boundaries, BECO achieves state-of-the-art performance on major benchmarks.
The Problem: The Quality Paradox
A major insight of this work is the identification of a "Quality Paradox": better pseudo-labels do not always lead to a better final model. The authors observed an inconsistency where methods with higher-quality initial masks sometimes produced worse final segmentation results.
As illustrated in Figure 1, the noise in these pseudo-labels isn't random—it's concentrated at the boundaries of objects. Naively training on these noisy boundaries causes the model to overfit to errors, degrading its ability to generalize. This realization turned a general "noisy label" problem into a specific geometric problem centered on boundaries.
The BECO Framework
The authors propose BECO to introduce robustness into the second stage of training through two main innovations:
Co-training Paradigm (COT)
Instead of one network, BECO uses two parallel networks with the same architecture but different initializations. For pixels where the pseudo-labels are "uncertain" (low confidence), the networks use each other's online predictions as a guide. This "peer-teaching" prevents a single network from getting stuck in its own biased errors.
Boundary-enhanced Strategy
To tackle boundary noise, the authors create "artificial boundaries" with reliable labels. They take high-confidence object regions from one image and "copy-paste" them onto another image.
By applying a dilation-erosion operation to the mask of the pasted object, they identify the new artificial boundary. Since they know exactly where they pasted the object, the labels at these new boundaries are 100% accurate, allowing the model to learn sharp edges even when the original pseudo-labels are blurry. The training loss is then reweighted to prioritize these reliable artificial boundary pixels.
Experimental Results
BECO sets new records for WSSS performance on two industry-standard benchmarks:
- PASCAL VOC 2012: Achieved 73.7% mIoU on the validation set using a transformer-based backbone (MiT-B2), outperforming previous state-of-the-art methods like MCTformer and ViT-PCM.
- MS COCO 2014: Achieved 45.1% mIoU, a significant jump over previous methods like RIB (43.8%) and URN (40.7%).
Even when using just one of the two networks during inference to save on computation, the model still significantly outperformed the baseline, proving that the co-training process effectively "distills" knowledge into the individual networks.
Limitations and Future Work
While BECO is highly effective, the paper notes a few areas for further exploration. The method introduces hyperparameters like the boundary loss weight ($\lambda$) and the confidence threshold ($\tau$), which may require tuning for new datasets. Additionally, as a two-stage process, future work could look into integrating boundary enhancement into a single-stage, end-to-end framework. Finally, BECO still requires a reasonably decent initial CAM to identify "high-confidence" regions for the copy-paste strategy.
Summary updated