Feature Fusion Vision Transformer for Fine-Grained Visual Categorization

Jun Wang, Xiaohan Yu, Yongsheng Gao
7/6/2021
cs.CV
transformer-attention

Official code: Markin-Wang/FFVT (49 stars, Python, last commit 2022-10-17).

Abstract

The core for tackling the fine-grained visual categorization (FGVC) is to learn subtle yet discriminative features. Most previous works achieve this by explicitly selecting the discriminative parts or integrating the attention mechanism via CNN-based approaches.However, these methods enhance the computational complexity and make the modeldominated by the regions containing the most of the objects.

Show full abstract

Recently, vision trans-former (ViT) has achieved SOTA performance on general image recognition tasks. Theself-attention mechanism aggregates and weights the information from all patches to the classification token, making it perfectly suitable for FGVC. Nonetheless, the classifi-cation token in the deep layer pays more attention to the global information, lacking the local and low-level features that are essential for FGVC. In this work, we proposea novel pure transformer-based framework Feature Fusion Vision Transformer (FFVT)where we aggregate the important tokens from each transformer layer to compensate thelocal, low-level and middle-level information. We design a novel token selection mod-ule called mutual attention weight selection (MAWS) to guide the network effectively and efficiently towards selecting discriminative tokens without introducing extra param-eters. We verify the effectiveness of FFVT on three benchmarks where FFVT achieves the state-of-the-art performance.

View on arXivView PDF

Code Implementations(1)

Markin-Wang/FFVTOfficial100%

[BMVC 2021] The official PyTorch implementation of Feature Fusion Vision Transformer for Fine-Grained Visual Categorization

4910PythonJun 19, 20214 years agoNOASSERTION
fine-grained-classificationfine-grained-visual-categorizationimage-classification

Similar Papers

Cite this paper

@article{wang2021feature,
  title  = {Feature Fusion Vision Transformer for Fine-Grained Visual Categorization},
  author = {Jun Wang and Xiaohan Yu and Yongsheng Gao},
  year   = {2021},
  eprint = {2107.02341},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.02341}
}

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

Discussion