Improving Fine-Grained Visual Recognition in Low Data Regimes via Self-Boosting Attention Mechanism

Yangyang Shu, Baosheng Yu, Haiming Xu, Lingqiao Liu
8/1/2022
cs.CV
transformer-attention

Official code: GANPerf/SAM (27 stars, Python, last commit 2023-05-24).

Abstract

The challenge of fine-grained visual recognition often lies in discovering the key discriminative regions. While such regions can be automatically identified from a large-scale labeled dataset, a similar method might become less effective when only a few annotations are available.

Show full abstract

In low data regimes, a network often struggles to choose the correct regions for recognition and tends to overfit spurious correlated patterns from the training data. To tackle this issue, this paper proposes the self-boosting attention mechanism, a novel method for regularizing the network to focus on the key regions shared across samples and classes. Specifically, the proposed method first generates an attention map for each training image, highlighting the discriminative part for identifying the ground-truth object category. Then the generated attention maps are used as pseudo-annotations. The network is enforced to fit them as an auxiliary task. We call this approach the self-boosting attention mechanism (SAM). We also develop a variant by using SAM to create multiple attention maps to pool convolutional maps in a style of bilinear pooling, dubbed SAM-Bilinear. Through extensive experimental studies, we show that both methods can significantly improve fine-grained visual recognition performance on low data regimes and can be incorporated into existing network architectures. The source code is publicly available at: https://github.com/GANPerf/SAM

View on arXivView PDF

Code Implementations(1)

GANPerf/SAMOfficial100%
277Python, ShellJul 9, 20223 years ago

Similar Papers

Cite this paper

@article{shu2022improving,
  title  = {Improving Fine-Grained Visual Recognition in Low Data Regimes via Self-Boosting Attention Mechanism},
  author = {Yangyang Shu and Baosheng Yu and Haiming Xu and Lingqiao Liu},
  year   = {2022},
  eprint = {2208.00617},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.00617}
}

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

Discussion