Abstract: Training semantic segmentation models typically requires dense pixel-level annotations, which are labor-intensive and expensive to obtain. Weakly Supervised Semantic Segmentation (WSSS) aims to bypass this by using cheaper image-level tags. However, traditional WSSS methods rely on complex, multi-stage pipelines that are prone to error propagation. This paper introduces a streamlined single-stage framework that eliminates the need for multi-step training. By incorporating novel modules—Normalized Global Weighted Pooling (nGWP), Pixel-Adaptive Mask Refinement (PAMR), and a Stochastic Gate (SG)—the proposed method achieves results on the Pascal VOC 2012 benchmark that rival sophisticated multi-stage systems while being significantly simpler to implement.
The Challenge of Weak Supervision
Semantic segmentation involves labeling every pixel in an image with a class category. In the weakly supervised setting, models must learn these fine-grained boundaries from coarse image-level labels (e.g., "this image contains a cat").
Traditionally, this is treated as a multi-stage "relay race": first training a classifier to produce Class Activation Maps (CAMs), then refining these maps into "pseudo-labels" using external tools like saliency detectors, and finally training a segmentation model on those labels. This process is cumbersome and often fails because models tend to focus only on the most "discriminative" parts of an object—such as a bird's beak rather than its entire body—leading to incomplete and inaccurate masks.
A Unified Single-Stage Framework
The authors identify three pillars for successful single-stage WSSS: local consistency (nearby similar pixels should share labels), semantic fidelity (labels must match image tags), and completeness (the whole object must be covered). To address these, they propose a unified architecture that trains end-to-end.
Key Components
- Normalized Global Weighted Pooling (nGWP): Unlike standard pooling, nGWP uses the model's own predicted segmentation masks to weight classification scores. It includes a "focal mask penalty" that encourages the model to expand its masks to cover the entire object to satisfy the classification loss, effectively using classification as a proxy for full-object segmentation.
- Pixel-Adaptive Mask Refinement (PAMR): This parameter-free module runs during training to ensure predicted masks respect object boundaries. By analyzing the raw RGB image, PAMR nudges the model to assign the same label to neighboring pixels that are similar in color and spatial location.
- Stochastic Gate (SG): To prevent the model from overfitting to its own noisy, self-generated pseudo-labels, the Stochastic Gate acts as a regularizer. It randomly mixes deep features (high semantic meaning) with shallow features (high spatial detail), preventing the "memorization" of early errors.
Experimental Results
The model was evaluated on the Pascal VOC 2012 benchmark using 10,582 training images with only image-level labels. The method achieved a 62.7% mIoU on the validation set and 64.3% on the test set.
These results are significant because they outperform previous single-stage methods—which typically achieved mIoU scores in the 30-50% range—and even surpass several multi-stage methods that utilized additional supervision, such as pre-trained saliency maps. The single-stage nature of the framework also provides a major efficiency boost, removing the overhead of generating intermediate datasets and training multiple separate models.
Conclusion
This work demonstrates that the complexity of multi-stage weakly supervised segmentation can be distilled into a single, efficient training process. By designing loss functions and modules that enforce completeness and local consistency simultaneously, the gap between weakly supervised and fully supervised segmentation continues to close. Future work may extend this "single-stage" philosophy to video data or incorporate minimal auxiliary supervision, such as points or scribbles, to further refine boundary accuracy.
Summary updated