Weakly-Supervised Semantic Segmentation via Sub-Category Exploration

Yu-Ting Chang, Qiaosong Wang, Wei-Chih Hung, Robinson Piramuthu, Yi-Hsuan Tsai, Ming-Hsuan Yang

Abstract

Weakly-supervised semantic segmentation (WSSS) aims to reduce the high cost of pixel-level annotations by leveraging image-level labels. However, standard Class Activation Maps (CAMs) often suffer from a "laziness" problem, where the network focuses only on the most discriminative object parts. This paper proposes a self-supervised "sub-category exploration" framework that forces the network to distinguish between automatically discovered sub-groups within a class. This harder task encourages the model to learn more comprehensive object representations, significantly improving the quality of initial response maps and final segmentation performance.

Introduction

Semantic segmentation is a fundamental computer vision task that typically requires expensive pixel-wise annotations. To mitigate this, weakly-supervised methods utilize image-level labels to generate initial object seeds, usually via Class Activation Maps (CAMs). While effective, CAMs are often incomplete because classification networks only need to identify the most discriminative features (e.g., a bird's head or a car's wheel) to satisfy the training objective. This "sparse response" issue limits the accuracy of subsequent segmentation models.

This paper addresses the sparse response problem at its source by introducing a sub-category exploration task. By partitioning each parent class into multiple sub-categories based on feature similarity, the network is challenged to learn finer details to differentiate between these sub-groups, thereby capturing the full extent of the object.

Methodology

The proposed framework iteratively refines object representations through a joint training process involving feature extraction, clustering, and classification.

1. Feature Extraction and Sub-category Discovery

The process begins by passing input images through a feature extractor (e.g., ResNet-38). For each annotated "parent" class, K-means clustering is performed on the extracted features across the dataset to identify $K$ sub-categories. These clusters serve as pseudo-labels for a self-supervised classification task.

2. Joint Training and Iterative Optimization

The network is trained simultaneously on two objectives:

  • Parent Classification: Supervised learning using standard image-level labels.
  • Sub-category Classification: Self-supervised learning where the network predicts the cluster assignment of an image.
Overview of the proposed framework, illustrating the joint training of parent and sub-category classifiers.

As the network's features improve through training, the clusters become more semantically meaningful—capturing variations in pose, size, or context—which in turn provides a more challenging signal for the sub-category classifier. This iterative cycle forces the model to attend to the entire object body rather than just its most salient parts.

Results and Discussion

The method was evaluated on the PASCAL VOC 2012 benchmark. The sub-category exploration task significantly improved the quality of the initial response maps and final segmentation results.

Quantitative Performance

On the PASCAL VOC training set, the proposed method increased the initial CAM mIoU from 48.0% to 50.9%. After applying standard refinement techniques like Random Walk (RW), the mIoU reached 63.4%, a substantial improvement over the 58.1% achieved by the baseline. The final segmentation model reached a state-of-the-art 66.1% mIoU on the validation set, outperforming contemporary methods like FickleNet (64.9%) and OAA (63.9%). The performance was found to be robust across different values of $K$, with $K=10$ being optimal for this dataset.

Qualitative Analysis

Visual comparisons demonstrate that the proposed method produces much more complete activation maps than standard CAMs. While CAMs often focus on small, highly discriminative regions, the sub-category exploration maps cover the majority of the object's extent.

Qualitative comparison between standard CAM and the proposed method across various categories.

The unsupervised clustering naturally captures semantic variations such as object pose, size, and co-occurrence, forcing the network to look beyond the most obvious features to correctly classify sub-categories.

Conclusion

By introducing a self-supervised sub-category exploration task, this work effectively addresses the sparse response problem in WSSS. The approach demonstrates that challenging the network with a more granular classification task leads to more robust and comprehensive feature representations. Future work may explore adaptive methods for determining the optimal number of sub-categories ($K$) per class to further enhance performance and efficiency.

Summary updated

BibTeX
@inproceedings{chang2020weakly,
  author = {Yu-Ting Chang and Qiaosong Wang and Wei-Chih Hung and Robinson Piramuthu and Yi-Hsuan Tsai and Ming-Hsuan Yang},
  title = {{Weakly-Supervised Semantic Segmentation via Sub-Category Exploration}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00901},
}
Figure