Papers
Topics
Authors
Recent
Search
2000 character limit reached

OV-RefOD: Open Vocabulary Referring Detection

Updated 7 July 2026
  • OV-RefOD is an object detection framework that localizes arbitrary concepts from free-form text queries, going beyond fixed detector labels.
  • It employs pseudo-labeling and CLIP-based region-text alignment alongside prompt-conditioned prediction to improve zero-shot localization performance.
  • Inference techniques like Reverse Contrast Attention reweight cross-modal attention, enhancing interpretability and precision without retraining.

Searching arXiv for the two specified papers to ground the article. arXiv search: (Kang et al., 2023) arXiv search: (Juanico et al., 26 Jul 2025) Open Vocabulary Referring Object Detection (OV-RefOD) denotes object localization conditioned on text queries that are not restricted to a fixed detector label set. In the reported literature, this setting appears both as zero-shot localization from rich referring expressions and as prompt-based extraction of object boxes from open-source vision-LLMs (VLMs). The supplied sources describe two distinct mechanisms for this problem: learning region-text alignment for arbitrary concepts through pseudo-labeling in a CLIP-based detector, and modifying final-layer cross-modal attention at inference time to improve localization and interpretability without retraining (Kang et al., 2023, Juanico et al., 26 Jul 2025).

1. Scope and task formulation

Open-vocabulary object detection (OVOD) is described as extending target vocabulary from pre-defined categories to open-world by transferring knowledge of arbitrary concepts from vision-language pre-training models to detectors. Within that framing, prior OVOD methods are characterized as suffering from indirect supervision or limited transferable concepts, and the PLAC formulation is introduced to directly learn region-text alignment for arbitrary concepts (Kang et al., 2023).

For referring-object localization, the reported RefCOCOg protocol uses the validation split with approximately 47K47\text{K} expressions, where queries describe individual objects with rich attributes, including color, relationships, and text. Evaluation is zero-shot: no fine-tuning on referring-expression-comprehension data is performed. Given each image-query pair, the OVOD model scores regions against a single text embedding and returns the top-kk regions, with k{1,5,10}k \in \{1,5,10\} (Kang et al., 2023).

A second formulation treats OV-RefOD as prompt-conditioned box prediction in general-purpose VLMs. The reported benchmark uses the COCO val 2017 novel split with 2,064 (image,query)(\text{image}, \text{query}) pairs. Queries take the form: “Give the normalized bounding box coordinates in [x1,y1,x2,y2][x1,y1,x2,y2] of all instances of {cls}\{cls\} in the image.” Ground truth is drawn from the COCO base-vocabulary subset (Juanico et al., 26 Jul 2025).

These protocols indicate that OV-RefOD, as represented here, covers both arbitrary-concept grounding from free-form language and open-vocabulary localization from explicit detection prompts.

2. PLAC: pseudo-labeling for arbitrary concepts

The PLAC method uses Deformable DETR with a Swin-Transformer backbone, either Tiny or Base. The detector outputs NN object queries, each decoded into a region embedding oiRDo_i \in \mathbb{R}^D, a bounding box bib_i, and a classification score. For any text concept cc, whether a base class name or a pseudo-label, a frozen CLIP text embedding kk0 is obtained via kk1. Region-text alignment is scored by

kk2

with fixed kk3 and kk4. At inference, a free-form query text kk5 is encoded as kk6, each region embedding kk7 is scored by kk8, and the top-kk9 regions are selected (Kang et al., 2023).

The pseudo-label generator itself is trained on CC3M, consisting of k{1,5,10}k \in \{1,5,10\}0 million web image-alt-text pairs, while CLIP encoders remain frozen. For each pair k{1,5,10}k \in \{1,5,10\}1,

k{1,5,10}k \in \{1,5,10\}2

The PLAC module is a 3-layer MLP with GeLU mapping k{1,5,10}k \in \{1,5,10\}3: k{1,5,10}k \in \{1,5,10\}4 Training combines mean-squared error,

k{1,5,10}k \in \{1,5,10\}5

with Relational KD (RKD),

k{1,5,10}k \in \{1,5,10\}6

where

k{1,5,10}k \in \{1,5,10\}7

and k{1,5,10}k \in \{1,5,10\}8 is the average distance over the batch. The overall objective is

k{1,5,10}k \in \{1,5,10\}9

with (image,query)(\text{image}, \text{query})0. Optimization uses AdamW with learning rate (image,query)(\text{image}, \text{query})1, batch size (image,query)(\text{image}, \text{query})2, for (image,query)(\text{image}, \text{query})3 epochs (Kang et al., 2023).

