TL;DR
This paper introduces visually grounded thinking, a novel reasoning format where vision-language models (VLMs) interleave natural-language thoughts with explicit pixel coordinates (points or bounding boxes) for every object they reference. By combining a scalable SAM3-based data synthesis pipeline with grounding-aware reinforcement learning, the authors show that a 4B parameter model can match or even outperform a 27B model on complex spatial reasoning and counting tasks.
What Problem Does This Paper Address?
While recent vision-language models (VLMs) can generate impressive step-by-step natural language reasoning chains (similar to DeepSeek-R1 or OpenAI's o1), their thoughts remain entirely textual. A model might write, "the red car is near the entrance," but there is no way to verify if it is actually looking at the correct red car or simply hallucinating a plausible-sounding path to a lucky guess.
Because the visual evidence remains implicit, these reasoning traces are incredibly difficult to verify and supervise. This paper tackles this gap by forcing models to "show their work" not just in words, but by explicitly pointing to the exact image regions that make their statements true.
Methods
The authors propose a two-stage framework: automated data synthesis followed by grounding-aware reinforcement learning.
1. Data Synthesis Pipeline
To train this behavior without expensive human annotation, the authors built an automated pipeline (illustrated in Figure 3):
- Trace Distillation: They prompt strong VLMs (like Qwen3-VL-Plus) to generate correct text-only reasoning chains.
- Object Extraction: An LLM extracts essential visual objects mentioned in the trace, along with their disambiguating context (e.g., "the laptop on the near side").
- Agentic Grounding: A specialized agent powered by Segment Anything 2/3 (SAM3) and a VLM iteratively generates high-fidelity pixel masks for these objects.
- Coordinate Formatting: These masks are converted into either bounding boxes
[x1, y1, x2, y2]or central points[x, y]and re-inserted into the text as structured<obj>tags.
2. Grounding-Aware Reinforcement Learning
Using the Group Relative Policy Optimization (GRPO) algorithm, the model is optimized using two main reward signals:
- Answer Correctness Reward: Standard reward for getting the final answer right.
- Dense Grounding Reward: A lightweight VLM router matches the model's generated tags to the ground-truth objects. Box coordinates are scored using Intersection-over-Union (IoU), while point coordinates are evaluated using an instance-level F1 score.
Datasets
The synthesis pipeline was applied to five open-source datasets spanning counting and spatial reasoning: TallyQA, Pixmo-Count, VSR, MultihopSpatial, and SpatialMQA.
The final curated training set consisted of 19,909 reasoning traces containing over 107,000 grounding annotations. Evaluation was conducted on held-out test sets across two counting benchmarks (TallyBench, CountQA) and four spatial reasoning benchmarks.
Key Insights and Ideas
- Grounding Stabilizes RL Training: A fascinating finding was that text-only reasoning models suffered from "length collapse" during RL—their responses grew shorter and less accurate over time. Interleaving grounding tags provided a local structural regularizer that stabilized RL training and maintained robust exploration.
- Interface Specialization: The choice of grounding interface matters based on the task. Point grounding is highly effective for counting because the model only needs to localize instances without worrying about exact boundaries. Conversely, box grounding shines in spatial reasoning because bounding boxes inherently capture object extent and relative geometry (e.g., overlapping, above/below).
- Smooth vs. Coarse Rewards: Bounding box IoU provides a smooth optimization signal for RL because any slight adjustment to the box changes the score. Point rewards are piecewise constant (moving a point inside an object doesn't change the score until it crosses the boundary), making point-based RL harder to optimize.
Key Results
The authors evaluated their approach by fine-tuning Gemma3-4B-IT.
- Outperforming the Baseline: Visually grounded thinking consistently outperformed both the base model and the non-grounded text baseline across all benchmarks.
- David vs. Goliath: On spatial reasoning tasks, the grounded 4B model matched or exceeded the performance of the much larger Gemma3-27B-IT. For example, on the SpatialMQA benchmark, the grounded 4B model achieved a
pass@4score of 68.49%, significantly outperforming the 27B model's 54.28%.
Limitations and Future Work
- Point Reward Optimization: Because the point grounding reward is discrete, it acts as a weaker optimization signal during RL. Developing smoother, distance-based point rewards is an open challenge.
- Permissive Evaluation: To allow the model to discover alternative valid visual evidence during reasoning, the RL framework does not penalize unmatched objects. However, this requires a hard-coded cap to prevent the model from spamming coordinates.
- Scope: The current work focuses heavily on counting and spatial relations. Extending visually grounded thinking to broader domains like document understanding, chart reading, or robotic manipulation remains future work.
Summary updated