Abstract
Weakly-supervised semantic segmentation often relies on generating "fake" full-label masks from sparse inputs, a process prone to error propagation and computational inefficiency. This paper proposes a "Regularized Loss" framework that integrates classical image regularizers—such as Dense CRFs and Normalized Cuts—directly into the CNN loss function. By optimizing these regularizers via gradient descent, the method avoids the pitfalls of proposal generation. On the PASCAL VOC 2012 benchmark, the proposed Kernel Cut loss achieves 75.0% mIOU with scribble supervision, reaching 97.6% of the performance of fully supervised models while significantly improving training efficiency.
Introduction
Training deep networks for semantic segmentation typically requires pixel-perfect ground truth masks, which are expensive and time-consuming to produce. Weak supervision (e.g., using scribbles, bounding boxes, or image-level tags) offers a cheaper alternative but necessitates a way to train dense outputs from sparse inputs. The dominant "proposal generation" approach uses shallow segmentation methods to hallucinate full masks, which are then used as training targets. However, this leads to error propagation where the CNN learns the mistakes of the initial proposal and introduces significant computational overhead due to iterative inference steps during the training loop.
Methodology: Regularized Loss Framework
The authors propose replacing proposal generation with a differentiable loss function that incorporates structural priors directly into the training process.
Loss Components
- Potts/CRF Loss: A quadratic relaxation of the standard Potts model using a dense Gaussian kernel. This encourages the network to produce labels that align with image edges and maintain color consistency.
- Normalized Cut (NC) Loss: This term promotes balanced partitioning, preventing the network from collapsing into trivial solutions, such as assigning all pixels to the background.
- Kernel Cut (KC) Loss: The paper's primary contribution, which uses a linear combination of the CRF loss (for boundary alignment) and the Normalized Cut loss (for regional clustering).
Efficient Optimization
To handle the $O(N^2)$ complexity of dense pairwise calculations, the authors utilize fast bilateral filtering (specifically the permutohedral lattice). This allows for gradient computation in linear time, making high-order losses feasible for deep learning. Furthermore, the authors demonstrate that simple gradient descent on these regularized losses is more effective and faster than traditional alternating optimization schemes like the Alternating Direction Method (ADM).
Experimental Results
The framework was evaluated primarily on the PASCAL VOC 2012 dataset using scribble annotations to simulate weak supervision.
Performance and Efficiency
As shown in Figure 1, the ResNet101-based model using Kernel Cut loss achieved 75.0% mIOU, remarkably close to the 76.8% mIOU achieved with full pixel-level supervision. This represents a significant closing of the gap between weak and full supervision. Additionally, the direct CRF loss layer proved to be approximately 3x faster than previous boundary-constrained layers used in frameworks like SEC (Seed, Expand, Constrain).
Robustness to Sparsity
The method exhibits significant robustness to annotation sparsity. Even when scribbles were reduced to a single click (0% length), the regularized loss maintained much higher accuracy than previous state-of-the-art methods like ScribbleSup.
Conclusion
By treating classical regularizers as differentiable losses, this work simplifies the pipeline for weakly-supervised segmentation. The approach eliminates the need for "fake" masks, reduces computational complexity, and nearly closes the performance gap with full supervision. While the authors noted that these regularizers can slightly decrease performance in fully supervised settings—likely due to minor misalignments between the regularizer and the true ground truth—their utility in weak supervision is clear. Future work may explore different relaxation types and extend this framework to other vision tasks requiring structural priors.
Summary updated