Skip to main content
QUICK REVIEW

[Paper Review] Re-Attention Transformer for Weakly Supervised Object Localization

Hui Su, Ye Yue|arXiv (Cornell University)|Aug 3, 2022
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

This paper proposes the Token Refinement Transformer (TRT), a re-attention mechanism that improves weakly supervised object localization by suppressing background noise and refining attention maps using class activation maps. TRT introduces a Token Priority Scoring Module (TPSM) and adaptive thresholding, achieving state-of-the-art performance on ILSVRC and CUB-200-2011 benchmarks with 82.08% and 91.1% localization accuracy, respectively.

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. 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}.

Motivation & Objective

  • To address the limitation of existing methods in localizing complete objects rather than just discriminative parts under weak supervision.
  • To reduce background interference in vision transformers, which often attend to irrelevant regions due to global self-attention.
  • To improve localization accuracy by integrating class activation map (CAM) as semantic guidance for attention refinement.
  • To develop a more effective thresholding strategy than top-K or fixed thresholding for selecting relevant tokens in attention maps.

Proposed method

  • Proposes a re-attention mechanism called Token Refinement Transformer (TRT) that refines attention maps using object-level semantics.
  • Introduces the Token Priority Scoring Module (TPSM) to re-score attention map tokens based on their response strength and background suppression.
  • Uses the class activation map (CAM) as a semantically aware input to constrain attention maps to focus on the target object.
  • Employs adaptive thresholding based on cumulative distribution function sampling to select high-importance tokens, outperforming fixed or top-K strategies.
  • Applies the re-attention block within a vision transformer backbone (e.g., DeiT) to refine feature representations before localization.
  • Trains end-to-end with image-level labels, leveraging attention maps for bounding box prediction without bounding box annotations.

Experimental results

Research questions

  • RQ1Can a re-attention mechanism improve object localization by refining attention maps to suppress background noise in vision transformers?
  • RQ2How does integrating class activation maps as semantic guidance affect attention map quality in weakly supervised localization?
  • RQ3Does adaptive thresholding based on cumulative importance sampling outperform standard top-K or fixed-threshold strategies in token selection?
  • RQ4To what extent does the proposed TRT framework improve localization accuracy on standard benchmarks like ILSVRC and CUB-200-2011?
  • RQ5Can the TRT framework better utilize larger vision transformer backbones (e.g., DeiT-B) compared to existing methods?

Key findings

  • TRT achieves 82.08% localization accuracy on the ILSVRC benchmark, outperforming prior state-of-the-art methods.
  • On the CUB-200-2011 dataset, TRT achieves 91.1% Gt-Known localization accuracy, a significant improvement over the previous SOTA of 86.6%.
  • The proposed adaptive thresholding strategy based on cumulative distribution sampling yields superior performance compared to top-K or fixed-threshold methods.
  • The ablation study confirms that both the TPSM module and adaptive thresholding are critical for performance, with qualitative results showing sharper, more object-focused attention maps.
  • TRT maintains strong performance even with larger backbones like DeiT-B, unlike some prior methods that underperform on DeiT-B compared to DeiT-S.
  • Visualizations show that TRT produces more coherent and object-consistent attention maps than CAM-based or standard transformer methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.