Weakly Supervised Semantic Segmentation Via Progressive Patch Learning

Jinlong Li, Zequn Jie, Xu Wang, Yu Zhou, Xiaolin Wei, Lin Ma

TL;DR

This paper introduces Progressive Patch Learning (PPL), a novel approach to weakly supervised semantic segmentation that forces neural networks to look beyond the most obvious parts of an object. By breaking feature maps into patches and processing them independently, the model is compelled to discover "weak" discriminative details, resulting in more complete object masks using only image-level labels.

What Problem Does This Paper Address?

Semantic segmentation—the task of assigning a category label to every pixel in an image—usually requires massive amounts of hand-annotated, pixel-perfect data. To reduce this labor, researchers use Weakly Supervised Semantic Segmentation (WSSS), which often relies only on image-level tags (e.g., "there is a bird in this image").

The standard tool for WSSS is the Class Activation Map (CAM). However, CAMs have a notorious "partial localization" problem: because a classification network only needs to see the most distinctive feature (like a bird’s beak) to identify the category, the resulting CAM only highlights that small part. For segmentation, we need the whole bird. Existing fixes often involve complex iterative erasing or saliency maps, which can be cumbersome or introduce background noise.

Methods

The authors propose a two-pronged strategy to force the network to "see" the entire object:

  1. Patch Learning (PL): The core idea is to "destruct" the global structure of feature maps. The network slices feature maps into $K \times K$ patches. Each patch is processed independently by subsequent layers before being reassembled (the Merge Operation). Because the network can no longer rely on a single global "hotspot," it is forced to find discriminative features within every local patch to maintain classification accuracy.
  2. Progressive Training (Implicit Fusion): Objects come in different sizes and complexities. The authors apply Patch Learning at different stages of the ResNet backbone (Stages 2, 3, and 4) in a multi-stage training process. They start with fine-grained patches at lower layers and move to coarser patches at higher layers, fixing previous layers to retain the "locality-sensitive" information learned earlier.
  3. Explicit Fusion: As an alternative, they propose a multi-branch architecture where different branches apply patch destruction at different layers simultaneously. These features are concatenated, allowing the model to fuse multi-granularity information in a single forward pass.

Datasets

The researchers evaluated their approach on two major computer vision benchmarks:

  • PASCAL VOC 2012: The gold standard for WSSS, featuring 21 classes. They used the augmented training set (10,582 images) and evaluated on the official validation and test sets.
  • MS COCO 2014: A more challenging, large-scale dataset with 80 object classes, used to demonstrate the scalability of the method.

Key Insights and Ideas

  • Destruction as a Teacher: By deliberately damaging the network's "global vision," the authors actually make the feature extractors more robust. If the network can't see the whole dog, it has to learn what a dog's paw, tail, and fur look like individually.
  • Granularity Matters: Breaking a feature map into $2 \times 2$ vs. $6 \times 6$ patches captures different levels of detail. The "Progressive" part of PPL ensures the model doesn't just focus on tiny textures but also understands how those textures form larger object parts.
  • Implicit vs. Explicit: The paper shows that while training progressively (Implicit) is memory-efficient and effective, training all branches at once (Explicit) provides the best results by allowing the model to weigh different granularities against each other.

Key Results

The PPL method achieved state-of-the-art results for WSSS using only image-level labels:

  • PASCAL VOC 2012: The method reached 69.6% mIoU on the test set, surpassing well-known competitors like IRNet (64.8%) and SEAM (65.7%).
  • CAM Quality: On the VOC 2012 training set, PPL improved the initial CAM seed from a baseline of 48.4% mIoU to 51.0%. After refinement with IRNet, the pseudo-labels reached 68.5% mIoU.
  • Visual Improvement: Qualitative results show that while baseline CAMs might only highlight a bird's head, PPL-generated maps consistently cover the wings, body, and tail, providing a much cleaner mask for the final segmentation model.

Limitations and Future Work

  • Computational Overhead: The "Explicit Fusion" method, while high-performing, requires more GPU memory because it maintains multiple parallel branches during training.
  • Refinement Dependency: Like most WSSS methods, PPL still relies on a second-stage refinement (like IRNet or CRF) to sharpen boundaries. The authors suggest that integrating patch learning more deeply into an end-to-end segmentation framework could be a promising future direction.
  • Hyperparameter Sensitivity: The choice of $K$ (patch grid size) for different stages requires some tuning to match the receptive fields of the underlying architecture.

Summary updated

BibTeX
@article{li2023weakly,
  author = {Jinlong Li and Zequn Jie and Xu Wang and Yu Zhou and Xiaolin Wei and Lin Ma},
  title = {{Weakly Supervised Semantic Segmentation Via Progressive Patch Learning}},
  journal = {IEEE Trans. Multimedia},
  year = {2023},
  doi = {10.1109/tmm.2022.3152388},
}
Figure