Weakly Supervised Instance Segmentation Using Class Peak Response

Yanzhao Zhou, Yi Zhu, Qixiang Ye, Qiang Qiu, Jianbin Jiao

Abstract

This paper introduces a novel framework for performing instance segmentation—identifying and masking individual objects—using only image-level labels (e.g., "this image contains a sheep") rather than expensive pixel-level masks. By stimulating and back-propagating "peaks" in a classifier's response map, the authors generate fine-grained, instance-aware heatmaps known as Peak Response Maps (PRMs). These maps are then used to extract precise object boundaries by retrieving the best-fitting masks from a gallery of object proposals. The method achieves state-of-the-art results on PASCAL VOC 2012 and MS COCO benchmarks, marking a significant step forward in weakly supervised learning.

Introduction

Deep learning has achieved remarkable success in computer vision, yet it remains notoriously data-hungry. High-level tasks such as instance segmentation, which requires a unique mask for every individual object, typically demand that human annotators painstakingly trace the outlines of every object in thousands of images. This process is both prohibitively expensive and slow, limiting the scalability of such models to new domains.

While "weakly supervised" methods have emerged to mitigate these costs, they traditionally focus on semantic segmentation. Semantic segmentation identifies categories (e.g., "this region is grass") but fails to distinguish between adjacent instances of the same category, such as two sheep standing next to each other. This paper addresses a fundamental challenge: how to teach a machine to separate and mask individual object instances using only the simplest possible image-level labels.

Comparison between standard attention maps and the proposed Peak Response Maps, showing improved instance separation.

Methodology

The proposed framework is built upon the concept of Class Peak Response. The approach operates in three distinct stages: peak stimulation, peak backpropagation, and instance mask extraction.

1. Peak Stimulation

Standard Convolutional Neural Network (CNN) classifiers often focus on the most discriminative part of an object (such as a bird's head) to make a category prediction. To overcome this, the authors introduce a "Peak Stimulation Layer" during training. This layer encourages the network to identify multiple local maximums, or peaks, within the class response map. Each peak typically corresponds to a distinct object instance, effectively turning a classification network into an instance-aware localizer.

2. Peak Backpropagation

Once peaks are identified, the network must determine which pixels belong to which peak. The authors developed a probability-based backpropagation process that starts at a specific peak in the top layer and "walks" back down to the image pixels. This process generates a Peak Response Map (PRM). Unlike standard heatmaps, PRMs are instance-aware and highlight the specific boundaries and internal structures of an individual object.

Overview of the Peak Response Map generation and weakly supervised instance segmentation pipeline.

3. Instance Mask Extraction

Because PRMs provide a high-quality "seed" and a rough boundary for each object, they can be used to score and retrieve the best-fitting masks from a gallery of "off-the-shelf" object proposals (generated by methods like MCG or Edge Boxes). This allows the system to produce high-fidelity instance masks without ever seeing a human-drawn mask during training.

Key Insights

  • Peaks as Instances: The core innovation is the realization that local maximums in a classification heatmap are not noise; they are strong visual cues residing inside individual instances.
  • Sparse Learning: By forcing the network to learn from these sparse peaks rather than the entire image, the model avoids being overwhelmed by background pixels and focuses on the most informative regions of the objects.
  • Fine-Grained Representation: PRMs capture spatial layouts and detailed boundaries, which is why they excel at segmentation even without pixel-level training data.

Experimental Results

The model was evaluated on the PASCAL VOC 2012 and MS COCO benchmarks. Key findings include:

  • First of its Kind: This research is the first to report competitive results for instance segmentation using only image-level labels.
  • Pointwise Localization: On PASCAL VOC 2012, the method achieved a Mean Average Precision (mAP) of 85.5%, significantly outperforming previous weakly supervised methods like WILDCAT (82.9%).
  • Semantic Segmentation: Despite its focus on instances, the model set a new state-of-the-art for weakly supervised semantic segmentation on VOC 2012 with a mIoU of 53.4%.
  • Qualitative Success: The model successfully distinguishes between objects that are touching or partially occluded, which has been a major hurdle for previous weakly supervised approaches.

Conclusion and Future Work

While the method demonstrates impressive results, it remains dependent on the quality of external object proposal generators. If a proposal generator fails to suggest a valid mask, the PRM cannot rectify the error. Additionally, the authors noted occasional "Merge Failures" where two very close objects are treated as a single peak. Future research may explore applying this technique to video or depth data, where temporal and spatial consistency could provide additional cues to further refine instance separation.

Summary updated

BibTeX
@inproceedings{zhou2018weakly,
  author = {Yanzhao Zhou and Yi Zhu and Qixiang Ye and Qiang Qiu and Jianbin Jiao},
  title = {{Weakly Supervised Instance Segmentation Using Class Peak Response}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00399},
}
Figure