Abstract
Weakly Supervised Semantic Segmentation (WSSS) aims to reduce the heavy reliance on pixel-level annotations by utilizing simpler image-level labels. This paper presents a refined approach that intelligently modifies the initial object "cues" or seeds derived from standard image classifiers. By "snapping" coarse Class Activation Maps (CAMs) to super-pixel boundaries and fusing cues from both color and grayscale classifiers, the authors bridge the gap between image-level tags and complex pixel-level masks. The resulting framework achieves significant performance gains on the PASCAL VOC 2012 benchmark, rivaling more complex state-of-the-art systems.
Introduction
Semantic segmentation is a fundamental computer vision task that requires labeling every pixel in an image. Traditionally, this requires massive datasets of manually traced masks, which are expensive and time-consuming to produce. Weakly supervised methods attempt to mitigate this by using only image-level labels (e.g., "dog," "car").
Most existing WSSS methods rely on Class Activation Maps (CAMs) from pre-trained classifiers to estimate object locations. However, CAMs suffer from two primary limitations:
- Coarseness: They are typically blurry and do not align well with physical object boundaries.
- Incompleteness: Classifiers are "greedy"; they only need to identify the most discriminative part of an object (like a bird’s head) to make a correct image-level prediction, often ignoring the rest of the object's body.
Methodology
The authors build upon the SEC (Seed, Expand, and Constrain) framework, introducing three critical modifications to the training cues to address the limitations of standard CAMs.
Modified Cue Generation
The core of the proposal lies in how initial seeds are generated and refined before being used to train the segmentation network.
- Snapping to Super-pixels: To combat the coarseness of CAMs, the authors utilize an unsupervised super-pixel algorithm to partition the image into regions of similar color and texture. The CAM values are then "snapped" to these super-pixels, forcing the initial seeds to respect the natural boundaries present in the image.
- Color and Grayscale Fusion: Standard classifiers trained on color images may miss object parts due to high color variance or specific lighting conditions. By training a parallel classifier on grayscale images, the model is forced to focus on structural and textural information. The final cues are a fusion of both color-based and grayscale-based predictions using a logical OR operation.
- Decoupling Losses: In many WSSS models, a classification loss is maintained during segmentation training. The authors argue this is counter-productive, as classification loss encourages sparsity (focusing on discriminative parts), while segmentation requires density (covering the entire object). Consequently, they remove the classification loss during the segmentation phase.
Inference Amendment
During the testing phase, the original image classifier is used to "veto" classes that the segmentation network might have mistakenly predicted. This post-processing step effectively suppresses false positives by ensuring only classes present at the image level are considered in the final mask.
Experimental Setup
The method was evaluated on the PASCAL VOC 2012 dataset, a standard benchmark for semantic segmentation featuring 20 foreground classes. The authors utilized the "augmented" version of the dataset, providing approximately 12,000 training images. Two backbone architectures, ResNet-38 and ResNet-50, were tested to demonstrate the robustness of the approach.
Results and Discussion
The proposed modifications lead to substantial improvements in both qualitative and quantitative metrics.
Quantitative Performance
On the PASCAL VOC 2012 validation set, the ResNet-38 model achieved a 56.0% mIoU (mean Intersection over Union). This represents a significant improvement over the 50.7% mIoU achieved by the baseline SEC method. The results are competitive with state-of-the-art approaches like AffinityNet, while avoiding the need for complex "random walk" post-processing.
Qualitative Analysis
Visual inspections confirm that the "snapped" and "merged" cues produce significantly cleaner and more complete masks. As shown in the comparison below, the refined cues cover the entire bodies of animals and vehicles, rather than just the most discriminative features like heads or wheels.
Key Insights
- Grayscale as a Regularizer: Grayscale images act as a feature regularizer, forcing the network to learn "structural information" that might be obscured by color.
- Boundary Priors: Super-pixels provide a "free" source of geometric information, effectively cleaning up the noisy outputs typical of deep neural networks in weakly supervised settings.
Conclusion
By refining the way classifiers are used to generate initial segmentation seeds, this paper demonstrates that simple modifications—like super-pixel snapping and color-gray fusion—can significantly bridge the gap between weak and full supervision. While the method remains dependent on the quality of the initial classifier and super-pixel generation, it offers a more efficient and effective path toward high-quality semantic segmentation with minimal labeling effort.
Summary updated