Threshold Matters in WSSS: Manipulating the Activation for the Robust and Accurate Segmentation Model Against Thresholds

Minhyun Lee, Dongseob Kim, Hyunjung Shim
3/30/2022
cs.CV

Official code: gaviotas/AMN (40 stars, Python, PyTorch, last commit 2022-07-10).

Abstract

Weakly-supervised semantic segmentation (WSSS) has recently gained much attention for its promise to train segmentation models only with image-level labels. Existing WSSS methods commonly argue that the sparse coverage of CAM incurs the performance bottleneck of WSSS.

Show full abstract

This paper provides analytical and empirical evidence that the actual bottleneck may not be sparse coverage but a global thresholding scheme applied after CAM. Then, we show that this issue can be mitigated by satisfying two conditions; 1) reducing the imbalance in the foreground activation and 2) increasing the gap between the foreground and the background activation. Based on these findings, we propose a novel activation manipulation network with a per-pixel classification loss and a label conditioning module. Per-pixel classification naturally induces two-level activation in activation maps, which can penalize the most discriminative parts, promote the less discriminative parts, and deactivate the background regions. Label conditioning imposes that the output label of pseudo-masks should be any of true image-level labels; it penalizes the wrong activation assigned to non-target classes. Based on extensive analysis and evaluations, we demonstrate that each component helps produce accurate pseudo-masks, achieving the robustness against the choice of the global threshold. Finally, our model achieves state-of-the-art records on both PASCAL VOC 2012 and MS COCO 2014 datasets.

View on arXivView PDF

Code Implementations(1)

gaviotas/AMNOfficial100%
PyTorch

Official PyTorch implementation of "Threshold Matters in WSSS: Manipulating the Activation for the Robust and Accurate Segmentation Model Against Thresholds", CVPR2022

402Python, ShellMar 28, 20224 years ago
amncvpr2022pytorchthreshold-matters-in-wsssweakly-supervised-learning+1 more

Similar Papers

Cite this paper

@article{lee2022threshold,
  title  = {Threshold Matters in WSSS: Manipulating the Activation for the Robust and Accurate Segmentation Model Against Thresholds},
  author = {Minhyun Lee and Dongseob Kim and Hyunjung Shim},
  year   = {2022},
  eprint = {2203.16045},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.16045}
}

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/2203.16045.svg)](https://codeofpaper.com/paper/2203.16045)

Discussion