Learning Instance Activation Maps for Weakly Supervised Instance Segmentation

Yi Zhu, Yanzhao Zhou, Huijuan Xu, Qixiang Ye, David S. Doermann, Jianbin JiaoCVPR 2019 · DOI

TL;DR

This paper introduces Instance Activation Maps (IAMs) for weakly supervised instance segmentation, a method that learns to predict the full extent of an object from just image-level labels. By leveraging noisy segment proposals to create pseudo ground truth and training a novel "extent filling" module, the approach significantly improves segmentation accuracy and inference speed compared to prior methods, while also demonstrating impressive generalization to unseen object categories.

What Problem Does This Paper Address?

Instance segmentation, the task of identifying and delineating each individual object instance in an image, typically requires dense, pixel-level annotations (instance masks). Creating these masks is labor-intensive and time-consuming, limiting the scalability of such methods. While image-level labels (indicating the presence or absence of an object class) are much easier to obtain, they lack the spatial information needed for instance segmentation. Previous work using Class Activation Maps (CAMs) and Peak Response Maps (PRMs) could identify discriminative parts of an object but failed to capture its complete spatial extent, hindering performance and requiring complex post-processing. This paper addresses the challenge of learning the full pixel-level instance extent using only weak image-level supervision.

Methods

The core of the proposed method is an Instance Extent Filling approach. This involves two main stages:

  1. Pseudo Ground Truth Generation: The authors leverage existing techniques to generate noisy segment proposals (e.g., from MCG [29] and CUB [28]). They then compute matching scores between these proposals and the incomplete object responses from PRMs. By selecting the top-k proposals and applying a threshold, they create "pseudo ground truth" masks that, while noisy, statistically capture the object's extent.
  2. Instance Extent Filling Module: A novel, differentiable extent filling module is trained using these pseudo ground truth masks. This module takes an image and an incomplete PRM as input and predicts a class-agnostic activation map (IAM) that covers the full object extent. The module employs an encoder-decoder architecture. The encoder compresses the PRM into a feature space to capture long-range dependencies, and the decoder iteratively fills in the missing spatial information based on learned "filling weights" that are designed to preserve object boundaries.

For post-processing, a lightweight Convolutional Conditional Random Field (ConvCRF) [32] is used to refine the IAMs into instance masks, offering a significant speedup over previous proposal retrieval methods.

Datasets

The paper uses the following datasets:

  • PASCAL VOC12: The primary dataset for training and evaluating the weakly supervised instance segmentation method.
  • CUB-200-2011: Used to evaluate the generalization of the trained model to fine-grained species (bird categories) for weakly supervised object localization, without any fine-tuning.
  • THUR, MSRA-B, and ECSSD: Used to evaluate the generalization of the trained model to unseen categories for salient object detection, again without fine-tuning.

Key Insights and Ideas

  • Pseudo Supervision is Sufficient: Noisy segment proposals, despite their imperfections, can provide enough statistical information to learn the complete object extent when aggregated.
  • Filling the Gaps: The key innovation is the "extent filling" module that learns to infer missing object parts from partial cues, effectively bridging the gap left by PRMs.
  • Class-Agnostic Extent Learning: The filling module is trained to be class-agnostic, allowing it to learn general principles of object extent that can generalize to unseen categories.
  • Speed vs. Accuracy Trade-off: The proposed method achieves state-of-the-art accuracy while drastically reducing inference time by avoiding computationally expensive proposal retrieval at test time.
  • "Semantic Mosaicking": The training process is described as a form of "semantic mosaicking," where broken semantic information from noisy segments is absorbed and integrated into a coherent representation.

Key Results

  • Instance Segmentation Performance: The IAM-S5 model (using 5 random proposals) outperforms state-of-the-art weakly supervised instance segmentation methods on PASCAL VOC12 by significant margins (e.g., 1.6%, 2.0%, and 2.9% at IoU thresholds of 0.25, 0.5, and 0.75 respectively). The Average Best Overlap (ABO) score also increased by 4.3%.
  • Inference Speed: The method achieves an order of magnitude increase in inference speed compared to prior methods that rely on proposal retrieval (0.3s vs. 3.0s per image, excluding proposal generation time).
  • Generalization to CUB: Trained on VOC12 (20 classes), the model achieves top performance for weakly supervised object localization on the CUB dataset (200 classes), demonstrating strong domain generalization.
  • Generalization to Salient Object Detection: The model achieves competitive results on three popular salient object detection benchmarks (THUR, MSRA-B, ECSSD) without any fine-tuning, highlighting its ability to learn class-agnostic object extent.
  • Object Size and Category Performance: IAMs show improved performance across various object sizes and categories compared to PRMs, particularly for larger objects and categories where PRMs only highlight discriminative parts (e.g., "bus" and "cat").

Limitations and Future Work

  • Failure Cases: The paper acknowledges that IAMs can still be misled by significant differences in color or texture, or by obscured/hollow objects. They may also struggle with boundaries of tightly clustered, similar objects.
  • Sampling Number: While increasing the number of sampled proposals (k) generally improves performance, a very large k (e.g., 9) can lead to more false proposals, hindering the model's ability to summarize common object extent.
  • Future Work: The authors suggest that the learned extent knowledge can be applied to other object extent-related visual tasks, which they demonstrate through generalization experiments. The framework's potential for instance-level weakly supervised learning problems is highlighted.

Summary updated

BibTeX
@inproceedings{zhu2019learning,
  author = {Yi Zhu and Yanzhao Zhou and Huijuan Xu and Qixiang Ye and David S. Doermann and Jianbin Jiao},
  title = {{Learning Instance Activation Maps for Weakly Supervised Instance Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00323},
}
Figure