TL;DR
To answer 3D spatial questions about videos, current AI agents force vision-language models (VLMs) into a slow, error-prone loop of writing code, running perception tools, and debugging their own mistakes. SpatialPaw breaks this loop by delegating all 3D geometry to deterministic vision modules in a single pass, letting the VLM focus purely on visual grounding and answering from a compact, viewpoint-aligned text graph. Without any task-specific training, a 4B-parameter model using SpatialPaw outperforms specialized, fine-tuned models across seven benchmarks while running 2.7× to 7.1× faster than other training-free agents—and at 125B, it runs up to 10.6× faster.
What Problem Does This Paper Address?
Reasoning about 3D and 4D scenes—figuring out where objects are, how they move, and how the camera itself is moving—is notoriously difficult for standard VLMs. A popular fix is to wrap the VLM in a multi-step agentic loop: the model plans a procedure, writes Python code to call external perception tools (like depth estimators or object trackers), and refines its code based on execution logs.
The authors show that this paradigm breaks down at both ends of the model-size spectrum:
- On small models (e.g., 4B parameters): Nearly half of all code-generating steps raise an error, and models rarely recover—a failed step is usually followed by another failure, often with the exact same exception. Worse, step-by-step coding causes agents to repeatedly run expensive 3D reconstruction and segmentation on the same video.
- On large models (27B–125B parameters): Code generation is more reliable, but the multi-turn loop becomes a massive latency bottleneck. Sequential decoding across turns of planning, coding, and revision accounts for the vast majority of the runtime.
For embodied applications like wearable assistants or mobile robots operating under tight compute and power budgets, this combination of fragility and latency is a dealbreaker.
Methods
Instead of asking the VLM to compute 3D geometry via code, SpatialPaw splits the labor cleanly into three stages:
- Question-Conditioned Selection: Given uniformly sampled video frames and a question, the VLM outputs a tiny structured selection: the relevant objects (as short noun phrases), the keyframes where they are clearly visible, and the reference viewpoint (either the camera or a specific object).
- Single-Pass Text Graph Construction: A deterministic pipeline takes over. It reconstructs 3D scene geometry once using Depth Anything 3, tracks the selected objects in a single pass using SAM 3.1, and estimates object orientation with Orient Anything. Crucially, it transforms all 3D coordinates into the chosen reference viewpoint's coordinate frame and compiles everything—positions, distances, bearings, velocities, and camera heading—into a compact text graph.
- Parallel Answering with Majority Vote: The same VLM reads the video, the question, and the text graph in a single shared prefill (reusing the KV cache). Because there is no code generation or diverging tool-call paths, it decodes $n=5$ short answers in parallel and aggregates them via majority voting (or median selection for numerical questions).
Datasets
The authors evaluate SpatialPaw on seven existing benchmarks (400 randomly sampled questions each):
- Video-based spatio-temporal reasoning: DSI-Bench, OSI-Bench, MMSI-Video-Bench, and VLM4D.
- Image-based spatial reasoning: MindCube, OmniSpatial, and ViewSpatial.
They also introduce PawPrints, a new benchmark of 560 four-option multiple-choice questions across 363 video clips. Unlike existing benchmarks, PawPrints specifically targets joint camera-and-object motion disentanglement, world-space trajectory perception, and novel-view reasoning from both object perspectives and arbitrary camera viewpoints outside the video.
Key Insights and Ideas
- Code generation is the wrong interface for small VLMs: Eliminating free-form code execution removes cascading syntax and API errors, allowing a 2B VLM with SpatialPaw to match the accuracy of a 4B base model.
- Viewpoint-centered text graphs offload mental rotation: VLMs struggle to implicitly transform coordinates into another object's or camera's perspective. Explicitly expressing 3D trajectories in the queried viewpoint's frame reduces 3D spatial reasoning to reading directional and metric attributes from text.
- Shared prefill makes ensembling cheap: In multi-step agents, sampling multiple answers means running multiple expensive agent loops. In SpatialPaw, sampling $n=5$ parallel answers adds only ~2.0 seconds per question on a 4B model because the video and text graph are prefilled only once.
Key Results
- State-of-the-art at 4B without training: With
Qwen3.5-4B, SpatialPaw achieves 52.8% average accuracy across the seven benchmarks (+10.2 points over the base model), ranking first on every single benchmark and outperforming spatially fine-tuned expert models and training-based agents. - Massive speedups across scales: At 4B, SpatialPaw runs 2.7× to 7.1× faster in median latency than training-free agents. At 27B (
Qwen3.8-27B), it is 7.7× faster than SpatialClaw with competitive accuracy (58.8% vs. 59.9%). At 125B (Qwen3.8-Flash-Next), it achieves 60.7% accuracy (+1.4 points over SpatialClaw) while running 10.6× faster (10.8s vs. 114.6s median time). - Cross-family generalization: Applying SpatialPaw to
Gemma 4 E4Byields an +11.0-point average gain across the seven benchmarks without any tuning. - PawPrints: SpatialPaw ranks first overall (48.6% vs. 37.3% base) and leads on both video-based and novel-view splits.
Limitations and Future Work
The authors note two main failure modes that remain open:
- Missed occluders: On occlusion queries, if the VLM fails to select a relevant occluding object during the initial selection stage, that object is omitted from the text graph.
- Global trajectory summarization: On trajectory shape queries, the VLM must still synthesize per-frame coordinates from the text graph into a coherent global path, which remains challenging.
Summary updated