Pseudo-label extraction on detection images proceeds by training a Region Proposal Network using Deformable DETR as RPN on LVIS-base annotations only. From each training image, up to approximately (image,query)(\text{image}, \text{query})4 proposals are extracted. Proposals are discarded if they have IoU (image,query)(\text{image}, \text{query})5 against any base annotation or objectness (image,query)(\text{image}, \text{query})6. For each remaining proposal (image,query)(\text{image}, \text{query})7, the image crop is encoded with (image,query)(\text{image}, \text{query})8, projected through PLAC, and the resulting (image,query)(\text{image}, \text{query})9 is stored as the region’s pseudo-text embedding (Kang et al., 2023).

3. Detector training and zero-shot OV-RefOD with PLAC

Full OVOD training uses two-stage bipartite matching. In Stage 1, object queries are matched to annotated base-class text embeddings [x1,y1,x2,y2][x1,y1,x2,y2]0. In Stage 2, leftover queries are matched to PLAC pseudo-labels [x1,y1,x2,y2][x1,y1,x2,y2]1 on proposals. Matching uses the Hungarian algorithm with a cost combining classification and, for base annotations, box regression (Kang et al., 2023).

For each matched pair [x1,y1,x2,y2][x1,y1,x2,y2]2, the binary target is [x1,y1,x2,y2][x1,y1,x2,y2]3, and for all other [x1,y1,x2,y2][x1,y1,x2,y2]4, [x1,y1,x2,y2][x1,y1,x2,y2]5. The classification loss is binary cross entropy,

[x1,y1,x2,y2][x1,y1,x2,y2]6

The box loss, applied only for Stage 1 base matches, is

[x1,y1,x2,y2][x1,y1,x2,y2]7

The total OVOD loss is

[x1,y1,x2,y2][x1,y1,x2,y2]8

with [x1,y1,x2,y2][x1,y1,x2,y2]9 in Deformable DETR (Kang et al., 2023).

On LVIS rare classes, the reported AP{cls}\{cls\}0 values are as follows. In the controlled setting with fewer than {cls}\{cls\}1 million backbone parameters: ViLD (RN50) achieves {cls}\{cls\}2, RegionCLIP {cls}\{cls\}3, VLDet (Swin-T) {cls}\{cls\}4, and PLAC (Swin-T) {cls}\{cls\}5, which is reported as {cls}\{cls\}6 over base-only. In the large-scale setting with more than {cls}\{cls\}7 million parameters: OWL-ViT (ViT-L) achieves {cls}\{cls\}8, VLDet (Swin-B) {cls}\{cls\}9, and PLAC (Swin-B) NN0 (Kang et al., 2023).

For RefCOCOg zero-shot Precision@NN1, the reported values are:

  • VLDet T: NN2 at @1, NN3 at @5, NN4 at @10
  • PLAC T: NN5 at @1, NN6 at @5, NN7 at @10, with increases of NN8, NN9, and oiRDo_i \in \mathbb{R}^D0
  • VLDet B: oiRDo_i \in \mathbb{R}^D1 at @1, oiRDo_i \in \mathbb{R}^D2 at @5, oiRDo_i \in \mathbb{R}^D3 at @10
  • PLAC B: oiRDo_i \in \mathbb{R}^D4 at @1, oiRDo_i \in \mathbb{R}^D5 at @5, oiRDo_i \in \mathbb{R}^D6 at @10, with increases of oiRDo_i \in \mathbb{R}^D7, oiRDo_i \in \mathbb{R}^D8, and oiRDo_i \in \mathbb{R}^D9 (Kang et al., 2023)

A common misconception is that open-vocabulary referring localization is confined to noun concepts. The RefCOCOg results are reported specifically for arbitrary concepts, and the source explicitly distinguishes noun-concept benchmarks from referring-expression evaluation with richer linguistic content (Kang et al., 2023).

4. Reverse Contrast Attention as an inference-time intervention

Reverse Contrast Attention (RCA) is formulated for vision-language transformers at the final transformer layer. Hidden states bib_i0 are produced from value vectors bib_i1 via attention distribution bib_i2: bib_i3 RCA reweights each bib_i4 so that mid-range activations near a central value bib_i5 are amplified while extreme high or low activations are suppressed. Two equivalent options are given: bib_i6 or

bib_i7

The parameter bib_i8 has default value bib_i9, and cc0 is chosen as the mean of the column-wise max attention across heads (Juanico et al., 26 Jul 2025).

The modified weights are renormalized by

cc1

The method can also be viewed as an element-wise flooring of hidden states,

cc2

with threshold cc3 tied to cc4. The RCA-modified hidden state is

cc5

For each dimension cc6, using

cc7

the decomposition

cc8

leads to the flooring inequality

cc9

where kk00 is the minimal subthreshold component. When kk01 is small, kk02, enforcing the flooring operation (Juanico et al., 26 Jul 2025).

Algorithmically, RCA is inserted after the final-layer unnormalized attention scores kk03 are scaled by kk04 and softmaxed. Per-query kk05 is computed by taking cross-head maxima, kk06 is computed as kk07, kk08 is formed by one of the two reweighting rules, the result is renormalized, and final hidden states are recomputed. No fine-tuning is required (Juanico et al., 26 Jul 2025).

