Imagine While Reasoning in Space: Multimodal Visualization-of-Thought

Chengzu Li, Wenshan Wu, Huanyu Zhang, Yan Xia, Shaoguang Mao, Li Dong, Ivan Vulić, Furu Wei

Abstract

Multimodal Visualization-of-Thought (MVoT) is a novel reasoning paradigm that empowers Multimodal Large Language Models (MLLMs) to generate interleaved text and image "thoughts" to solve complex spatial tasks. By "imagining" the state of a world as they reason through it, models overcome the limitations of purely verbal reasoning, achieving significant performance gains in challenging environments where traditional Chain-of-Thought (CoT) fails.

Introduction

While Chain-of-Thought (CoT) prompting has revolutionized how Large Language Models handle logic and math, it often struggles with complex spatial reasoning. Tasks like navigating a maze or manipulating objects in a room require tracking coordinates and layouts—a process that is highly error-prone when restricted to text. Language acts as a low-bandwidth proxy for space; a single hallucinated coordinate early in a verbal reasoning chain can cause the entire logic to collapse.

In contrast, humans often solve such problems using "dual-coding," simulating scenes in a "mind's eye." This research introduces Multimodal Visualization-of-Thought (MVoT) to provide MLLMs with a similar capability: the ability to "think" in both words and images.

The MVoT Paradigm

MVoT is a multimodal-native approach where the model generates interleaved verbal and visual thoughts. Unlike previous methods that rely on external tools or two-stage captioning, MVoT integrates visualization directly into the reasoning process.

Comparison of Direct Prompting, Chain-of-Thought, and Multimodal Visualization-of-Thought.

The researchers implemented MVoT by fine-tuning Chameleon-7B, an autoregressive MLLM that treats text and image patches as discrete tokens in a unified sequence. During reasoning, the model predicts a verbal thought, followed by a "visual thought" (an image of the predicted environment state), and then leverages both to determine the subsequent step.

Technical Innovation: Token Discrepancy Loss

A significant challenge in MLLMs is the misalignment between image tokenizers and language models. This often results in blurry or hallucinated visual patterns. To address this, the authors introduced Token Discrepancy Loss ($L_D$). This loss function penalizes the model when its predicted image tokens deviate from ground-truth visual embeddings, ensuring that the model's "mental imagery" remains coherent and high-fidelity.

Experimental Evaluation

The MVoT framework was validated across three spatial reasoning benchmarks: Maze, MiniBehavior, and FrozenLake. These datasets require the model to predict the evolution of an environment over a sequence of actions, rather than just describing a static scene.

MVoT generated responses across Maze, MiniBehavior, and FrozenLake benchmarks.

Key Results

  • Robustness to Complexity: While CoT performance on FrozenLake dropped from 94% to 39% as grid sizes increased, MVoT maintained a stable performance above 83%.
  • Superior Accuracy: MVoT (7B) achieved 85.6% accuracy on FrozenLake, significantly outperforming GPT-4o with CoT (46.6%).
  • Complementary Reasoning: Combining CoT and MVoT predictions reached nearly 100% accuracy on Maze and MiniBehavior, suggesting that verbal and visual reasoning provide distinct, complementary perspectives.

Discussion and Conclusion

The study reveals that text is a fragile proxy for spatial information, with over 90% of CoT errors in FrozenLake stemming from inaccurate coordinate descriptions. MVoT provides a robustness layer by grounding reasoning in visual states. Furthermore, MVoT can act as a "plug-in" for proprietary models; feeding MVoT-generated visual thoughts into GPT-4o resulted in a 15% accuracy boost.

While MVoT introduces computational overhead due to token-by-token image generation, it serves as a powerful proof-of-concept. To truly master the physical world, MLLMs must do more than describe it—they must be able to imagine it.

Summary updated

BibTeX
@inproceedings{li2025imagine,
  author = {Chengzu Li and Wenshan Wu and Huanyu Zhang and Yan Xia and Shaoguang Mao and Li Dong and Ivan Vulić and Furu Wei},
  title = {{Imagine While Reasoning in Space: Multimodal Visualization-of-Thought}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=6vk6Xg24ZC},
}
Figure