SpatialDreamer: Incentivizing Spatial Reasoning via Active Mental Imagery

Meng Cao, Xingyu Li, Xue Liu, Ian Reid, Xiaodan Liang

TL;DR

SpatialDreamer is a reinforcement learning framework that equips Multi-modal Large Language Models (MLLMs) with active spatial reasoning by allowing them to "mentally simulate" and explore 3D environments using a generative world model. By combining a closed-loop exploration policy with a novel tree-structured reward scheme called Geometric Policy Optimization (GeoPO), it achieves state-of-the-art performance on complex spatial benchmarks, dramatically outperforming static single-view models.

What Problem Does This Paper Address?

While modern MLLMs excel at static image understanding, they remain remarkably fragile when confronted with complex 3D spatial reasoning tasks that require perspective-taking or predicting action outcomes. For instance, if asked to count specific objects in a room, a standard model will fail if those objects are partially or fully occluded from its initial static viewpoint.

Humans solve this problem using active mental imagery—we mentally simulate moving through a space or rotating an object to reason about its hidden properties. Existing MLLM approaches either passively observe static 3D datasets during training or rely on rigid, hand-crafted test-time scaling pipelines that lack a learnable exploration policy. SpatialDreamer bridges this gap by teaching MLLMs how to actively explore, imagine, and reason within their own internal 3D simulations.

Methods

SpatialDreamer transforms spatial reasoning into an active, closed-loop agentic process using three core components:

  1. Active Exploration Loop: Given a question and an initial image, the MLLM generates analytical thinking tokens, decides on an egocentric action (e.g., move-forward 0.75m or turn-left 27°), and invokes an external world model (Stable Virtual Camera) to generate the predicted new view. This process iterates until the model gathers enough visual evidence to confidently answer the question.
  2. Geometric Policy Optimization (GeoPO): Standard reinforcement learning algorithms (like GRPO) sample independent trajectories and rely purely on sparse, episode-level rewards based on the final answer. GeoPO introduces a tree-structured sampling scheme that enables step-level reward estimation via bottom-up credit assignment.
  3. Geometric Penalties: To prevent the agent from taking chaotic or unrealistic paths, GeoPO applies a penalty coefficient ($\lambda = 0.9$) to sub-optimal actions, such as redundancies (e.g., turning left twice consecutively when one larger turn would suffice) or conflicts (e.g., turning left and immediately turning right).
Overview of SpatialDreamer's active loop and the GeoPO tree-structured sampling architecture.

Additionally, the authors developed a specialized Supervised Fine-Tuning (SFT) dataset that includes "reflective reasoning" samples. By intentionally injecting erroneous actions into the training data, they forced the model to learn "error-reflection-correction" behaviors.

Datasets

The framework was trained and evaluated across several challenging spatial mental modeling and general spatial reasoning benchmarks:

  • SAT (Spatial Aptitude Training): Consists of SAT-Synthesized (4,000 synthetic questions rendered in AI2-THOR indoor environments) and SAT-Real (real-world indoor and outdoor scenes) covering egocentric movement, object tracking, and action consequences.
  • MindCube (MindCube-Tiny): A benchmark specifically designed for spatial mental modeling, featuring 21,154 questions across multi-view image groups.
  • VSI-Bench: A dataset assessing general spatial reasoning capabilities, including object counting and relative direction.

Key Insights and Ideas

  • Imagination as a Tool Call: Instead of forcing the MLLM to implicitly track complex 3D geometry entirely within its neural weights, SpatialDreamer offloads visual rendering to a generative world model. This treats "mental imagery" as an interactive tool call, making the reasoning process explicit and grounded.
  • Geometric Regularization of RL: Purely outcome-based rewards often allow RL agents to take erratic, nonsensical paths to find a correct answer. Imposing simple geometric constraints (penalizing backtracking and redundant movements) acts as a powerful regularizer, leading to cleaner reasoning chains and faster policy convergence.
  • Prefix Sharing Saves Compute: Because GeoPO samples trajectories using an $N$-ary tree structure rather than independent chains, multiple rollouts share early reasoning steps (prefixes). This significantly reduces both trajectory generation time and per-token latency during training.

Key Results

SpatialDreamer achieved state-of-the-art performance across all evaluated benchmarks, substantially outperforming both generalist MLLMs and specialized spatial models:

  • MindCube-Tiny: SpatialDreamer achieved an overall accuracy of 84.9%, representing a massive 55.6% absolute improvement over its baseline model, Qwen2.5-VL-7B (which scored 29.3%).
  • SAT Benchmark: It scored 93.9% on SAT-Real and 92.5% on SAT-Synthesized, outperforming proprietary heavyweights like GPT-4o and Gemini 1.5 Pro.
  • VSI-Bench: It reached an average accuracy of 62.2%, beating advanced spatial models (such as VLM-3R and VGLLM) that rely on explicit, pre-trained 3D geometric embeddings.
Figure 1. Case studies of spatial reasoning tasks requiring mental simulation. Qwen2.5-VL [3] fails to identify occluded objects due to its static single-view perception. Our SpatialDreamer incrementally explores the scene through active imagination, invoking world models [84] to generate novel ego-centric views, and integrating the visual evidence into reasoning.

Limitations and Future Work

Currently, SpatialDreamer relies on an external world model to synthesize new egocentric views, which introduces computational overhead and latency during inference. The authors note that a promising future direction is to internalize this world-modeling capability directly into the MLLM's weights. This would create a single, unified model capable of executing both spatial reasoning and generative perception natively.

Summary updated

BibTeX
@inproceedings{cao2026spatialdreamer,
  author = {Meng Cao and Xingyu Li and Xue Liu and Ian Reid and Xiaodan Liang},
  title = {{SpatialDreamer: Incentivizing Spatial Reasoning via Active Mental Imagery}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=h9PNamx9Uj},
}
Figure