Parse Before You Execute: Efficient Spatial Reasoning with Executable Primitives
On the map: LLM reasoning → Spatial and embodied reasoning
Abstract (arXiv)
Spatial reasoning in Vision-Language Models (VLMs) has increasingly benefited from tool-integrated pipelines that ground computation in explicit geometry. However, existing systems often compile queries into relatively open-ended artifacts, such as code, task constraints, tool plans, or gathered evidence, leaving what must be resolved before execution under-specified. This can lead to unnecessary tool acquisition and iterative refinement, while still producing plausible reasoning traces from incomplete spatial commitments. We identify this failure mode as under-committed query compilation. To address it, we propose PEPS, a training-free agent Parsing Executable Primitives for Spatial reasoning under a typed FESM schema over Frame, Entity, State, and Metric. PEPS follows a parse-before-execute principle: the Parser commits each query to a compact set of executable requirements; the Executor selectively grounds the required primitives through fixed geometric APIs and deterministic computation; and the Verifier checks whether these requirements are fulfilled, enabling early termination or targeted repair. Experiments on three spatial reasoning benchmarks and four VLM backbones show that PEPS improves reasoning accuracy while substantially reducing refinement rounds, API cost, and end-to-end latency over strong tool-integrated baselines. These results demonstrate that knowing what a query requires before execution makes tool-integrated spatial reasoning not only more reliable, but also more efficient.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 37 of its 49 references that are in the map. Submitted 30 Oct 2026.
Builds on
37 of 49 references.
Closest ancestors · 14
Same direction, newest first
- 2026pySpatial: Generating 3D Visual Programs for Zero-Shot Spatial Reasoning1 Mar
- 2025Transductive Visual Programming: Evolving Tool Libraries from Experience for Spatial Reasoning24 Dec
- 2025Geometrically-Constrained Agent for Spatial Reasoning27 Nov
- 2025Pursuing Minimal Sufficiency in Spatial Reasoning19 Oct
- 2025How Far are VLMs from Visual Spatial Intelligence? A Benchmark-Driven Perspective23 Sep
- 2025Reinforcing Spatial Reasoning in Vision-Language Models with Interwoven Thinking and Visual Drawing11 Jun
- 2025OmniSpatial: Towards Comprehensive Spatial Reasoning Benchmark for Vision Language Models3 Jun
- 2025MMSI-Bench: A Benchmark for Multi-Image Spatial Intelligence29 May
- 2025ViewSpatial-Bench: Evaluating Multi-perspective Spatial Localization in Vision-Language Models27 May
- 2025SpatialLLM: A Compound 3D-Informed Design towards Spatially-Intelligent Large Multimodal Models1 May
- 2025Visual Agentic AI for Spatial Reasoning with a Dynamic API10 Feb
- 2024Thinking in Space: How Multimodal Large Language Models See, Remember, and Recall Spaces18 Dec
2 more
Other references · 23
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2025Qwen2.5-VL Technical Reportcited by 6,083
- 2024GPT-4o System Cardcited by 4,895
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,575
- 2024SAM 2: Segment Anything in Images and Videoscited by 3,200
- 2024LLaVA-OneVision: Easy Visual Task Transfercited by 2,927
- 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 2,026
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,799
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scalingcited by 1,686
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 678
- 2025Continuous 3D Perception Model with Persistent Statecited by 627
11 more
- 2022Visual Programming: Compositional visual reasoning without trainingcited by 579
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 549
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 536
- 2025π3: Permutation-Equivariant Visual Geometry Learningcited by 423
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 421
- 2025MoGe-2: Accurate Monocular Geometry with Metric Scale and Sharp Detailscited by 348
- 2025VLM-3R: Vision-Language Models Augmented with Instruction-Aligned 3D Reconstructioncited by 199
- 2024Video-3D LLM: Learning Position-Aware Video Representation for 3D Scene Understandingcited by 153
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Promptingcited by 116
- 2023Guiding Large Language Models via Directional Stimulus Promptingcited by 99
- 2024Orient Anything: Learning Robust Object Orientation Estimation from Rendering 3D Modelscited by 53
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SpatialClaw: Rethinking Action Interface for Agentic Spatial Reasoning
- 2026Spatial Query Execution as Verifiable Rewards for Multi-step Spatial Reasoning
- 2026S-Agent 2.0: Spatial Reasoning with a General Coding Agent
- 2026SpatialMem: Building Quantitative Spatial Reasoning Agents with Hierarchical Memory
- 2025Scaling Spatial Reasoning in MLLMs through Programmatic Data Synthesis
- 2025InternSpatial: A Comprehensive Dataset for Spatial Reasoning in Vision-Language Models
- 2025Scaling and Beyond: Advancing Spatial Reasoning in MLLMs Requires New Recipes
- 2026Spatial Reasoning is Not a Free Lunch: A Controlled Study on LLaVA