TL;DR
This paper introduces a novel framework for weakly-supervised semantic segmentation that replaces traditional random-walk label propagation with a Graph Convolutional Network (GCN)-based feature propagation scheme. By treating pseudo-label generation as a per-image semi-supervised learning task regularized by entropy and Laplacian losses, the authors achieve state-of-the-art results on the PASCAL VOC 2012 benchmark.
What Problem Does This Paper Address?
Semantic segmentation—the task of assigning a class label to every pixel in an image—typically requires massive amounts of pixel-level annotations, which are expensive and time-consuming to produce. Weakly-supervised semantic segmentation (WSSS) aims to train models using cheaper labels, such as image-level tags (e.g., "there is a dog in this image").
The standard pipeline for WSSS involves generating "Class Activation Maps" (CAMs) to identify seed regions of objects. Because CAMs are sparse and often only cover the most discriminative parts of an object, researchers use propagation techniques to expand these seeds into "complete pseudo labels" for full supervision. Historically, this has been done via random walks on an affinity matrix. However, random walks are feed-forward processes that lack regularization, often leading to noisy labels that don't respect object boundaries.
Methods
The authors propose a two-stage framework, focusing their innovation on the first stage: the generation of high-quality pseudo labels.
Stage 1: GCN-based Feature Propagation
Instead of propagating labels, the authors propagate high-level semantic features using a 2-layer GCN. The process is unique because they train a separate, small GCN for every single training image as a semi-supervised learning problem.
The GCN takes a graph where nodes are pixel-wise feature vectors and edges represent semantic affinity. To ensure the resulting pseudo labels are high-quality, the authors optimize the GCN using four loss functions:
- Foreground/Background Loss: Standard cross-entropy applied to the initial high-confidence CAM seeds.
- Entropy Loss: Applied to unlabeled pixels to encourage the model to make "sharp," confident predictions (approximating one-hot vectors).
- Laplacian Loss: A critical component that regularizes the GCN output using low-level color and spatial information. It ensures that neighboring pixels with similar colors are assigned the same class, helping the model snap to object boundaries.
Stage 2: Segmentation Training
Once the GCN produces complete pseudo labels, these labels are used as ground truth to train a standard segmentation backbone (like DeepLabv2 with ResNet-101) in a fully supervised manner.
Datasets
The authors evaluate their method on the PASCAL VOC 2012 semantic segmentation benchmark. This dataset consists of 20 foreground classes and one background class. They utilize the standard augmented training set of 10,582 images, but only use image-level labels for supervision.
Key Insights and Ideas
- Feature Propagation vs. Label Propagation: Traditional random walks propagate the scores (labels). This paper argues that propagating the underlying features through a learnable GCN allows for better integration of structural constraints.
- Per-Image Optimization: By training a GCN specifically for each image, the model can adapt to the unique spatial and color distributions of that specific scene, rather than trying to find a global propagation rule.
- The Synergy of Losses: The ablation study shows that while the GCN provides a baseline, the combination of Entropy and Laplacian losses provides a massive boost (4.7% mIoU improvement). The Laplacian loss, in particular, compensates for the fact that high-level semantic features often lose fine-grained spatial details.
Key Results
The proposed method, WSGCN, significantly outperforms previous propagation methods.
- Pseudo Label Quality: On the PASCAL VOC 2012 training set, the WSGCN-I variant achieved a 68.0% mIoU, outperforming the popular IRNet (66.5%) and PSA (59.7%) baselines.
- Final Segmentation Performance: When used to train a DeepLabv2 model, the framework achieved 68.7% mIoU on the validation set and 69.3% on the test set. This outperformed all competing methods that do not rely on additional supervision like saliency maps.
Limitations and Future Work
- Computational Overhead: Because the method requires training a GCN for every image, it is slower than feed-forward random walks. The authors note a runtime of 2.45s per image compared to 1.43s for IRNet. While acceptable for offline pseudo-label generation, it might be a bottleneck for massive datasets.
- Seed Dependency: Like all WSSS methods, the quality of the final segmentation is still heavily dependent on the quality of the initial CAM seeds. If the CAMs miss an object entirely, the GCN propagation cannot recover it.
- Future Directions: The authors suggest that their feature propagation scheme is flexible and could potentially work with even better affinity matrices or different graph architectures in the future.
Summary updated