Spatial Harness: Grounding Spatial Reasoning in Executable World States with Physics Engines

Chentao Cao, Zhanke Zhou, Sangni Duan, Bo Han, Hang Li
11/8/2026
cs.LG

Official code: tmlr-group/Spatial-Harness (1 star, last commit 2026-11-08).

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2026] "Spatial Harness: Grounding Spatial Reasoning in Executable World States with Physics Engines"

10Sep 30, 20263 weeks ago

Similar Papers

Cite this paper

@article{cao2026spatial,
  title  = {Spatial Harness: Grounding Spatial Reasoning in Executable World States with Physics Engines},
  author = {Chentao Cao and Zhanke Zhou and Sangni Duan and Bo Han and Hang Li},
  year   = {2026},
  eprint = {2611.11344},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.11344v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.11344.svg)](https://codeofpaper.com/paper/2611.11344)

Discussion