Background Activation Suppression for Weakly Supervised Object Localization

Pingyu Wu, Wei Zhai, Yang Cao
12/1/2021
56 citations
cs.CV

Official code: wpy1999/BAS (44 stars, Python, last commit 2023-09-25).

Abstract

Weakly supervised object localization (WSOL) aims to localize objects using only image-level labels. Recently a new paradigm has emerged by generating a foreground prediction map (FPM) to achieve localization task.

Show full abstract

Existing FPM-based methods use cross-entropy (CE) to evaluate the foreground prediction map and to guide the learning of generator. We argue for using activation value to achieve more efficient learning. It is based on the experimental observation that, for a trained network, CE converges to zero when the foreground mask covers only part of the object region. While activation value increases until the mask expands to the object boundary, which indicates that more object areas can be learned by using activation value. In this paper, we propose a Background Activation Suppression (BAS) method. Specifically, an Activation Map Constraint module (AMC) is designed to facilitate the learning of generator by suppressing the background activation value. Meanwhile, by using the foreground region guidance and the area constraint, BAS can learn the whole region of the object. In the inference phase, we consider the prediction maps of different categories together to obtain the final localization results. Extensive experiments show that BAS achieves significant and consistent improvement over the baseline methods on the CUB-200-2011 and ILSVRC datasets. Code and models are available at https://github.com/wpy1999/BAS.

View on arXivView PDF

Code Implementations(1)

wpy1999/BASOfficial100%

[CVPR2022] PyTorch implementation of ''Background Activation Suppression for Weakly Supervised Object Localization''.

447PythonNov 30, 20213 years ago

Similar Papers

Cite this paper

@article{wu2021background,
  title  = {Background Activation Suppression for Weakly Supervised Object Localization},
  author = {Pingyu Wu and Wei Zhai and Yang Cao},
  year   = {2021},
  eprint = {2112.00580},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.00580}
}

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

Discussion