TL;DR
This paper introduces "Thinking with Blueprints," a novel framework that dramatically improves the spatial reasoning capabilities of Vision-Language Models (VLMs). Instead of jumping straight to an answer or relying on scattered bounding boxes, the model first constructs a structured, JSON-style "blueprint" detailing the positions, sizes, and attributes of relevant objects before reasoning over it. This explicit decoupling of observation from reflection allows a 7B model to outperform frontier proprietary models on complex spatial tasks.
What Problem Does This Paper Address?
While Vision-Language Models excel at general visual perception, spatial reasoning—understanding relationships like "to the left of," "inside," or tracking object movements relative to a changing camera perspective—remains a major Achilles' heel.
Existing solutions generally fall into two camps:
- Thinking with images: Cropping or zooming into local patches, which improves fine-grained detail but destroys global spatial context.
- Thinking with coordinates: Predicting isolated bounding box coordinates, which lacks structured entity relationships and fails to capture how objects relate globally.
Furthermore, models frequently exploit "shortcuts" (e.g., memorizing linguistic patterns in questions or background textures) rather than performing true spatial reasoning. When the camera angle shifts or a question is slightly inverted, these models fall apart.
Methods
The authors propose a two-stage pipeline (Supervised Fine-Tuning followed by Reinforcement Learning) to teach models how to build and utilize an object-centric blueprint:
- Blueprint Generation: Given an image and a question, the VLM autoregressively generates a structured JSON representation containing object names, bounding boxes, and natural-language attributes.
- Supervised Fine-Tuning (SFT): Since standard datasets lack blueprint annotations, the authors use Monte Carlo Tree Search (MCTS) paired with a powerful teacher model (GPT-4o) to bootstrap high-quality, blueprint-embedded reasoning traces for training.
- Reinforcement Learning (RL) via GRPO: To refine this capability without a separate critic model, they optimize the VLM using Group Relative Policy Optimization with two novel blueprint-aware rewards:
- Object Cardinality Reward: Penalizes incomplete blueprints and caps rewards for excessive irrelevant objects, ensuring the model identifies exactly what is necessary.
- Causal Consistency Reward: Measures token probabilities to ensure the final answer logically and faithfully follows from the intermediate blueprint reasoning.
- Anti-Shortcut Data Augmentation: To break superficial memorization, they perturb training data by digitally removing objects from images (using image-editing models) or inverting spatial predicates in questions (e.g., changing "left" to "right") and updating the ground-truth answers accordingly.
Datasets
- Training: The model is trained exclusively on the training split of the Spatial Aptitude Training (SAT) dataset, which consists of synthetic indoor scenes.
- Evaluation:
- In-Distribution (i.i.d.): SAT validation set.
- Out-of-Distribution (o.o.d.): SAT test set, BLINK (spatial subsets), RoboSpatial (robotics-focused spatial rules), and Visual Spatial Reasoning (VSR) (real-world images with static relationships).
Key Insights and Ideas
- Observation vs. Reflection: Forcing the model to systematically catalog the scene before attempting to answer prevents it from getting confused by complex or deceptive phrasing in the prompt.
- Structured Layouts Beat Raw Coordinates: A unified JSON blueprint provides a coherent global spatial context. Scattered coordinates fail to capture entity-to-entity relationships.
- The Necessity of Anti-Shortcut Training: VLMs are notoriously lazy. Without explicitly altering images and questions to invert answers during training, models will rely on dataset biases rather than actual geometric understanding.
- Handling Egocentric Shifts: By establishing fixed reference objects within the blueprint, the model can successfully reason through complex camera movements (e.g., tracking if an object moved left or right when the camera itself moved).
Key Results
- Massive Performance Gains: On the in-distribution SAT val set, the proposed method achieves a 92.7% accuracy, representing a 35.9% absolute improvement over the base Qwen2.5-VL model (56.8%) and easily outperforming specialized coordinate-based methods like VigoRL (67.5%).
- Strong Zero-Shot Generalization: Despite being trained only on synthetic indoor scenes, the model generalizes remarkably well to real-world and out-of-distribution datasets, beating frontier models like GPT-5-Thinking on RoboSpatial (70.2% vs 65.4%) and VSR (84.8% vs 84.2%).
- Sharper Visual Focus: Attention map visualizations show that the blueprint method forces the model's internal attention to cluster tightly and cleanly around the true regions of interest, whereas standard Chain-of-Thought attention remains scattered across the image.
Limitations and Future Work
- Synthetic Training Bias: The model's training relies heavily on the synthetic SAT dataset; incorporating more diverse, real-world spatial training data could further boost robustness.
- Scale Constraints: Due to computational resource limits, the authors only evaluated their method on a 7B parameter base model; exploring larger base VLMs (e.g., 32B+) remains an open direction.
- Extensions to Video and 3D: While the authors demonstrated a lightweight frame-selection proof-of-concept for extending this to video, fully adapting the blueprint framework to video- and 3D-based spatial reasoning for tasks like robotic manipulation is a key next step.
Summary updated