Visualizing Thought: Conceptual Diagrams Enable Robust Planning in LMMs

Nasim Borazjanizadeh, Roei Herzig, Eduard Oks, Trevor Darrell, Rogério Feris, Leonid Karlinsky · DOI

Introduction

Large Multimodal Models (LMMs) excel at sequential text processing but often falter when faced with complex spatial or relational reasoning. Language, while expressive, can be a "lossy" and inefficient medium for tasks like Tetris or multi-step block stacking, where a "big picture" view is essential. Researchers have introduced "Visual Thinking," a framework that enables LMMs to externalize their mental models into self-generated conceptual diagrams, effectively providing a "sketchpad" for reasoning.

The Visual Thinking Framework

The core of the Visual Thinking approach is the integration of textual reasoning with autonomous diagramming within a structured search process. Unlike previous methods that rely on human-provided templates, this framework allows the model to generate its own visual schema (shapes, colors, positions) and the corresponding Matplotlib code to render it.

The Visual Thinking generation and verification loop for state transitions.

The process involves several key steps:

  1. Zero-Shot Diagramming: The model translates natural language descriptions into visual representations autonomously.
  2. Multimodal Graph-of-Thought (GoT): Reasoning is treated as a search through a graph where each node contains both a textual description and a rendered conceptual diagram.
  3. Optimized Search: Techniques like Beam Search and Depth-wise Backtracking prevent combinatorial explosion and allow the model to recover from earlier errors.
  4. Verification Loops: A self-reflection mechanism ensures the generated diagram accurately reflects the textual state and that proposed actions are logically valid before proceeding.

Experimental Results

The framework was evaluated on classic benchmarks like Blocksworld and a new long-horizon benchmark featuring domains such as Floor Tiles, Parking, and Tetris, with solution depths reaching up to 40 steps.

Performance comparison of Visual Thinking against standard LMMs and reasoning-heavy models.

The results demonstrate a dramatic performance boost. In the Blocksworld domain, GPT-4o’s success rate surged from 35.5% to 90.2% when equipped with Visual Thinking. Notably, the framework consistently outperformed OpenAI’s o1-preview on the most difficult domains. For instance, in the Floor Tiles domain, Visual Thinking achieved 36% accuracy compared to o1’s 20%, and in the Barman domain, it led 30% to 10%.

Key Insights and Discussion

A critical finding from ablation studies revealed that the rendered image itself—not just the underlying code—is the primary driver of reasoning. When the model could see the code but not the image, performance in Blocksworld dropped from 90.2% to 24%. This suggests that the spatial, 2D representation reduces cognitive load and allows the model to "perceive" relationships that are often obscured in dense text.

Furthermore, the framework proved to be 31% faster and 36% cheaper than text-only Graph-of-Thought methods. By using diagrams, the model could prune its search space more effectively and avoid the "blind" mistakes common in purely linguistic chains of thought.

Conclusion

Visual Thinking represents a significant step toward aligning AI reasoning with human-like mental models. While challenges remain regarding computational budgets for extremely complex tasks like Tetris, the ability to visualize thought processes opens new avenues for robust planning and enhanced human-AI collaboration by making the AI's internal logic visible and verifiable.

Summary updated

BibTeX
@misc{borazjanizadeh2025visualizing,
  author = {Nasim Borazjanizadeh and Roei Herzig and Eduard Oks and Trevor Darrell and Rogério Feris and Leonid Karlinsky},
  title = {{Visualizing Thought: Conceptual Diagrams Enable Robust Planning in LMMs}},
  year = {2025},
  eprint = {2503.11790},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.11790},
}
Figure