arXiv:2611.04262cs.CVNov 2026

Manuscript Offprint

arXiv:2611.04262

Sketch-Omni: Instance-Level Sketch-Based Visual Prompting for Perception MLLMs

Dongyu Wang, Dar-Yen Chen, Zhiming Hong, Arkaprabha Basu, Yi-Zhe Song

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Promptable perception, from GroundingDINO to Rex-Omni, puts one model behind one prompt interface and returns coordinates for any localisation task. Every model in that line was built for photographs; none has been given a sketch. We present Sketch-Omni, to our knowledge the first perception MLLM built to work on sketches and from them. On a sketch, the sketch is the image, and text prompts detect, point, resolve object and spatial referring expressions, and ground affordances in it. From a sketch, the sketch is the prompt, and a drawing of one object localises that object in a photograph, even among several of the same category, a query that neither a category name nor a photo exemplar can pose. Two obstacles stand in the way. A photo-trained model's attention is tuned to colour and texture, which a sketch does not have, and no dataset pairs a drawing with the one instance it depicts among others of its kind. We build the training data instead of collecting it. An edge detector turns every labelled photograph into a sketch-like drawing that keeps the photograph's labels, and two constructions produce sketch-to-photo instance pairs from existing data. On top of this, photo-guided relation alignment passes each photograph and its edge sketch through the same model and trains the sketch pass to reproduce how the photograph pass relates phrases to patches and patches to each other. Not one training label is drawn by hand. Sketch-Omni reaches 91.4 F1 on sketch-prompted localisation against 81.8 for the strongest general-purpose MLLM, with a lead that doubles when the photograph holds several instances of the queried category, and it is best in 39 of 40 evaluation cells across six tasks. Code, model, and a hand-annotated benchmark of 2754 sketch-to-photo links will be released.

1 INTRODUCTION

Perception has converged on a prompt. GroundingDINO (Liu et al., 2024) opened a detector's vocabulary with a text prompt. T-Rex2 (Jiang et al., 2024a) let a box or an exemplar stand in for the words. Rex-Omni (Jiang et al., 2026) folded detection, pointing, referring, and visual prompting into one MLLM that answers every prompt with coordinate tokens, and general-purpose MLLMs (Bai et al., 2025b;a; Yue et al., 2025; Wu et al., 2024) now ship grounding as standard. All of these models were built for photographs. None has been given a sketch. This paper brings sketch into the interface, in both directions (Fig. 1). Sketch-Omni works on sketches: the sketch is the image, and text prompts detect, point, resolve object and spatial referring expressions, and ground affordances in it. We call these five the sketch-native tasks. And it works from sketches: the sketch is the prompt, and given a drawing of one object and a photograph, the model localises that object in the photograph. To our knowledge it is the first perception MLLM to support both directions.

Sketch deserves this because it is not another kind of image. A photograph records what stood in front of a camera. A sketch records what a person has in mind: a product not yet built, a suspect never photographed. It is specific: a drawing shows the shape of one particular object, which is why fine-grained sketch retrieval has worked for a decade (Yu et al., 2016; Xu et al., 2023). And it is cheap: a few strokes, drawn in seconds, before any search begins. Put these together and a sketch can ask a question no other prompt can. A category name returns every instance of the category. A photo exemplar does the same, and it exists only if the object has already been photographed. A sketch, drawn from memory, asks for that one among several of its kind (Fig. 2). Chowdhury et al. (2023) first showed that a standalone detector can use a sketch this way. No perception MLLM can: its visual prompts are boxes and

Figure

Figure 1: Sketch-Omni. Top, from a sketch: the sketch is the prompt, and a drawing of one object localises that object in a photograph. Bottom, on a sketch: the sketch is the image, and text prompts detect, point, resolve object and spatial referring expressions, and ground affordances in it. One model, one coordinate-token interface.

Figure

Figure 2: Category-level versus instance-level visual prompting. A photo exemplar returns every instance of its category (blue); a sketch returns only the one it depicts (red).

exemplars, and each stands for a category. We bring the query into the prompt interface as instance-level sketch-based visual prompting (instance VP), and it is where a sketch model should prove itself: on photographs with several instances of the queried category, where a name no longer helps.

Two things stand in the way. The first is the model. A photo-trained MLLM grounds a phrase by relating its tokens to image patches, and it relates the patches of one object to each other. Both relations rest on attention tuned to the colour and texture of photographs. A sketch has neither: most of the canvas is blank, and every cue is a line. On a sketch, Rex-Omni's attention spreads over empty space (Fig. 5), and a general-purpose MLLM finds roughly the right region but not the strokes that bound it (Sec. 4.4). The second is data. Photographic grounding is trained on tens of millions of labelled photographs (Liu et al., 2024; Jiang et al., 2026). Sketch has nothing comparable: single-object drawings each paired with one photo (Sangkloy et al., 2016), scene sketches without boxes (Chowdhury et al., 2022), and instance links found by retrieval rather than by hand (Gao et al., 2020). Nobody will box-annotate a million drawings.

Sketch-Omni answers both with two ingredients. The first is supervision built from photographs. An edge detector (Xie & Tu, 2015) turns any labelled photograph into a sketch-like line drawing that keeps the photograph's boxes, phrases, and affordance labels; run over Objects365, RefCOCOg, and AGD20K, this supervises all five sketch-native tasks at no labelling cost. For instance VP we construct the pairs no dataset has: a Sketchy drawing whose paired photo is tiled into a canvas beside other photos of its category, and an edge-sketch crop of one annotated object in an Objects365 photograph, to be found again in that photograph. The second is photo-guided relation alignment, which teaches the model to read a sketch the way it already reads a photograph. Grounding rests on two relations: how much each phrase token attends to each image patch, and how the patches of one object relate to each other. Both are about structure, and structure is exactly what a photograph and its edge sketch share. So each labelled photograph passes through the frozen model and its edge sketch through the LoRA-adapted one, and the sketch pass is trained to reproduce the photograph pass's two relations at every layer and head. The features are left free to differ, since a sketch is not a photograph; only the relations are matched. Not one training label is drawn by hand. The only hand annotation is for evaluation: 2754 sketch-to-photo instance links on FS-COCO, the first such benchmark we know of.

On instance VP, Sketch-Omni reaches 91.4 F1 at IoU 0.5 on FS-COCO, against 81.8 for the strongest general-purpose MLLM, Qwen3-VL-8B, given the same two images; its own base model, whose visual prompts must be boxes inside the target photograph, scores 4.0. The lead over Qwen3-VL-8B is 8.4 F1 when the photograph holds one instance of the queried category and 17.2 when it holds several (Sec. 4.3): the advantage sits exactly where a name fails. Across the six tasks Sketch-Omni is best in 39 of 40 table cells, and where general-purpose MLLMs collapse at tight boxes (Qwen3-VL-8B: 75.3 F1 at IoU 0.5 on free-hand detection, 23.0 at IoU 0.9) it holds 65.7. The alignment improves every one of the 14 ablation cells, by up to 4.3 F1 on referring, the task that depends most on a phrase selecting its region (Table 1, App. F).

What this opens. Sketch research has built one model per task: a recogniser, a retriever, a segmenter. Sketch-Omni replaces the model with a prompt. Any task the grounding literature poses to a photograph can now be posed to a drawing, in the same words; this paper poses six. For grounding research, sketch offers three things: a visual prompt that names an instance without a photograph of it; a modality added to a perception MLLM without a single new label; and a test of how much a model's grounding leans on appearance, since a sketch is a photograph with its appearance removed, and the IoU 0.9 column is the score.

References (53)