mlsanityData to 14 Oct 2026

Global-Local Similarity for Efficient Fine-Grained Image Recognition with Vision Transformers

arXiv 2407.12891 ↗First posted 17 Jul 2024cs.CVcited by 4

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  8. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  9. 2016Layer Normalizationcited by 5,669
  10. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  11. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
37 more
  1. 2017Random Erasing Data Augmentationcited by 1,239
  2. 2016Deep Networks with Stochastic Depthcited by 979
  3. 2020Quantifying Attention Flow in Transformerscited by 775
  4. 2018AutoAugment: Learning Augmentation Policies from Datacited by 730
  5. 2022DeiT III: Revenge of the ViTcited by 419
  6. 2021TrivialAugment: Tuning-free Yet State-of-the-Art Data Augmentationcited by 227
  7. 2021FAIR1M: A Benchmark Dataset for Fine-grained Object Recognition in High-Resolution Remote Sensing Imagerycited by 143
  8. 2021Fine-Grained Image Analysis with Deep Learning: A Surveycited by 135
  9. 2021TransFG: A Transformer Architecture for Fine-grained Recognitioncited by 132
  10. 2021Similarity Reasoning and Filtration for Image-Text Matchingcited by 121
  11. 2021Counterfactual Attention Learning for Fine-Grained Visual Categorization and Re-identificationcited by 114
  12. 2014Part-based R-CNNs for Fine-grained Category Detectioncited by 109
  13. 2018Learning to Navigate for Fine-grained Classificationcited by 103
  14. 2019Looking for the Devil in the Details: Learning Trilinear Attention Sampling Network for Fine-grained Image Recognitioncited by 95
  15. 2020Learning Attentive Pairwise Interaction for Fine-Grained Classificationcited by 84
  16. 2022Dual Cross-Attention Learning for Fine-Grained Visual Categorization and Object Re-Identificationcited by 78
  17. 2021Relational Embedding for Few-Shot Classificationcited by 74
  18. 2021The Spatially-Correlative Loss for Various Image Translation Taskscited by 66
  19. 2018Maximum-Entropy Fine-Grained Classificationcited by 65
  20. 2019Cross-X Learning for Fine-Grained Visual Categorizationcited by 61
  21. 2018Learning to Zoom: a Saliency-Based Sampling Layer for Neural Networkscited by 56
  22. 2019See Better Before Looking Closer: Weakly Supervised Data Augmentation Network for Fine-Grained Visual Classificationcited by 56
  23. 2019SpineNet: Learning Scale-Permuted Backbone for Recognition and Localizationcited by 50
  24. 2017FCSS: Fully Convolutional Self-Similarity for Dense Semantic Correspondencecited by 42
  25. 2021Feature Fusion Vision Transformer for Fine-Grained Visual Categorizationcited by 40
  26. 2021RAMS-Trans: Recurrent Attention Multi-scale Transformer forFine-grained Image Recognitioncited by 34
  27. 2021Context-aware Attentional Pooling (CAP) for Fine-grained Visual Classificationcited by 31
  28. 2021Learning Self-Similarity in Space and Time as Generalized Motion for Video Action Recognitioncited by 31
  29. 2022SIM-Trans: Structure Information Modeling Transformer for Fine-grained Visual Categorizationcited by 19
  30. 2021A Fine-Grained Dataset and its Efficient Semantic Segmentation for Unstructured Driving Scenarioscited by 18
  31. 2021A free lunch from ViT:Adaptive Attention Multi-scale Fusion Transformer for Fine-grained Visual Recognitioncited by 16
  32. 2019Classification-Specific Parts for Improving Fine-Grained Visual Categorizationcited by 13
  33. 2021Transformer with Peak Suppression and Knowledge Guidance for Fine-grained Image Recognitioncited by 12
  34. 2021Re-rank Coarse Classification with Local Region Enhanced Features for Fine-Grained Image Recognitioncited by 11
  35. 2022R2-Trans:Fine-Grained Visual Categorization with Redundancy Reductioncited by 8
  36. 2021Exploring Vision Transformers for Fine-grained Classificationcited by 7
  37. 2021Fair Comparison: Quantifying Variance in Resultsfor Fine-grained Visual Categorizationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 3.

4 papers.