mlsanityData to 7 Oct 2026

Query-guided Attention in Vision Transformers for Localizing Objects Using a Single Sketch

arXiv 2303.08784 ↗First posted 15 Mar 2023cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

In this work, we investigate the problem of sketch-based object localization on natural images, where given a crude hand-drawn sketch of an object, the goal is to localize all the instances of the same object on the target image. This problem proves difficult due to the abstract nature of hand-drawn sketches, variations in the style and quality of sketches, and the large domain gap existing between the sketches and the natural images. To mitigate these challenges, existing works proposed attention-based frameworks to incorporate query information into the image features. However, in these works, the query features are incorporated after the image features have already been independently learned, leading to inadequate alignment. In contrast, we propose a sketch-guided vision transformer encoder that uses cross-attention after each block of the transformer-based image encoder to learn query-conditioned image features leading to stronger alignment with the query sketch. Further, at the output of the decoder, the object and the sketch features are refined to bring the representation of relevant objects closer to the sketch query and thereby improve the localization. The proposed model also generalizes to the object categories not seen during training, as the target image features learned by our method are query-aware. Our localization framework can also utilize multiple sketch queries via a trainable novel sketch fusion strategy. The model is evaluated on the images from the public object detection benchmark, namely MS-COCO, using the sketch queries from QuickDraw! and Sketchy datasets. Compared with existing localization methods, the proposed approach gives a 6.6% and 8.0% improvement in mAP for seen objects using sketch queries from QuickDraw! and Sketchy datasets, respectively, and a 12.2% improvement in AP@50 for large objects that are `unseen' during training.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 22 of its 34 references that are in the map. First posted on arXiv 15 Mar 2023.

Builds on

22 of 34 references.

References · 22

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  7. 2018YOLOv3: An Incremental Improvementcited by 2,652
  8. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
  9. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,361
  10. 2017A Neural Representation of Sketch Drawingscited by 311
  11. 2022Simple Open-Vocabulary Object Detection with Vision Transformerscited by 303
  12. 2021OW-DETR: Open-world Detection Transformercited by 129
10 more
  1. 2020Sketchformer: Transformer-based Representation for Sketched Structurecited by 78
  2. 2019One-Shot Object Detection with Co-Attention and Co-Excitationcited by 67
  3. 2021ViDT: An Efficient and Effective Fully Transformer-based Object Detectorcited by 45
  4. 20173D Shape Reconstruction from Sketches via Multi-view Convolutional Networkscited by 44
  5. 2015Sketch-based 3D Shape Retrieval using Convolutional Neural Networkscited by 41
  6. 2020Background Learnable Cascade for Zero-Shot Object Detectioncited by 31
  7. 2020Sketch-Guided Object Localization in Natural Imagescited by 21
  8. 2015Free-hand Sketch Synthesis with Deformable Stroke Modelscited by 16
  9. 2020Fine-Grained Instance-Level Sketch-Based Video Retrievalcited by 6
  10. 2021Localizing Infinity-shaped fishes: Sketch-guided object localization in the wildcited by 3

Built on by

Cited by year (2026 to 7 Oct)

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

3 papers.