Spatial Harness: Grounding Spatial Reasoning in Executable World States with Physics Engines
Abstract
Spatial Harness improves vision-language models' spatial reasoning by using a Perceiver to construct explicit executable scene states in a physics engine, where a Reasoner simulates viewpoint changes and provides measurements and rendered views to guide answers.
Spatial reasoning requires understanding how objects and observers are arranged in a scene and how their relations change with viewpoint or movement. Vision-language models (VLMs) typically perform both steps through model-internal reasoning, forming an implicit scene interpretation from partial views and imagining the consequences of spatial transformations. A misread scene can lead to a wrong answer, while even a correct interpretation does not ensure that imagined transformations satisfy spatial constraints. We introduce Spatial Harness, which represents scenes as explicit and executable world states to ground spatial reasoning in physics-engine feedback. A Perceiver integrates scene constraints extracted from the question with specialized visual estimates to place objects and cameras in a shared coordinate frame. The resulting state is instantiated in a physics engine, where a Reasoner executes viewpoint changes and uses computed measurements and rendered views to guide reasoning. We evaluate on MindCube, SAT, MMSI-Bench, and SpatialRGPT-Bench with open- and closed-weight VLMs. On MindCube, Spatial Harness improves Qwen3.5-27B from 52.70% to 71.14%, surpassing pySpatial by 7.52 percentage points. Given identical annotated object and camera poses, it reaches 98.25% versus 71.81% for model-internal reasoning. Code is publicly available at: https://github.com/tmlr-group/Spatial-Harness
Community
We introduce Spatial Harness (NeurIPS 2026), which grounds VLM spatial reasoning in executable world states.
Given images and a question, a Perceiver combines visual estimates with language constraints to place objects and cameras in a shared coordinate frame. A Reasoner then uses MuJoCo to execute viewpoint changes, compute geometric measurements, and inspect rendered views. Both the assumed scene and the consequences of spatial operations become explicit and inspectable.
Key results:
- On MindCube, Spatial Harness improves Qwen3.5-27B from 52.70% to 71.14%, outperforming pySpatial by 7.52 percentage points.
- Given identical ground-truth object and camera poses, it reaches 98.25%, compared with 71.81% for model-internal reasoning—highlighting the value of execution even when scene geometry is already provided.
- We evaluate across MindCube, SAT, MMSI-Bench, and SpatialRGPT-Bench with open- and closed-weight VLMs.
Happy to discuss the method, results, and limitations with the community!
Letting a physics engine check the imagined move, instead of trusting the model's own mental picture, is a neat fix. What happens when the Perceiver misplaces an object: does the engine feedback catch it?
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Seek-and-View Reasoning for Multi-View Spatial Understanding (2026)
- LeRF: Learning Reference Coordinate Frames for Perspective Taking Reasoning (2026)
- Parse Before You Execute: Efficient Spatial Reasoning with Executable Primitives (2026)
- SpatialBrain: Spatial Intelligence Growing from Experience (2026)
- S-Agent 2.0: Spatial Reasoning with a General Coding Agent (2026)
- Asking the World: Generalist Physical Reasoning through Agentic World Modeling and Probing (2026)
- From Sight to Foresight: Predictive Spatial Reasoning in Vision-Language Models (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2611.11344 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper