TL;DR
When multimodal AI models try to locate objects from tricky, indirect descriptions—like "the object the person is about to sit on"—they usually either guess in a single leap or "think out loud" using purely text-based steps that lose touch with the actual image. ReVA (Reasoning with Visual Anchors) fixes this by forcing every intermediate thought to physically lock onto specific visual regions in the image, creating a verifiable trail of visual breadcrumbs that leads to state-of-the-art pixel-level segmentation.
What Problem Does This Paper Address?
Imagine looking at a crowded lunch plate and asking an AI to outline "the bottom sandwich" or "what provides a crunchy, nutritious addition to the mix." This task is called reasoning segmentation: instead of naming an object directly ("segment the almond"), the prompt requires commonsense, spatial, and relational deduction to produce a pixel-accurate mask.
Existing Multimodal Large Language Models (MLLMs) tackle this in one of two flawed ways:
- Implicit leaps: Models like LISA append a special
[SEG]token to their output and immediately project its hidden state into a mask decoder. All the complex reasoning gets squished silently into hidden layers, underutilizing the LLM's step-by-step reasoning abilities. - Unverified text monologues: Newer Chain-of-Thought (CoT) models talk themselves through the problem in plain text before spitting out a bounding box. However, words alone are visually ambiguous—if there are two grilled sandwiches, saying "the sandwich with grill marks" doesn't guarantee the model is actually looking at the right one. Even when models output intermediate bounding box coordinates as text tokens, their internal representations don't actually attend to those image pixels, allowing early hallucinations to snowball.
Methods
ReVA bridges the gap between language deduction and pixel-level evidence using a Chain-of-Anchor (CoA) framework. Built on a standard backbone (Qwen3-VL-8B paired with a SAM-H image encoder and mask decoder), ReVA introduces two novel training mechanisms alongside standard text generation and mask decoding:
- Anchor-to-Region Grounding: Instead of purely textual thoughts, ReVA interleaves special
<anchor_k>tokens right after intermediate objects mentioned in its reasoning trace (e.g.,plate <anchor_1> ... stacked sandwiches <anchor_2>), ending with a<target>token. During training, each anchor's hidden state is projected into the vision encoder's latent space and compared via dot-product against visual features to create a spatial map. A binary cross-entropy loss forces each anchor to align directly with the pixels of its referent region. - Multi-hop Visual Transition: Grounding individual anchors isn't enough; the logic connecting them matters too. ReVA uses a lightweight cross-attention "transition head" where the current anchor queries the intervening text (e.g., "in front of it") to predict the representation of the next anchor in the chain (using a cosine similarity loss with a stop-gradient on the destination). If an anchor is mislocalized or the spatial text is wrong, the chain breaks and the model is penalized.
During inference, ReVA takes just the image and query, generates its grounded trace up to the <target> token, and decodes that final token into a sharp segmentation mask.
Datasets
Standard segmentation datasets provide final target masks, not step-by-step visual reasoning chains. To train ReVA without expensive human re-annotation, the authors built the Chain-of-Anchor dataset:
- New Benchmark/Training Data: Over 245K quality-filtered samples derived from the RefCOCO, RefCOCO+, and RefCOCOg datasets. A massive teacher model (Qwen3-VL-235B) was given ground-truth target boxes and prompted to write concise spatial reasoning traces with intermediate anchor boxes. These traces passed through a strict three-stage filter: rule-based sanity checks, spatial box verification via Grounding DINO, and logic/necessity scoring by an independent judge model (InternVL3.5) to prevent self-preference bias.
- Standard Training & Evaluation Mix: Following prior setups, training also blends semantic segmentation datasets (ADE20K, COCO-Stuff, LVIS-PACO), ReasonSeg, and LLaVA instruction-tuning data. Evaluation is conducted on ReasonSeg (validation and short/long-query test splits) and the RefCOCO series.
Key Insights and Ideas
- Textual CoT alone barely moves the needle: In ablation studies, training the model on MLLM-generated text reasoning without visual anchors gave only marginal gains over a non-reasoning baseline (+1.9 cIoU on ReasonSeg test). Explicitly binding tokens to visual features is what unlocks the jump (+6.3 cIoU).
- Don't take shortcuts with spatial supervision: When the authors tried aligning anchors to a single pooled visual vector instead of a dense spatial map, the cosine loss collapsed to zero early in training—matching one averaged vector was "too easy" and starved the model of rich spatial gradients.
- Keep intermediate breadcrumbs out of the final mask decoder: Fusing intermediate anchor embeddings with the
<target>token before decoding actually hurts accuracy. Anchors represent stepping-stone objects (like a table or a plate), so feeding them to the mask decoder injects background noise.
Key Results
ReVA-8B sets a new state of the art across both implicit reasoning and standard referring segmentation benchmarks (measured in generalized IoU gIoU and cumulative IoU cIoU):
- ReasonSeg Test Set: Achieves 68.0 gIoU and 65.3 cIoU overall—beating the previous best reinforcement-learning agent (SAM-Veteran) by +5.4 gIoU and surpassing the strongest supervised baseline (READ-7B) by +6.7 cIoU (and +9.5 gIoU).
- Complex Queries Shine: On ReasonSeg's challenging long-query test split, ReVA hits 68.1 gIoU / 65.4 cIoU, proving its multi-hop spatial transitions handle intricate descriptions gracefully.
- RefCOCO Series: Generalizes cleanly to standard referring expressions, topping prior reasoning segmentation methods across splits—including 78.9 cIoU on RefCOCO+ testA and 77.5 cIoU on RefCOCOg test.
- Qualitative Wins: Visually, while baselines like LISA and Seg-Zero get distracted by salient nearby objects or grab the wrong duplicate instance (e.g., picking the fuller glass of orange juice instead of the "less full" one), ReVA cleanly isolates the exact target.
Limitations and Future Work
Not discussed in the paper. (Note: Within the provided main text, the authors do not include a dedicated section discussing limitations or future research directions.)
Summary updated