Feed 0% source
AI/ML AI-generated

Imaginative Perception Tokens Enhance Spatial Reasoning in Multimodal Language Models

Generated by a local model (nvidia/Gemma-4-26B-A4B-NVFP4) from a scientific paper, claim-checked against the full text. Provenance is open by design.

Imaginative Perception Tokens: Teaching VLMs to Mentally Simulate Unseen Spatial Views

Current vision-language models (VLMs) excel at many tasks. They continue to struggle with spatial reasoning. This happens specifically when key information is not directly observable in the input. Most spatial questions require "imaginative perception" (the ability to simulate unobserved views). This includes tracing a trajectory through an occluded space or integrating partial views into a map.

The field has largely relied on two approaches. Some use intermediate visual representations like depth maps or bounding boxes. Others use textual chain-of-thought (CoT) (a method of generating step-by-step text reasoning). Both often fail. They either refine information already visible or force 3D geometry through the narrow bottleneck of natural language. This paper finds that forcing spatial reasoning through text can be detrimental. This suggests a fundamental modality mismatch. Instead, the authors propose training models to "imagine" missing spatial structure using specialized visual tokens.

The Problem

The status quo fails because spatial reasoning is often a constructive process. Standard VLMs are good at reading relations from an observed view. They break when asked to adopt a human-centered viewpoint or aggregate multiple views. As shown in, tasks like Perspective Taking (PET), Path Tracing (PT), and Multiview Counting (MVC) require building a mental representation.

Figure 1
Figure 1. Overview of the three spatial imagination tasks. The left columns show training examples with ground-truth imaginative perception; the right columns show evaluation examples. vation, refining visible structures or extracting perceptual attributes.

This representation is not present in the source image.

Previous attempts used intermediate "visual thoughts." These typically focus on refining existing structure. They do not predict unobserved structure. Researchers also try to use textual CoT to bridge this gap. However, serializing viewpoint transformations and geometric constraints into text is error-prone. The authors demonstrate that forcing a model to describe a 3D transformation in words can degrade performance. This occurs compared to simple answer-only supervision.

How It Works

The authors introduce Imaginative Perception Tokens (IPT) to externalize spatial simulation. They implement this using BAGEL, a unified decoder-only transformer. This architecture treats image tokens as first-class sequence elements. This allows the model to interleave understanding and generation.

The mechanism works in two stages:

  1. Perceptual Imagination: Given an observed context $C$ (images and a query), the model generates $\hat{I}{imag}$. These tokens represent the implied spatial structure. For example, in perspective-taking, this is a rendering of a new viewpoint. This is optimized using a Flow-Matching loss ($L$). This loss trains the model to transform Gaussian noise into the target latent representation (a compressed mathematical representation of an image).
  2. Conditioned Reasoning: The model then produces the final answer $A$. This is conditioned on both the original observations and the new imaginative tokens.

The architecture uses a Mixture-of-Transformer-Experts (MoT) design. It employs separate transformer experts for multimodal understanding and generation. These experts share self-attention (a mechanism allowing tokens to interact). This ensures that "imagined" tokens are functionally tied to the underlying 3D geometry. As seen in, even when generated "thoughts" are visually imperfect, the training signal shapes the model's internal representations.

Figure 4
Figure 4. Path tracing with imaginative perception tokens (EgoDir setting). The model receives a top-down map (<image 1>) and egocentric views at the two endpoints (<image 2>, <image 3>), generates a visual thought (imagined sideview at M1), and predicts an answer.

Numbers

The authors report significant gains by shifting from text-based reasoning to visual imagination. On the Multiview Counting (MVC) task, IPT improves accuracy by 3.4% over label-only supervision. This achieves 67.3% accuracy on the AI2-THOR benchmark.

The comparison to textual CoT is notable. In the MVC setting, IPT (67.3%) outperforms Text CoT (62.3%). On the Path Tracing (PT) task, "Mixed Training" (combining IPT with label-only data) yields the best results. It hits 66.7% on synthetic data and 58.6% on real-world benchmarks. This outperforms both pure label-only training and textual CoT.

These benefits persist even in "answer-only" inference mode. This means the model does not actually generate the image during inference. Even so, IPT supervision during training creates stronger internal spatial representations. These representations transfer to new environments. For example, on the Habitat benchmark for Perspective Taking, the IPT-trained model reaches 87.0% accuracy. This outperforms the label-only variant.

What's Missing

A practitioner should note several gaps in the reporting:

  • Inference Latency and Cost: The paper discusses "answer-only" mode. However, it does not fully quantify the overhead of "imagination mode." This is the mode where the model performs iterative denoising to generate an image. High-resolution generation will impact throughput and tail latency.
  • Hallucination Risks: The authors admit in and that generated thoughts can be spatially imprecise.
Figure 6
Figure 6. Perspective taking with imaginative perception tokens. The model receives an input view with an “X” mark on the ground, imagines the scene from the target viewpoint, and predicts spatial relationships. Generated thoughts are compared against ground-truth novel viewpoints.

They may contain artifacts. If a system relies on these images for decision-making, this remains a reliability bottleneck. * Scaling Laws for IPT: The paper focuses on fine-tuning a 7B parameter model. It is not shown if the efficacy of IPT scales with model size. It is unclear if explicit visual supervision becomes redundant as models grow.

Should You Prototype This

Depends on your task.

Skip this if you are building a general-purpose VQA bot. Managing a unified generative/understanding architecture like BAGEL is complex. However, consider this if your roadmap includes embodied AI or robotics. These fields require "mental mapping." The takeaway that visual intermediates outperform textual CoT for geometry is a solid principle.

Code is reportedly available at the project page; see the paper for the canonical link. If you prototype, start with "answer-only" inference. You can reap the benefits of improved internal representations without the compute tax of real-time image generation.

Figures from the paper

Figure 2
Figure 2. Qualitative examples of model-generated imaginative perception tokens. Top two rows: MVC example showing imagined topdown BEV maps. Bottom: PET examples showing imagined novel viewpoints. From left to right, imagination resolution increases from Latent-4 (64 × 64) to Latent-64 (1024 × 1024).
Figure 3
Figure 3. Text CoT training examples for path tracing (EgoDir setting). Each example shows the input images (top-down map and egocentric views at endpoints), the question with answer choices, and the GPT-5.1-generated reasoning trace.
Figure 5
Figure 5. Path tracing dataset examples. Top: real-world examples from Matterport3D in the PathArr and Path settings. Bottom: synthetic examples from AI2-THOR/ProcTHOR in the PathArr, Path, and EgoDir settings, with ground-truth sideviews at midpoint M1 shown on the right.
Novelty
0.0/10
Overall
0.0/10
#spatial reasoning#multimodal learning#imaginative perception#vision-language models
How this was made
Generation

Model: nvidia/Gemma-4-26B-A4B-NVFP4
Persona: habr_engineer
Refinement: 0
Pipeline: forge-1.0

Verification

Evaluator: nvidia/Gemma-4-26B-A4B-NVFP4
Score: 97% (passed)
Claims verified: 14 / 14

Translation

Model: nvidia/Gemma-4-26B-A4B-NVFP4

Hardware & cost

NVIDIA GB10 · 128 GB unified · NVFP4 · 100% local · $0 cloud
Tokens: 132,381
Wall-time: 441.9s
Tokens/s: 299.6

Next up

Representation Forcing: Eliminating VAE Bottlenecks in Unified Multimodal Models

8.3/10· 5 min