Looking for the Devil in the Details: Learning Trilinear Attention Sampling Network for Fine-grained Image Recognition

Heliang Zheng, Jianlong Fu, Zheng-Jun Zha, Jiebo Luo
3/14/2019
cs.CV
transformer-attention

Official code: researchmm/tasn (219 stars, Python, last commit 2021-12-14).

Abstract

Learning subtle yet discriminative features (e.g., beak and eyes for a bird) plays a significant role in fine-grained image recognition. Existing attention-based approaches localize and amplify significant parts to learn fine-grained details, which often suffer from a limited number of parts and heavy computational cost.

Show full abstract

In this paper, we propose to learn such fine-grained features from hundreds of part proposals by Trilinear Attention Sampling Network (TASN) in an efficient teacher-student manner. Specifically, TASN consists of 1) a trilinear attention module, which generates attention maps by modeling the inter-channel relationships, 2) an attention-based sampler which highlights attended parts with high resolution, and 3) a feature distiller, which distills part features into a global one by weight sharing and feature preserving strategies. Extensive experiments verify that TASN yields the best performance under the same settings with the most competitive approaches, in iNaturalist-2017, CUB-Bird, and Stanford-Cars datasets.

View on arXivView PDF

Code Implementations(1)

researchmm/tasnOfficial100%

Trilinear Attention Sampling Network for Fine-grained Image Recognition

21938Python, C++Mar 29, 20194 years ago

Similar Papers

Cite this paper

@article{zheng2019looking,
  title  = {Looking for the Devil in the Details: Learning Trilinear Attention Sampling Network for Fine-grained Image Recognition},
  author = {Heliang Zheng and Jianlong Fu and Zheng-Jun Zha and Jiebo Luo},
  year   = {2019},
  eprint = {1903.06150},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.06150}
}

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

Discussion