Weakly-Supervised Semantic Segmentation by Iteratively Mining Common Object Features

Xiang Wang, Shaodi You, Xi Li, Huimin Ma

Abstract

Weakly-supervised semantic segmentation under image tags supervision is a challenging task as it directly associates high-level semantic to low-level appearance. To bridge this gap, in this paper, we propose an iterative bottom-up and top-down framework which alternatively expands object regions and optimizes segmentation network. We start from initial localization produced by classification networks. While classification networks are only responsive to small and coarse discriminative object regions, we argue that, these regions contain significant common features about objects. So in the bottom-up step, we mine common object features from the initial localization and expand object regions with the mined features. To supplement non-discriminative regions, saliency maps are then considered under Bayesian framework to refine the object regions. Then in the top-down step, the refined object regions are used as supervision to train the segmentation network and to predict object masks. These object masks provide more accurate localization and contain more regions of object. Further, we take these object masks as initial localization and mine common object features from them. These processes are conducted iteratively to progressively produce fine object masks and optimize segmentation networks. Experimental results on Pascal VOC 2012 dataset demonstrate that the proposed method outperforms previous state-of-the-art methods by a large margin.

Introduction

Semantic segmentation typically requires massive amounts of hand-drawn, pixel-accurate ground truth masks, which are expensive and time-consuming to produce. Weakly-supervised semantic segmentation (WSSS) attempts to train models using only image-level tags (e.g., "this image contains a dog"). The primary challenge is the "localization gap": standard classification networks focus only on the most discriminative parts of an object, such as a dog's face, rather than its entire body. This paper introduces MCOF (Mining Common Object Features), an iterative framework designed to bridge this gap by progressively expanding object regions.

Methodology: The MCOF Framework

The MCOF framework alternates between a bottom-up mining step and a top-down optimization step to refine object boundaries.

Bottom-Up Step: Region Mining

The process begins with sparse "seeds" from Class Activation Maps (CAMs). A RegionNet treats the image as a collection of superpixels and identifies common features shared by these seeds across the entire dataset. By mining these shared features, the model can expand the initial seeds to include non-discriminative but semantically relevant parts of the object. To further refine these regions and suppress background noise, saliency maps are integrated using a Bayesian framework.

Top-Down Step: Network Optimization

The expanded regions serve as pseudo-labels to train a PixelNet (based on the DeepLab-LargeFOV architecture). Unlike the superpixel-based RegionNet, PixelNet considers the global image context, producing smoother and more accurate object masks.

The MCOF framework architecture showing the interaction between RegionNet and PixelNet.

Iterative Refinement

A key innovation of MCOF is its iterative nature. The masks generated by PixelNet at the end of a cycle are fed back into the system as improved seeds for the next iteration. This loop allows the model to progressively grow object regions and correct errors from previous stages, typically reaching stability after five iterations.

Iterative expansion of object regions from initial seeds to final mined object regions.

Experimental Results

The model was evaluated on the PASCAL VOC 2012 segmentation benchmark, a standard gold standard in the field.

  • Accuracy: On the PASCAL VOC 2012 test set, MCOF achieved a 61.2% mIoU (mean Intersection over Union), surpassing the previous state-of-the-art (AE-PSL) by 5.5%.
  • Progressive Improvement: Ablation studies confirmed the power of the iteration; while initial seeds started at a meager 14.27% mIoU, the quality of training labels reached 63.2% after five iterations of the MCOF loop.
  • Robustness: Qualitative results demonstrate the model's success in segmenting complex scenes with multiple overlapping objects, which are common failure points for weakly-supervised methods.

Conclusion

MCOF successfully bridges the gap between image tags and pixel masks by mining shared features across a dataset. By alternating between region expansion and network optimization, it achieves high-fidelity segmentation without pixel-level supervision. While the model is robust, it still relies on the initial classification network providing some correct signal and faces challenges in applying saliency refinement to multi-class images.

Summary updated

BibTeX
@inproceedings{wang2018weakly,
  author = {Xiang Wang and Shaodi You and Xi Li and Huimin Ma},
  title = {{Weakly-Supervised Semantic Segmentation by Iteratively Mining Common Object Features}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=HJ48oJGuWB},
}
Figure