TL;DR
Try solving a complex paper maze or counting 30 scattered pennies without using your finger—just narrating it in your head. That’s essentially what today's Multimodal Large Language Models (MLLMs) are forced to do, and it's why they lose their place and hallucinate. This paper introduces Thinking with Visual Primitives, giving AI a "digital finger" (coordinate points and bounding boxes) interleaved directly into its Chain-of-Thought so it can point while it reasons, beating frontier models at a fraction of the visual token cost.
What Problem Does This Paper Address?
Recent multimodal models have gotten great at "seeing" fine details by chopping high-resolution images into tiles—closing what the authors call the Perception Gap. Yet, these models still stumble on dense counting, multi-step spatial logic, or tracing tangled lines.
Why? Because their Chain-of-Thought (CoT) reasoning happens almost entirely in plain text. Natural language is notoriously clumsy at acting as a precise pointer in continuous visual space ("the third guy from the left in the middle row... wait, which row?"). The authors call this the Reference Gap. When words fail to unambiguously anchor onto visual objects across multiple steps, the model loses track of what it already looked at, triggering cascading hallucinations. While prior works have used bounding boxes in CoT, they largely treated them as post-hoc receipts for perception rather than active building blocks for structural reasoning.
Methods
The model uses a standard LLaVA-style architecture: an arbitrary-resolution Vision Transformer (ViT) that applies a $3 \times 3$ spatial token compression before feeding visual tokens into an internal Mixture-of-Experts (MoE) LLM.
What’s novel is elevating spatial markers—<|point|> coordinates and <|box|> bounding boxes—into "minimal units of thought" woven directly into the text generation. To teach the model both skills without the two formats clashing, the authors use a "train-specialists-then-merge" post-training pipeline:
- Specialized SFT & RL: Starting from a pretrained base, they train two separate specialists—one for boxes (thinking with grounding) and one for points (thinking with pointing). Next, they apply Group Relative Policy Optimization (GRPO) using custom Reward Models checking syntax/redundancy, reasoning quality, and task-specific accuracy (e.g., smoothly decaying rewards for near-miss counts, or step-by-step wall-violation checks in mazes).
- Unified RFT (Rejection/Rollout Fine-Tuning): Both RL specialists generate reasoning rollouts on a broader data pool. Verified "normal-difficulty" trajectories (plus 5% easy ones to prevent forgetting) are combined to fine-tune a single unified model from the base checkpoint.
- On-Policy Distillation (OPD): Finally, two even stronger RL teachers are trained from the unified model, and their knowledge is consolidated back into a single student model by minimizing reverse KL divergence over the full vocabulary logits on the student's own generated trajectories.
Datasets
- Cold-Start Training Data: The authors curated ~604,000 high-precision reasoning traces across four tasks:
- Topological: Procedurally generated Maze Navigation (460k samples across rectangular, circular, and honeycomb grids, including subtly broken unsolvable mazes) and Path Tracing (125k samples of overlapping Bézier curves).
- Counting & Spatial VQA: ~10k counting samples (aggregated from dense detection datasets for coarse batch-grounding, plus GQA scene graphs for fine-grained sequential scanning) and ~9k spatial VQA samples (from GQA and multi-hop synthetic CLEVR scenes, augmented with "faithful refusal" negative examples).
- Evaluation Benchmarks: Tested on 7 public benchmarks (CountQA, Pixmo-Count, MIHBench, SpatialMQA, EmbSpatial, CV-Bench, OmniSpatial), 2 general capability benchmarks (MMMU, DocVQA), and 4 new in-house benchmarks: Finegrained_Counting (600 hard-negative cases), Spatial_Reasoning (2,000 CLEVR-based questions), Maze_Navigation (2,000 instances), and Path_Tracing (2,000 instances).
Key Insights and Ideas
- Deictic gestures for AI: Humans point at things to offload working memory. By turning coordinates into native tokens inside the reasoning stream, the model offloads spatial tracking from vague words onto exact numbers.
- Adaptive "visual attention" speed: In path tracing, the model learns to drop sparse coordinate waypoints on straightaways and dense clusters of points at sharp curves or intersections—mirroring how human eyes slow down at visual tangles.
- Reasoning beats raw resolution: Rather than flooding the LLM with thousands of high-res image patches, aggressive $3 \times 3$ token compression paired with precise coordinate referencing achieves superior reasoning at a fraction of the compute.
Key Results
Across the 7 selected public counting and spatial benchmarks, the model achieves an average score of 77.2%, outperforming Gemini-3-Flash (76.5%), GPT-5.4 (71.1%), Gemma-4-31B (69.7%), Qwen3-VL-235B (68.1%), and Claude-Sonnet-4.6 (65.3%).
- Extreme Token Efficiency: For an $800 \times 800$ image, the model uses only ~361 image tokens, compared to ~740 for GPT-5.4, ~870 for Claude-Sonnet-4.6, and ~1,100 for Gemini-3-Flash.
- Topological Leap: Frontier models struggle on topological tasks, hovering around ~50% on Maze_Navigation (essentially guessing solvability) and 24.5%–46.5% on Path_Tracing. The proposed model jumps to 66.9% on mazes and 56.7% on path tracing.
- No General Capability Tax: General multimodal scores hold steady (and slightly improve) after training, finishing at 74.0 on MMMU and 94.8 on DocVQA.
Limitations and Future Work
The authors note that their benchmark suite intentionally targets counting, spatial, and topological reasoning, meaning the headline averages do not reflect overall general-purpose superiority across all multimodal domains. Additionally, in fair API comparisons, configurable frontier models (like GPT-5.4 and Gemini-3-Flash) were evaluated with their thinking budgets uniformly set to low, and the proposed model uses a mode-activation prefix. Even with visual primitives, topological scores (66.9% and 56.7%) show plenty of headroom remains. Overall, the paper points toward a compelling future direction: scaling System-2 multimodal intelligence not by feeding models ever more pixels, but by building sharper referential bridges between language and vision.
Summary updated