All the attention you need: Global-local, spatial-channel attention for image retrieval
Not on the map. Why?
Abstract (arXiv)
We address representation learning for large-scale instance-level image retrieval. Apart from backbone, training pipelines and loss functions, popular approaches have focused on different spatial pooling and attention mechanisms, which are at the core of learning a powerful global image representation. There are different forms of attention according to the interaction of elements of the feature tensor (local and global) and the dimensions where it is applied (spatial and channel). Unfortunately, each study addresses only one or two forms of attention and applies it to different problems like classification, detection or retrieval. We present global-local attention module (GLAM), which is attached at the end of a backbone network and incorporates all four forms of attention: local and global, spatial and channel. We obtain a new feature tensor and, by spatial pooling, we learn a powerful embedding for image retrieval. Focusing on global descriptors, we provide empirical evidence of the interaction of all forms of attention and improve the state of the art on standard benchmarks.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 46 of its 59 references that are in the map. First posted on arXiv 16 Jul 2021.
Builds on
46 of 59 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2014Going Deeper with Convolutionscited by 4,231
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2018CBAM: Convolutional Block Attention Modulecited by 2,463
- 2017Non-local Neural Networkscited by 2,290
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
34 more
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,018
- 2015NetVLAD: CNN architecture for weakly supervised place recognitioncited by 935
- 2019ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networkscited by 572
- 2017Fine-tuning CNN Image Retrieval with No Human Annotationcited by 497
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2019Attention Augmented Convolutional Networkscited by 363
- 2019GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyondcited by 331
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2020Google Landmarks Dataset v2 -- A Large-Scale Benchmark for Instance-Level Recognition and Retrievalcited by 305
- 2017Dilated Residual Networkscited by 293
- 2016Large-Scale Image Retrieval with Attentive Deep Local Featurescited by 238
- 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
- 2018Revisiting Oxford and Paris: Large-Scale Image Retrieval Benchmarkingcited by 189
- 2015Particular object retrieval with integral max-pooling of CNN activationscited by 160
- 2016Deep Image Retrieval: Learning global representations for image searchcited by 147
- 2018Gather-Excite: Exploiting Feature Context in Convolutional Neural Networkscited by 138
- 2018A2-Nets: Double Attention Networkscited by 136
- 2016End-to-end Learning of Deep Visual Representations for Image Retrievalcited by 122
- 2018Neural Nearest Neighbors Networkscited by 98
- 2021Training Vision Transformers for Image Retrievalcited by 90
- 2018Global Second-order Pooling Convolutional Networkscited by 66
- 2015Aggregating Deep Convolutional Features for Image Retrievalcited by 63
- 2016CNN Image Retrieval Learns from BoW: Unsupervised Fine-Tuning with Hard Examplescited by 58
- 2020Learning and aggregating deep local descriptors for instance-level recognitioncited by 54
- 2016Efficient Diffusion on Region Manifolds: Recovering Small Objects with Compact CNN Representationscited by 49
- 2014Visual Instance Retrieval with Deep Convolutional Networkscited by 48
- 2020SOLAR: Second-Order Loss and Attention for Image Retrievalcited by 45
- 2015Cross-dimensional Weighting for Aggregated Deep Convolutional Featurescited by 41
- 2018Detect-to-Retrieve: Efficient Regional Aggregation for Image Searchcited by 39
- 2019Local Features and Visual Words Emerge in Activationscited by 36
- 2018Efficient Image Retrieval via Decoupling Diffusion into Online and Offline Processingcited by 20
- 2020Two-stage Discriminative Re-ranking for Large-scale Landmark Retrievalcited by 18
- 2018Attention-Aware Generalized Mean Pooling for Image Retrievalcited by 12
- 2017Class-Weighted Convolutional Features for Visual Instance Searchcited by 8
Built on by
Citing papers per year: 2022: 3; 2023: 3; 2024: 3; 2025: 1; 2026: 2.
12 papers.
- 2022Boosting vision transformers for image retrievalcited by 19
- 2022Vision Transformers: From Semantic Segmentation to Dense Predictioncited by 6
- 2024On Train-Test Class Overlap and Detection for Image Retrievalcited by 3
- 2023TSGAN: An Optical-to-SAR Dual Conditional GAN for Optical based SAR Temporal Shiftingcited by 2
- 2024Applications of Explainable artificial intelligence in Earth system sciencecited by 1
- 2022Attention-Based Scattering Network for Satellite Imagerycited by 0
- 2023Conditional Cross Attention Network for Multi-Space Embedding without Entanglement in Only a SINGLE Networkcited by 0
- 2023Enhancing Landmark Detection in Cluttered Real-World Scenarios with Vision Transformerscited by 0
- 2024M3BUNet: Mobile Mean Max UNet for Pancreas Segmentation on CT-Scanscited by 0
- 2025UAVPairs: A Challenging Benchmark for Match Pair Retrieval of Large-scale UAV Imagescited by 0
- 2026BrainSegNet: A Novel Framework for Whole-Brain MRI Parcellation Enhanced by Large Modelscited by 0
- 2026Reliable iToF Depth Sensing via Sensor-Intrinsic Uncertainty Modeling and State-Space Restorationcited by 0
- 2026Reliable iToF Depth Sensing via Sensor-Intrinsic Uncertainty Modeling and State-Space Restoration29 Aug 2026
- 2026BrainSegNet: A Novel Framework for Whole-Brain MRI Parcellation Enhanced by Large Models14 Jan 2026
- 2025UAVPairs: A Challenging Benchmark for Match Pair Retrieval of Large-scale UAV Images28 May 2025
- 2024Applications of Explainable artificial intelligence in Earth system science12 Jun 2024
- 2024On Train-Test Class Overlap and Detection for Image Retrieval1 Apr 2024
- 2024M3BUNet: Mobile Mean Max UNet for Pancreas Segmentation on CT-Scans18 Jan 2024
- 2023TSGAN: An Optical-to-SAR Dual Conditional GAN for Optical based SAR Temporal Shifting31 Dec 2023
- 2023Enhancing Landmark Detection in Cluttered Real-World Scenarios with Vision Transformers25 Aug 2023
- 2023Conditional Cross Attention Network for Multi-Space Embedding without Entanglement in Only a SINGLE Network25 Jul 2023
- 2022Attention-Based Scattering Network for Satellite Imagery21 Oct 2022
- 2022Boosting vision transformers for image retrieval21 Oct 2022
- 2022Vision Transformers: From Semantic Segmentation to Dense Prediction19 Jul 2022