Object Region Mining with Adversarial Erasing: A Simple Classification to Semantic Segmentation Approach

Yunchao Wei, Jiashi Feng, Xiaodan Liang, Ming-Ming Cheng, Yao Zhao, Shuicheng Yan

Introduction

Semantic segmentation—the task of assigning a category label to every pixel in an image—typically requires massive amounts of pixel-level annotated data. Collecting these masks is expensive and time-consuming compared to simple image-level labels. However, standard Deep Neural Networks (DNNs) trained for classification are often "lazy"; they focus only on the most discriminative regions (e.g., a dog's head) rather than the entire object (torso, legs, tail). This paper introduces Adversarial Erasing (AE), an iterative technique designed to bridge this gap by forcing classifiers to discover the remaining parts of an object to produce dense, integral masks suitable for training segmentation models.

Methodology

Adversarial Erasing (AE)

The core of the proposed approach is an iterative "erasing" process that challenges the classifier to find secondary and tertiary features of an object.

  1. Initial Training: A classification network is trained on original images using image-level labels.
  2. Localization: Class Activation Maps (CAM) identify the most discriminative regions.
  3. Erasing: The identified regions are erased from the image by replacing them with the mean pixel value of the dataset.
  4. Re-training: The classifier is re-trained on the modified image. Deprived of the primary features, the network is forced to identify the next most discriminative part to maintain accuracy.
The Adversarial Erasing pipeline: iteratively identifying and removing discriminative regions to mine the complete object.

This cycle typically repeats for three steps, after which the erased regions are merged to form a complete object mask.

Online Prohibitive Segmentation Learning (PSL)

To refine the masks generated by AE, the authors utilize the Prohibitive Segmentation Learning (PSL) framework. This system uses a classification branch to provide confidence scores that act as a gate. If the classifier is uncertain about a category, the PSL mechanism "prohibits" those low-confidence regions from contributing to the final segmentation mask, effectively filtering out noise and false positives.

Experimental Evaluation

The approach was evaluated on the PASCAL VOC 2012 segmentation benchmark using a training set of 10,582 augmented images with only image-level labels. Performance was measured using the standard mean Intersection-over-Union (mIoU) metric.

Results and Discussion

Visualizations clearly demonstrate the effectiveness of the iterative approach. As shown in the figure below, Step 1 typically finds the most prominent feature (like an airplane's cockpit or a horse's head), Step 2 identifies the main body, and Step 3 fills in extremities, resulting in a much more "integral" object mask.

Visualization of the iterative Adversarial Erasing (AE) process across three steps, resulting in a dense object region mask.

Key Findings

  • State-of-the-Art Performance: AE-PSL achieved 55.0% mIoU on the PASCAL VOC 2012 validation set and 55.7% mIoU on the test set, outperforming previous weakly-supervised baselines like SEC (50.7%) and STC (49.8%).
  • The Over-Erasing Limit: There is a point of diminishing returns. If erasing continues beyond three steps, the network begins to focus on background context (e.g., grass or sky), introducing noise that degrades segmentation performance.
  • Latent Spatial Information: The results prove that classification networks contain significantly more spatial information than they typically reveal; erasing is an effective way to "squeeze" this latent information out.

Conclusion

Adversarial Erasing provides a simple yet powerful method for mining object regions from image-level labels. While highly effective, the authors note that using a fixed number of erasing steps may not be optimal for all images, suggesting that adaptive erasing steps based on object complexity could be a fruitful area for future research. Additionally, integrating AE and PSL into a unified, end-to-end trainable framework could further enhance boundary precision and efficiency.

Summary updated

BibTeX
@inproceedings{wei2017object,
  author = {Yunchao Wei and Jiashi Feng and Xiaodan Liang and Ming-Ming Cheng and Yao Zhao and Shuicheng Yan},
  title = {{Object Region Mining with Adversarial Erasing: A Simple Classification to Semantic Segmentation Approach}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.687},
}
Figure