Research
SpatialTraceGen: High-Fidelity Traces for Efficient VLM Spatial Reasoning Distillation
Overview Research area: Spatial reasoning in Vision-Language Models (VLMs), specifically the generation of training data for distilling multi-step, multi-tool reasoning from large teacher models into

- arXiv
- 2511.00054
- Published
- 2025-10-28
- Authors
- Gio Huh, Dhruv Sheth, Rayhan Zirvi, Frank Xiao
AI summary
Overview
Research area: Spatial reasoning in Vision-Language Models (VLMs), specifically the generation of training data for distilling multi-step, multi-tool reasoning from large teacher models into smaller, more deployable models.
Technical level: Intermediate. The paper is readable without deep reinforcement-learning background, but it assumes familiarity with VLM tool use, fine-tuning, and standard offline RL terminology (IQL, CQL, AWR).
Scope: The paper introduces SpatialTraceGen, a pipeline that orchestrates a GPT-4o agent with three vision tools and an automated GPT-4o Verifier to produce verified, step-by-step spatial reasoning traces, and it evaluates the effect of verifier strictness on trace quality using 100 CLEVR-Humans images.
What This Paper Is About
Vision-Language Models perform poorly on spatial reasoning tasks, and one promising fix is to fine-tune smaller, cheaper models on high-quality examples of step-by-step reasoning with external tools. The problem is that no such high-quality, multi-hop, multi-tool reasoning data exists, and creating it by hand is expensive. This paper builds an automated pipeline that generates those traces and uses a separate "Verifier" model to grade and regenerate each step, so the resulting dataset is measurably higher quality without human annotation.
Key Contributions
- Data generation framework. A system that orchestrates an LLM agent with vision tools to produce verifier-vetted reasoning chains, generating high-fidelity training data at scale rather than executing tasks directly.
- Knowledge distillation dataset. Traces of complex spatial reasoning designed to transfer capabilities from large teacher models to smaller models through fine-tuning.
- Verifier-driven quality improvement. Empirical evidence that the automated Verifier raises average trace quality by 17% and reduces variance by over 40% without sacrificing answer accuracy.
- Structured trace format. Traces are formalized as sequences of state-action-reward tuples (with state as image, query, and history; action as a tool call or an
[Answer]; and a dense process reward combining verifier, efficiency, and necessity terms), making the output directly usable for supervised fine-tuning and for offline RL algorithms such as IQL, CQL, and AWR.
Main Findings
- Stricter verification yields higher-quality traces. On CLEVR-Humans, the average quality score rises from 6.508 ± 0.054 with no verification (τ=0) to 7.499 ± 0.056 with basic verification (τ=4) and 7.651 ± 0.028 with strict verification (τ=5). The paper describes the τ=0 to τ=5 improvement as a 17% increase and as "over 17%."
- Consistency improves substantially. Raising the threshold from τ=0 to τ=5 reduces the standard error from 0.054 to 0.028, described as a reduction of nearly 50%, while the abstract and conclusion describe variance as reduced by over 40%.
- Final-answer accuracy is unchanged. All three conditions produce 74% accuracy over 100 images. The authors hypothesize this is a ceiling effect from the benchmark's simplicity, where different reasoning paths reach the same correct answer, and conclude that the framework's benefit is to the reasoning process rather than the final answer.
- Moderate thresholds were chosen deliberately. Preliminary experiments found that thresholds of τ ≥ 6 caused traces to become trapped in continuous regeneration loops, so the reported conditions use τ = 4 and τ = 5, with a maximum of α = 2 regeneration attempts per step.
- Tool usage is skewed. The distribution of tool calls is heavily skewed toward SAM 2 and away from TRELLIS, which the authors attribute to CLEVR scenes containing many objects that must be classified; they note the Verifier decreases the emphasis on TRELLIS and suggest DAv2 or TRELLIS would be more useful in settings requiring exact distances.
- Qualitative example shows the verifier changing strategy. For the question "What color is the largest shiny object?" (reported as question 22), both a basic-verification trace and a strict-verification trace correctly identify the cyan cylinder without access to ground truth. The basic trace uses TRELLIS's top-down view to remove perspective distortion, while the strict trace uses DAv2's depth map to explicitly measure and correct for distance effects, noting the brown cube appears largest but is not shiny.
Methodology in Plain English
The researchers turned data generation, rather than task solving, into the main job of the system. A Single Hop Generator — GPT-4o — receives the image and a user question and must respond with a JSON object containing reasoning plus either a tool call or a final answer. It draws on three specialized vision tools: SAM 2 for segmenting and outlining objects, Depth Anything V2 for monocular depth estimation, and TRELLIS for 3D scene reconstruction and novel-view rendering, from which the pipeline uses the bird's-eye (top-down) view. The tool suite is described as "plug-and-play," which also lets a user swap in faster, cheaper tools to trade trace quality against generation cost.
After each step, an independent GPT-4o Verifier scores the step from 1 to 10 against criteria covering information quality, reasoning soundness, and investigative thoroughness, returning structured fields including a rating, a justification, and whether regeneration is needed. If the score meets the acceptance threshold τ, the pipeline advances; otherwise the step is regenerated, up to α attempts. The finished chain of steps becomes one multi-hop trace in the dataset, stored as JSON with the full conversation, verification history, tool image paths, and metadata such as the question, expected answer, difficulty, and average rating.
To isolate the Verifier's effect, the authors ran an ablation on a curated subset of 100 CLEVR-Humans images under three conditions — no verification (τ=0), basic verification (τ=4), and strict verification (τ=5) — comparing average quality scores, their variance, and final-answer accuracy. For supervised fine-tuning, each step's state is formatted as a text prompt and the expert action as the target, with training minimizing the negative log-likelihood of the expert action given the state.
Why This Matters
Impact on research. The paper reframes the spatial reasoning bottleneck as a data problem rather than a modeling problem, and offers an automated, scalable alternative to human annotation for process-level supervision. It also makes the case that reasoning-process quality and final-answer accuracy are separable metrics: on CLEVR-Humans the accuracy stayed flat while quality scores rose, implying that benchmarks reporting only accuracy may underestimate the value of better reasoning traces.
Real-world applications. The paper does not enumerate specific applications, but the capabilities targeted here — understanding object identity, relative distance, and 3D layout from images — are the ones required by:
- Robotics and manipulation, where an agent must judge which object is nearest or largest before acting.
- Augmented and virtual reality, where virtual content must be placed consistently with real 3D scene geometry.
- Autonomous navigation and assistive navigation aids, where depth and spatial relations determine safe paths.
- Visual inspection and cataloguing tasks, where objects must be identified, segmented, and compared by size, color, or material.
Industry relevance. The central motivation is deployment economics: large proprietary models perform the data generation once, and the resulting traces let smaller, cheaper, open-source models be fine-tuned for the same task. The Verifier directly targets the cost of human annotation, and the modular tool suite lets practitioners substitute cheaper vision models when generation budgets are tighter.
Future Directions
- Actually fine-tuning the smaller models. The paper's stated next step is to use the generated dataset to fine-tune smaller models and empirically validate their performance gains, since this work only validates trace quality, not downstream student performance.
- Testing on harder benchmarks. The authors propose evaluating on more challenging spatial reasoning benchmarks that may better reveal the benefits of high-quality reasoning, given the suspected ceiling effect on CLEVR-Humans.
- Reducing generation cost. Generating traces requires many API calls whose cost grows with the number of steps and with stricter thresholds and higher regeneration limits, and context length grows with the number of hops since each hop is conditioned on all previous hops.
- Supporting higher image detail. The current implementation sets tool output detail to "medium" to manage context length; the authors suggest a model with longer context length would allow higher detail and better performance.
- Validating the full reward function. The reward combines verifier, efficiency, and necessity terms, but the paper states that only the verifier component is empirically validated here, leaving the other terms as open questions.
Target Audience
Researchers and engineers working on multimodal agents, spatial reasoning, and model distillation will get the most from this paper, particularly those building tool-using VLM pipelines or generating synthetic training data for smaller models. It is also relevant to practitioners interested in process supervision and automated evaluation, since the Verifier design is reusable outside the spatial domain. Readers looking for evidence that better reasoning traces improve downstream model accuracy will not find it here, as that experiment is explicitly left to future work.
Authors’ abstract
While Vision-Language Models (VLMs) excel in many areas, they struggle with complex spatial reasoning, which requires problem decomposition and strategic tool use. Fine-tuning smaller, more deployable models offers an efficient path to strong performance, but this is hampered by a major bottleneck: the absence of high-quality, step-by-step reasoning data. To address this data-efficiency gap, we introduce SpatialTraceGen, a framework to distill the reasoning processes of a large teacher model into a high-quality dataset of multi-hop, multi-tool reasoning traces. A key innovation is our automated Verifier, which scalably ensures the fidelity of each reasoning step, providing a cost-effective alternative to manual human annotation. On the CLEVR-Humans benchmark, this verifier-guided process improves the average quality score of traces by 17\% while reducing quality variance by over 40\%. SpatialTraceGen delivers a dataset of expert traces, providing the structured, step-by-step examples of tool use necessary for effective fine-tuning and sample-efficient offline reinforcement learning.