Group-Wise Semantic Mining for Weakly Supervised Semantic Segmentation

Xueyi Li, Tianfei Zhou, Jianwu Li, Yi Zhou, Zhaoxiang Zhang

Introduction

Semantic segmentation—the task of assigning a category to every pixel in an image—is a cornerstone of computer vision. However, training robust models typically requires massive amounts of pixel-level masks, which are expensive and time-consuming to produce. Weakly Supervised Semantic Segmentation (WSSS) addresses this by using cheaper labels, such as image-level tags (e.g., "this image contains a cat").

The standard approach uses Class Activation Maps (CAMs) to identify discriminative regions. However, CAMs often only highlight the most "obvious" part of an object (like a bird’s head) rather than the whole body. This paper introduces a novel approach to WSSS by moving beyond single-image analysis to group-wise semantic mining.

The Evolution of WSSS Paradigms

Traditional WSSS methods primarily focus on individual images to generate pseudo-labels. While some recent advancements have explored pair-wise relationships to find commonalities across two images, these approaches often fail to capture the full semantic context required for complete object segmentation.

Comparison of training paradigms: (a) single-image, (b) pair-wise, and (c) the proposed group-wise training.

The proposed method argues that group-wise analysis provides a richer, more comprehensive semantic context. By looking at entire groups of images simultaneously, the model can compensate for missing information in one image using cues from others in the same group.

Methodology: Group-Wise Semantic Mining Network

The authors propose a framework that treats WSSS as a graph-based reasoning task. The process involves several key stages:

  1. Graph Construction: A mini-batch of images is represented as a graph where each image is a node. Edges are established between images that share at least one semantic category.
  2. Node & Edge Embedding: Features are extracted using a VGG16 backbone. To find correspondences between images, the authors use a bilinear matching model factorized into low-rank matrices for computational efficiency.
  3. Iterative Message Passing: The network utilizes a ConvGRU (Convolutional Gated Recurrent Unit) to perform iterative reasoning. In each step, nodes "talk" to their neighbors, refining their feature representations based on shared semantics within the group.
  4. Graph Dropout Layer: To address the "incomplete object" problem, a specialized dropout layer randomly suppresses the most highly activated regions during training. This forces the network to look for secondary, less obvious parts of the object (like the tail of a cat or the wheels of a car) to maintain classification accuracy.
  5. Pseudo-Label Generation: The refined features generate CAMs, which are combined with saliency maps to create pseudo-labels for training a standard segmentation model like DeepLab-v2.

Key Results and Insights

The proposed method achieved state-of-the-art results on major benchmarks:

  • PASCAL VOC 2012: Reached 68.2% mIoU on the validation set and 68.5% on the test set, outperforming previous leading methods.
  • MS COCO: Achieved 28.4% mIoU, a notable improvement over the previous best of 27.7%.

Ablation studies revealed that a group size of $K=3$ or $4$ was optimal. Larger groups introduced noise, while smaller groups lacked sufficient context. The core insight is that the absence of detailed supervision in one image can be compensated for by the presence of the same class in other images within a group.

Conclusion

By leveraging Graph Neural Networks for group-wise reasoning, this approach significantly improves the quality of pseudo-labels in weakly supervised settings. The iterative refinement and forced exploration via dropout allow the model to discover more complete object regions, leading to superior segmentation performance. While the method currently relies on external saliency models for background identification, it sets a new standard for mining semantic relationships across image groups.

Summary updated

BibTeX
@inproceedings{li2021group,
  author = {Xueyi Li and Tianfei Zhou and Jianwu Li and Yi Zhou and Zhaoxiang Zhang},
  title = {{Group-Wise Semantic Mining for Weakly Supervised Semantic Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i3.16294},
}
Figure