Abstract
Training high-performing semantic segmentation models typically requires expensive, pixel-perfect manual labels. This paper explores a weakly supervised approach that eliminates the need for ground truth by employing regularized loss functions based on geometric and intensity priors. By integrating Sparse-CRF, volumetric, and positional losses with a novel annealing strategy, the proposed method achieves performance levels comparable to fully supervised models on single-class tasks and sets new benchmarks in unsupervised saliency detection.
Introduction
Semantic segmentation has reached impressive heights, yet the "data tax"—the significant cost of manually outlining every object in a dataset—remains a major barrier to scalability. Standard models rely on Cross-Entropy loss, which requires a pixel-level ground truth "teacher." While weak supervision using image-level tags or bounding boxes exists, these methods often rely on blurry Class Activation Maps (CAMs) that fail to capture full object boundaries.
Olga Veksler proposes a paradigm shift: supervising the network using the "laws of physics" for images rather than manual labels. By encoding classic principles of Conditional Random Fields (CRFs) directly into the loss function, a Convolutional Neural Network (CNN) can be trained from scratch without any pixel-level ground truth.
Methodology
The core innovation lies in replacing standard label-based loss with a combination of four unsupervised regularizers:
- Sparse-CRF Loss: This primary driver penalizes the network for placing segmentation boundaries where there are no corresponding edges in the original image.
- Volumetric Loss: To prevent the network from defaulting to an all-background prediction (which would yield zero loss), this term encourages the predicted object to fall within a reasonable size range.
- Positional Loss: A helper prior used in early training stages, assuming the object of interest is likely near the center and does not touch the image boundaries.
- Annealing Strategy: Training with these losses is inherently unstable. The authors introduce an annealing schedule for the edge-sensitivity parameter ($\sigma$). The network initially identifies "easy" boundaries and gradually refines the object shape as the criteria become more stringent.
Key Insights and Ideas
A critical finding of the research is that the Sparse-CRF loss is highly correlated with actual segmentation accuracy (F-measure). This validates the use of mathematical priors as a proxy for supervised learning. The annealing process is essential for this discovery; without it, training often fails to produce meaningful masks. By allowing the CNN to "discover" object appearance in a coarse-to-fine manner, the model effectively learns to segment through self-supervision.
Furthermore, the authors observed that weights learned on simpler datasets (like OxfordPet) can be transferred to more complex tasks, potentially bypassing the need for annealing in subsequent training phases.
Experimental Results
The method was evaluated across saliency detection, single-class segmentation, and co-segmentation tasks:
- OxfordPet: The regularized loss model performed within 1.45% to 1.76% of a fully supervised model.
- Saliency Detection: The approach achieved a state-of-the-art F-measure of 74.77 on the DUT-OMRON dataset, surpassing previous unsupervised methods.
- Multi-class Extension: When used to generate pseudo-labels for Pascal VOC 2012, the method reached a 67.1 mIoU, outperforming several contemporary weakly supervised pipelines.
Limitations and Future Work
While powerful, the current priors (center-bias and size constraints) are optimized for images with a single dominant object. The method may struggle with "stuff" classes like sky or grass, or images containing many small, scattered objects. Future work aims to develop a unified, end-to-end multi-class regularized loss and incorporate more complex geometric priors such as connectivity or convexity to further refine segmentation boundaries.
Summary updated