Re-Attention Transformer for Weakly Supervised Object Localization

Hui Su, Yue Ye, Zhiwei Chen, Mingli Song, Lechao Cheng
8/3/2022
cs.CV
transformer-attention

Official code: su-hui-zz/ReAttentionTransformer (30 stars, Jupyter Notebook, last commit 2023-10-31).

Abstract

Weakly supervised object localization is a challenging task which aims to localize objects with coarse annotations such as image categories. Existing deep network approaches are mainly based on class activation map, which focuses on highlighting discriminative local region while ignoring the full object.

Show full abstract

In addition, the emerging transformer-based techniques constantly put a lot of emphasis on the backdrop that impedes the ability to identify complete objects. To address these issues, we present a re-attention mechanism termed token refinement transformer (TRT) that captures the object-level semantics to guide the localization well. Specifically, TRT introduces a novel module named token priority scoring module (TPSM) to suppress the effects of background noise while focusing on the target object. Then, we incorporate the class activation map as the semantically aware input to restrain the attention map to the target object. Extensive experiments on two benchmarks showcase the superiority of our proposed method against existing methods with image category annotations. Source code is available in \url{https://github.com/su-hui-zz/ReAttentionTransformer}.

View on arXivView PDF

Code Implementations(1)

TRT for WSOL

307Jupyter Notebook, PythonAug 1, 20223 years ago

Similar Papers

Cite this paper

@article{su2022reattention,
  title  = {Re-Attention Transformer for Weakly Supervised Object Localization},
  author = {Hui Su and Yue Ye and Zhiwei Chen and Mingli Song and Lechao Cheng},
  year   = {2022},
  eprint = {2208.01838},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.01838}
}

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

Discussion