Abstract
Current Large Multimodal Models (LMMs) primarily operate in a "reactive" mode, processing fixed inputs or generating single-shot outputs. This research introduces Thinking with Generated Images (TwGI), a paradigm that enables models to use intermediate visual steps for reasoning. By mimicking the human "mind's eye"—where experts like architects or athletes simulate scenarios before acting—the proposed approach allows models to decompose complex tasks into visual subgoals and perform self-critique. Experimental results demonstrate a 50% relative improvement in complex image generation tasks, highlighting the power of visual test-time scaling.
Introduction: Beyond Textual Chain-of-Thought
While Large Language Models (LLMs) have successfully employed Chain-of-Thought (CoT) reasoning to solve complex problems through textual decomposition, multimodal models have lagged behind. Most LMMs lack a mechanism to "imagine" intermediate states or refine their visual hypotheses iteratively.
Human cognition often relies on visual foresight. An architect visualizes how a living room connects to a kitchen to encourage flow, and a basketball player predicts ball trajectories to adjust their shot. The authors argue that the inability of AI to perform similar "visual thinking" is a significant cognitive bottleneck.
Defining the TwGI Paradigm
The researchers distinguish between three levels of multimodal cognition: "Seeing with Images" (basic detection), "Thinking with Images" (transforming existing visuals), and the newly proposed "Thinking with Generated Images" (creating new visuals to aid creativity and reasoning).
TwGI allows for an unbounded creative thinking space, capable of handling inherently heavy visual-output tasks by generating many intermediate steps. This shift allows LMMs to move from simple recognition to complex, multi-step creative reasoning.
Methodology: The Anole Model
The core of this work is a native long-multimodal thought process implemented in a unified autoregressive model called Anole. Unlike modular approaches that pipe data between separate vision and language models, Anole treats text and image patches as a single interleaved sequence of tokens.
Key Technical Innovations
- Interleaved Multimodal Tokens: Enables the model to seamlessly transition between writing a critique and drawing a refinement in a single coherent stream.
- Visual Subgoals: The model decomposes complex prompts (e.g., "a microwave on a park bench") into manageable components, generating individual objects before the final scene.
- Visual Self-Critique: The model generates an initial hypothesis, identifies flaws via text (e.g., "the colors are too dull"), and then produces a corrected version.
- Hybrid Loss Function: To maintain image integrity, a visual reconstruction loss (MSE) is used alongside standard cross-entropy, aligning internal representations with actual visual features.
Evaluation and Results
The model was trained on a high-quality synthetic dataset of ~45k samples designed to teach visual subgoals and self-critique. Evaluation on benchmarks like GenEval and DPG-Bench revealed significant gains:
- Complex Scene Generation: On the GenEval "Two Obj" category, the TwGI model improved the base score from 0.38 to 0.57 (a ~50% relative improvement).
- Iterative Refinement: Self-critique consistently boosted performance, with final refined images scoring higher (0.48) than initial hypotheses (0.45).
- Semantic Understanding: The model showed superior performance in managing entity relations and attributes in dense prompts on DPG-Bench.
Discussion and Future Directions
While TwGI marks a significant step forward, challenges remain. The model occasionally struggles with precise spatial reasoning (e.g., object placement) and "critique-execution disconnect," where an identified error is not successfully corrected in the subsequent image. Future work will explore scaling these models and developing more efficient visual token representations to reduce the computational cost of long-form visual thinking.
Summary updated