Prompt-Guided Attention Head Selection for Focus-Oriented Image Retrieval
Not on the map. Why?
Abstract (arXiv)
The goal of this paper is to enhance pretrained Vision Transformer (ViT) models for focus-oriented image retrieval with visual prompting. In real-world image retrieval scenarios, both query and database images often exhibit complexity, with multiple objects and intricate backgrounds. Users often want to retrieve images with specific object, which we define as the Focus-Oriented Image Retrieval (FOIR) task. While a standard image encoder can be employed to extract image features for similarity matching, it may not perform optimally in the multi-object-based FOIR task. This is because each image is represented by a single global feature vector. To overcome this, a prompt-based image retrieval solution is required. We propose an approach called Prompt-guided attention Head Selection (PHS) to leverage the head-wise potential of the multi-head attention mechanism in ViT in a promptable manner. PHS selects specific attention heads by matching their attention maps with user's visual prompts, such as a point, box, or segmentation. This empowers the model to focus on specific object of interest while preserving the surrounding visual context. Notably, PHS does not necessitate model re-training and avoids any image alteration. Experimental results show that PHS substantially improves performance on multiple datasets, offering a practical and training-free solution to enhance model performance in the FOIR task.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 50 of its 72 references that are in the map. First posted on arXiv 2 Apr 2025.
Builds on
50 of 72 references.
References · 50
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023Segment Anythingcited by 8,158
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Layer Normalizationcited by 5,579
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
38 more
- 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
- 2022Visual Prompt Tuningcited by 1,674
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2023Vision Transformers Need Registerscited by 844
- 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 612
- 2020A Metric Learning Reality Checkcited by 317
- 2023Side Adapter Network for Open-Vocabulary Semantic Segmentationcited by 296
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
- 2023Personalize Segment Anything Model with One Shotcited by 250
- 2016Large-Scale Image Retrieval with Attentive Deep Local Featurescited by 238
- 2018Composing Text and Image for Image Retrieval - An Empirical Odysseycited by 234
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2021Localizing Objects with Self-Supervised Transformers and no Labelscited by 227
- 2023What does CLIP know about a red circle? Visual prompt engineering for VLMscited by 215
- 2023Cut and Learn for Unsupervised Object Detection and Instance Segmentationcited by 186
- 2022Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cutcited by 166
- 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
- 2016Deep Image Retrieval: Learning global representations for image searchcited by 147
- 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
- 2021Vision Transformer for Small-Size Datasetscited by 122
- 2021Self-Supervised Learning with Swin Transformerscited by 121
- 2019Learning Semantic-Specific Graph Representation for Multi-Label Image Recognitioncited by 116
- 2018Dialog-based Interactive Image Retrievalcited by 84
- 2023Fine-Grained Visual Promptingcited by 81
- 2018A Zero-Shot Framework for Sketch-based Image Retrievalcited by 70
- 2020Compositional Learning of Image-Text Query for Image Retrievalcited by 57
- 2023Improving Visual Prompt Tuning for Self-supervised Vision Transformerscited by 57
- 2019Interactive Sketch & Fill: Multiclass Sketch-to-Image Translationcited by 51
- 2019Periphery-Fovea Multi-Resolution Driving Model guided by Human Attentioncited by 19
- 2022Accumulated Trivial Attention Matters in Vision Transformers on Small Datasetscited by 15
- 2024FALIP: Visual Prompt as Foveal Attention Boosts CLIP Zero-Shot Performancecited by 7
- 2021Pay Better Attention to Attention: Head Selection in Multilingual and Multi-Domain Sequence Modelingcited by 5
- 2023Object-Centric Open-Vocabulary Image-Retrieval with Aggregated Featurescited by 5
- 2023Learning Diverse Features in Vision Transformers for Improved Generalizationcited by 4
- 2024Revisiting Relevance Feedback for CLIP-based Interactive Image Retrievalcited by 3
- 2024Improving Image Clustering with Artifacts Attenuation via Inference-Time Attention Engineeringcited by 2
Built on by
Not cited yet.