Global-Local Similarity for Efficient Fine-Grained Image Recognition with Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Fine-grained recognition involves the classification of images from subordinate macro-categories, and it is challenging due to small inter-class differences. To overcome this, most methods perform discriminative feature selection enabled by a feature extraction backbone followed by a high-level feature refinement step. Recently, many studies have shown the potential behind vision transformers as a backbone for fine-grained recognition, but their usage of its attention mechanism to select discriminative tokens can be computationally expensive. In this work, we propose a novel and computationally inexpensive metric to identify discriminative regions in an image. We compare the similarity between the global representation of an image given by the CLS token, a learnable token used by transformers for classification, and the local representation of individual patches. We select the regions with the highest similarity to obtain crops, which are forwarded through the same transformer encoder. Finally, high-level features of the original and cropped representations are further refined together in order to make more robust predictions. Through extensive experimental evaluation we demonstrate the effectiveness of our proposed method, obtaining favorable results in terms of accuracy across a variety of datasets. Furthermore, our method achieves these results at a much lower computational cost compared to the alternatives. Code and checkpoints are available at: urlhttps://github.com/arkel23/GLSim.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 49 of its 75 references that are in the map. First posted on arXiv 17 Jul 2024.
Builds on
49 of 75 references.
References · 49
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2016Layer Normalizationcited by 5,669
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
37 more
- 2017Random Erasing Data Augmentationcited by 1,239
- 2016Deep Networks with Stochastic Depthcited by 979
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 730
- 2022DeiT III: Revenge of the ViTcited by 419
- 2021TrivialAugment: Tuning-free Yet State-of-the-Art Data Augmentationcited by 227
- 2021FAIR1M: A Benchmark Dataset for Fine-grained Object Recognition in High-Resolution Remote Sensing Imagerycited by 143
- 2021Fine-Grained Image Analysis with Deep Learning: A Surveycited by 135
- 2021TransFG: A Transformer Architecture for Fine-grained Recognitioncited by 132
- 2021Similarity Reasoning and Filtration for Image-Text Matchingcited by 121
- 2021Counterfactual Attention Learning for Fine-Grained Visual Categorization and Re-identificationcited by 114
- 2014Part-based R-CNNs for Fine-grained Category Detectioncited by 109
- 2018Learning to Navigate for Fine-grained Classificationcited by 103
- 2019Looking for the Devil in the Details: Learning Trilinear Attention Sampling Network for Fine-grained Image Recognitioncited by 95
- 2020Learning Attentive Pairwise Interaction for Fine-Grained Classificationcited by 84
- 2022Dual Cross-Attention Learning for Fine-Grained Visual Categorization and Object Re-Identificationcited by 78
- 2021Relational Embedding for Few-Shot Classificationcited by 74
- 2021The Spatially-Correlative Loss for Various Image Translation Taskscited by 66
- 2018Maximum-Entropy Fine-Grained Classificationcited by 65
- 2019Cross-X Learning for Fine-Grained Visual Categorizationcited by 61
- 2018Learning to Zoom: a Saliency-Based Sampling Layer for Neural Networkscited by 56
- 2019See Better Before Looking Closer: Weakly Supervised Data Augmentation Network for Fine-Grained Visual Classificationcited by 56
- 2019SpineNet: Learning Scale-Permuted Backbone for Recognition and Localizationcited by 50
- 2017FCSS: Fully Convolutional Self-Similarity for Dense Semantic Correspondencecited by 42
- 2021Feature Fusion Vision Transformer for Fine-Grained Visual Categorizationcited by 40
- 2021RAMS-Trans: Recurrent Attention Multi-scale Transformer forFine-grained Image Recognitioncited by 34
- 2021Context-aware Attentional Pooling (CAP) for Fine-grained Visual Classificationcited by 31
- 2021Learning Self-Similarity in Space and Time as Generalized Motion for Video Action Recognitioncited by 31
- 2022SIM-Trans: Structure Information Modeling Transformer for Fine-grained Visual Categorizationcited by 19
- 2021A Fine-Grained Dataset and its Efficient Semantic Segmentation for Unstructured Driving Scenarioscited by 18
- 2021A free lunch from ViT:Adaptive Attention Multi-scale Fusion Transformer for Fine-grained Visual Recognitioncited by 16
- 2019Classification-Specific Parts for Improving Fine-Grained Visual Categorizationcited by 13
- 2021Transformer with Peak Suppression and Knowledge Guidance for Fine-grained Image Recognitioncited by 12
- 2021Re-rank Coarse Classification with Local Region Enhanced Features for Fine-Grained Image Recognitioncited by 11
- 2022R2-Trans:Fine-Grained Visual Categorization with Redundancy Reductioncited by 8
- 2021Exploring Vision Transformers for Fine-grained Classificationcited by 7
- 2021Fair Comparison: Quantifying Variance in Resultsfor Fine-grained Visual Categorizationcited by 4
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 3.
4 papers.
- 2024Down-Sampling Inter-Layer Adapter for Parameter and Computation Efficient Ultra-Fine-Grained Image Recognitioncited by 1
- 2026How to Choose Your Teacher for Fine Grained Image Recognitioncited by 0
- 2026A Large-Scale Study on the Accuracy vs Cost Trade-offs of Training and Evaluation Settings in Fine-Grained Image Recognitioncited by 0
- 2026Region-Aware CLS Token Augmentation for Fine-Grained Image Retrievalcited by 0
- 2026Region-Aware CLS Token Augmentation for Fine-Grained Image Retrieval7 Oct 2026
- 2026A Large-Scale Study on the Accuracy vs Cost Trade-offs of Training and Evaluation Settings in Fine-Grained Image Recognition18 May 2026
- 2026How to Choose Your Teacher for Fine Grained Image Recognition15 May 2026
- 2024Down-Sampling Inter-Layer Adapter for Parameter and Computation Efficient Ultra-Fine-Grained Image Recognition17 Sep 2024