mlsanityData to 7 Oct 2026

Prompt-Guided Attention Head Selection for Focus-Oriented Image Retrieval

arXiv 2504.01348 ↗First posted 2 Apr 2025cs.CV cs.IRcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2023Segment Anythingcited by 8,158
  9. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  10. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  11. 2016Layer Normalizationcited by 5,579
  12. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
38 more
  1. 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
  2. 2022Visual Prompt Tuningcited by 1,674
  3. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  4. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  5. 2023Vision Transformers Need Registerscited by 844
  6. 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 612
  7. 2020A Metric Learning Reality Checkcited by 317
  8. 2023Side Adapter Network for Open-Vocabulary Semantic Segmentationcited by 296
  9. 2022Vision Transformer with Deformable Attentioncited by 293
  10. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
  11. 2023Personalize Segment Anything Model with One Shotcited by 250
  12. 2016Large-Scale Image Retrieval with Attentive Deep Local Featurescited by 238
  13. 2018Composing Text and Image for Image Retrieval - An Empirical Odysseycited by 234
  14. 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
  15. 2021Localizing Objects with Self-Supervised Transformers and no Labelscited by 227
  16. 2023What does CLIP know about a red circle? Visual prompt engineering for VLMscited by 215
  17. 2023Cut and Learn for Unsupervised Object Detection and Instance Segmentationcited by 186
  18. 2022Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cutcited by 166
  19. 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
  20. 2016Deep Image Retrieval: Learning global representations for image searchcited by 147
  21. 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
  22. 2021Vision Transformer for Small-Size Datasetscited by 122
  23. 2021Self-Supervised Learning with Swin Transformerscited by 121
  24. 2019Learning Semantic-Specific Graph Representation for Multi-Label Image Recognitioncited by 116
  25. 2018Dialog-based Interactive Image Retrievalcited by 84
  26. 2023Fine-Grained Visual Promptingcited by 81
  27. 2018A Zero-Shot Framework for Sketch-based Image Retrievalcited by 70
  28. 2020Compositional Learning of Image-Text Query for Image Retrievalcited by 57
  29. 2023Improving Visual Prompt Tuning for Self-supervised Vision Transformerscited by 57
  30. 2019Interactive Sketch & Fill: Multiclass Sketch-to-Image Translationcited by 51
  31. 2019Periphery-Fovea Multi-Resolution Driving Model guided by Human Attentioncited by 19
  32. 2022Accumulated Trivial Attention Matters in Vision Transformers on Small Datasetscited by 15
  33. 2024FALIP: Visual Prompt as Foveal Attention Boosts CLIP Zero-Shot Performancecited by 7
  34. 2021Pay Better Attention to Attention: Head Selection in Multilingual and Multi-Domain Sequence Modelingcited by 5
  35. 2023Object-Centric Open-Vocabulary Image-Retrieval with Aggregated Featurescited by 5
  36. 2023Learning Diverse Features in Vision Transformers for Improved Generalizationcited by 4
  37. 2024Revisiting Relevance Feedback for CLIP-based Interactive Image Retrievalcited by 3
  38. 2024Improving Image Clustering with Artifacts Attenuation via Inference-Time Attention Engineeringcited by 2

Built on by

Not cited yet.