Inferring the Class Conditional Response Map for Weakly Supervised Semantic Segmentation

Weixuan Sun, Jing Zhang, Nick Barnes
10/27/2021
cs.CV

Official code: weixuansun/InferCam (8 stars, Python, last commit 2022-06-03).

Abstract

Image-level weakly supervised semantic segmentation (WSSS) relies on class activation maps (CAMs) for pseudo labels generation. As CAMs only highlight the most discriminative regions of objects, the generated pseudo labels are usually unsatisfactory to serve directly as supervision.

Show full abstract

To solve this, most existing approaches follow a multi-training pipeline to refine CAMs for better pseudo-labels, which includes: 1) re-training the classification model to generate CAMs; 2) post-processing CAMs to obtain pseudo labels; and 3) training a semantic segmentation model with the obtained pseudo labels. However, this multi-training pipeline requires complicated adjustment and additional time. To address this, we propose a class-conditional inference strategy and an activation aware mask refinement loss function to generate better pseudo labels without re-training the classifier. The class conditional inference-time approach is presented to separately and iteratively reveal the classification network's hidden object activation to generate more complete response maps. Further, our activation aware mask refinement loss function introduces a novel way to exploit saliency maps during segmentation training and refine the foreground object masks without suppressing background objects. Our method achieves superior WSSS results without requiring re-training of the classifier.

View on arXivView PDF

Code Implementations(1)

81PythonOct 12, 20214 years ago

Similar Papers

Cite this paper

@article{sun2021inferring,
  title  = {Inferring the Class Conditional Response Map for Weakly Supervised Semantic Segmentation},
  author = {Weixuan Sun and Jing Zhang and Nick Barnes},
  year   = {2021},
  eprint = {2110.14309},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14309}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14309.svg)](https://codeofpaper.com/paper/2110.14309)

Discussion