Self-Supervised Difference Detection for Weakly-Supervised Semantic Segmentation

Wataru Shimoda, Keiji YanaiICCV 2019 · DOI

Abstract

Weakly-supervised semantic segmentation (WSS) aims to reduce the high cost of pixel-level annotation by training models on image-level labels. However, standard refinement techniques like Conditional Random Fields (CRF) often introduce noise. This paper proposes a Self-Supervised Difference Detection (SSDD) module that learns to distinguish between beneficial refinements ("true advice") and harmful noise ("false advice") by predicting the differences between initial and refined masks based on image features.

Problem Statement

Semantic segmentation is a fundamental task in computer vision, but its reliance on dense pixel-level annotations makes it expensive to scale. WSS offers a cost-effective alternative by using image-level tags. The typical workflow involves generating Class Activation Maps (CAMs) as "seeds" and expanding them using mapping functions like CRF. Unfortunately, these functions are not perfect; they frequently degrade mask quality or introduce artifacts. There is a critical need for a mechanism to filter these refinements and retain only the structurally sound improvements.

Proposed Method: Self-Supervised Difference Detection (SSDD)

The authors introduce the SSDD module, which treats the initial coarse mask as "Knowledge" and the refined mask as "Advice." The core idea is to identify the "Difference" between the two and determine which parts of the advice are predictable from visual features.

Conceptual framework of Knowledge, Advice, and Difference Detection.

The SSDD Module Architecture

The SSDD is a lightweight neural network integrated with a ResNet backbone. It processes both high-level and low-level image features alongside the segmentation masks to predict a difference mask. This process is entirely self-supervised because the target difference mask is derived mathematically from the input masks without human intervention. The underlying assumption is that if a difference is "predictable" from visual features (like edges or textures), it likely represents a true structural improvement.

Training and Inference Pipeline

The SSDD module is applied in two stages:

  1. Static Region Refinement: Enhancing the initial seeds before training the main segmentation network.
  2. Dynamic Region Refinement: Embedding the SSDD modules directly into the training loop. As the segmentation network evolves, the SSDD modules dynamically refine the pseudo-labels, preventing the model from overfitting to noise.
Training and inference pipeline using the SSDD module (DD-Net).

Experimental Results

The method was evaluated on the PASCAL VOC 2012 dataset, using 10,582 augmented images for training.

  • Quantitative Performance: The SSDD approach achieved a Mean Intersection over Union (mIoU) of 64.9% on the validation set and 65.5% on the test set. This represents a 3.2 point improvement over the PSA baseline.
  • State-of-the-Art Status: At publication, these results were the highest for WSS methods using only image-level labels, even surpassing some methods that utilized additional supervision like saliency maps.
  • Category-Specific Gains: Significant improvements (over 10%) were observed in animal categories (e.g., cat, cow, horse), where complex textures benefit from the deep feature analysis of the SSDD module compared to traditional CRF.

Discussion and Limitations

While SSDD effectively filters noise, it has limitations. It struggles with very small objects that might be entirely removed during the CRF stage. Additionally, if both the initial "Knowledge" and the "Advice" fail to detect an object, the SSDD cannot recover it. Future work may involve pairing SSDD with more sophisticated advice generators or applying this self-supervised logic to other noisy-label scenarios in vision tasks.

Summary updated

BibTeX
@inproceedings{shimoda2019self,
  author = {Wataru Shimoda and Keiji Yanai},
  title = {{Self-Supervised Difference Detection for Weakly-Supervised Semantic Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00531},
}
Figure