5. Metrics and experimental protocols

The PLAC-based RefCOCOg evaluation uses Precision@kk09, defined as the fraction of queries whose ground-truth box appears in the top-kk10. The protocol is explicitly zero-shot, with the model run directly on image-query pairs and regions ranked by the single query text embedding (Kang et al., 2023).

The RCA study introduces FitAP because many VLMs do not supply usable confidence scores for conventional object-detection AP. FitAP is defined as

kk11

where kk12. For each threshold kk13, detections are ranked by

kk14

where kk15 is normalized box area and kk16 is computed against the closest unmatched ground-truth box at threshold kk17. Precision-recall curves are then formed in the standard way over this ranking, and the area under the curve gives kk18 (Juanico et al., 26 Jul 2025).

The RCA evaluation covers fifteen open-source VLMs. Reported late-fusion or modular models are Ovis2-34B, SAIL-VL-1.6-8B, Qwen2.5-VL-7B, MiniCPM-o-2.6, Kimi-VL-A3B, Gemma3-27B, VARCO-VISION-14B, PaliGemma2-3B-mix-448, and Moondream2. Reported early-fusion or tightly integrated models are DeepSeek-VL2, Valley-Eagle, WeThink-Qwen2.5VL-7B, POINTS1.5-Qwen2.5-7B, valley2_dpo, and Ristretto-3B. All checkpoints come from HuggingFace, LLM size is below kk19B, model outputs are parsed with regex to extract boxes normalized to kk20, and attention is extracted at the final cross-modal layer (Juanico et al., 26 Jul 2025).

A second common misconception is that confidence-based AP is the only valid way to evaluate detection quality. The FitAP construction is an explicit counterexample: it replaces detector confidence with the product of normalized box area and IoU when model outputs do not expose a conventional confidence channel (Juanico et al., 26 Jul 2025).

6. Empirical patterns, interpretability, and reported directions

For RCA, the reported FitAP table shows that kk21 of kk22 models improved. Qwen2.5-VL-7B increases from kk23 to kk24, a reported kk25, and MiniCPM-o-2.6 increases from kk26 to kk27, a reported kk28. Other positive changes include SAIL-VL-1.6-8B from kk29 to kk30 kk31, DeepSeek-VL2 from kk32 to kk33 kk34, PaliGemma2-3B-mix from kk35 to kk36 kk37, and Moondream2 from kk38 to kk39 kk40. Negative cases include WeThink-Qwen2.5VL-7B kk41, Ristretto-3B kk42, POINTS1.5-Qwen2.5-7B kk43, and Valley-Eagle kk44 (Juanico et al., 26 Jul 2025).

The interpretability analysis ties performance to attention sharpness and fusion timing. The sharpness measure kk45 is the mean column-max of multi-head attention, and kk46 is the number of hidden-state dimensions below kk47. Pearson correlations between kk48 and kk49 are reported as kk50 for Qwen2.5-VL-7B, kk51 for DeepSeek-VL2, and kk52 (not significant) for WeThink. In the two benefit cases, increasing kk53 correlates with decreasing kk54, which is reported as supporting the flooring inequality. The same analysis states that late-fusion models benefit most from RCA, while DeepSeek-VL2, despite being an early-fusion Mixture-of-Experts model, also improves, suggesting that internal disentanglement can arise under early fusion if capacity and gating permit (Juanico et al., 26 Jul 2025).

Qualitative visualizations are consistent with the quantitative results. Reported examples include recovery of missed boxes for bus, elephant, and small objects in Qwen2.5-VL-7B, sharper localization of elephants, cups, umbrellas, and airplanes in PaliGemma2-3B-mix and valley2_dpo, and a “kite” case in which previously subdued token patches become prominent after RCA, leading to correct detection (Juanico et al., 26 Jul 2025).

For PLAC, practical recommendations emphasize training the PLAC MLP on large-scale image-text datasets such as CC3M, COYO-700M, and LAION-400M; keeping CLIP encoders frozen; and using two-stage Hungarian matching so that true base annotations are matched first and noisy pseudo-labels do not overwhelm learning. Suggested extensions include adding a cross-modal contrastive loss, hard-negative mining, end-to-end PLAC integration into DETR’s decoder, and leveraging relation phrases such as verbs and adjectives through soft templates or multi-sentence descriptions (Kang et al., 2023).

Taken together, the reported literature indicates two non-exclusive trajectories for OV-RefOD. One trajectory expands detector supervision beyond noun concepts by generating pseudo-text embeddings for arbitrary regions and training a CLIP-based detector against them. The other trajectory modifies cross-modal attention at inference time to expose semantically relevant but previously subdued evidence in multimodal transformers. This suggests that OV-RefOD can be advanced either by strengthening the training signal for arbitrary concepts or by rebalancing inference-time attention in already trained VLMs (Kang et al., 2023, Juanico et al., 26 Jul 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Open Vocabulary Referring Object Detection (OV-RefOD).