Latent Sketchpad: Sketching Visual Thoughts to Elicit Multimodal Reasoning in MLLMs

Huanyu Zhang, Wenshan Wu, Chengzu Li, Ning Shang, Yan Xia, Yangyu Huang, YiFan Zhang, Li Dong, Liang Wang, Furu Wei · Submission to ICLR 2026 · Rejected

TL;DR

Current Multimodal Large Language Models (MLLMs) struggle with spatial planning and dynamic grounding because their visual processing is purely receptive rather than generative. Latent Sketchpad equips pretrained MLLMs with an internal "mental scratchpad," enabling them to autoregressively interleave continuous visual latents with text reasoning steps. These continuous latents directly guide reasoning and can be translated into human-interpretable sketches using a plug-and-play decoder without altering the underlying language backbone.

What Problem Does This Paper Address?

Humans frequently solve spatial or physical reasoning problems by sketching—drawing visual aids to simulate scenarios, track changing states, and test potential plans. In contrast, frontier MLLMs typically operate with unidirectional visual perception: they encode an initial visual input and then conduct multi-step Chain-of-Thought (CoT) reasoning entirely in text.

Existing attempts to introduce visual thinking either rely on brittle external tools (e.g., Python code or image croppers) or train heavy, pixel-level unified generative models from scratch that prioritize photorealism over the abstract representations needed for reasoning. The authors ask: Can we repurpose the rich, pretrained visual features of existing MLLMs into an internal generative scratchpad for complex multimodal reasoning?

Methods

Latent Sketchpad augments existing connector-based MLLMs (such as Gemma3 and Qwen2.5-VL) by introducing two core modules:

  • Context-Aware Vision Head: Integrated directly into the MLLM generation loop. Triggered by a special <start_of_image> token, it autoregressively generates visual latent tokens conditioned on both global context (preceding images) and local context (tokens generated so far for the current image) using causal cross-attention and causal self-attention. The vision head is trained using latent regression ($L_1$ loss) against target features from the pretrained vision encoder while keeping the base MLLM frozen.
  • Pretrained Sketch Decoder: A standalone module consisting of an AlignerNet (a 12-layer encoder–decoder transformer) and a frozen SDXL-VAE decoder. It projects visual latents from ViT space into VAE latent space, rendering them into human-interpretable sketches without taking part in the reasoning loop itself.
  • Unified Multi-Mode Training & Augmentation: Models are fine-tuned on interleaved text-and-image reasoning traces with a 50% random masking rate applied to intermediate visual thoughts. This allows a single checkpoint to perform both pure text CoT and multimodal CoT. During training, a Latent Reconstruction Augmentation recursively passes images through the encoder-decoder pipeline ($k \in [0, 3]$ rounds) to make the model robust to visual perturbations.
       [Pretrained MLLM Backbone] (Frozen)
                    │
         Hidden states at step t
                    ▼
     [Context-Aware Vision Head]  ──► [Autoregressively Predicts Next Tokens]
                    │
          Continuous Latents
                    ▼
        [Pretrained Sketch Decoder]
         (AlignerNet + SDXL-VAE)
                    │
                    ▼
       [Human-Interpretable Sketch]

Datasets

  • Quick, Draw!: 50 million vector sketches across 345 categories, used to pretrain the standalone Sketch Decoder to translate ViT latent tokens into sketch images.
  • MAZEPLANNING (New Benchmark): Introduced by the authors to benchmark multimodal step-by-step spatial planning. It features mazes annotated with ground-truth decision points ("go forward", "turn left", "turn right") interleaved with intermediate path-progress images every 4–6 actions:
  • Training set: 47.8K mazes ranging from $3\times4$ to $5\times5$.
  • In-Distribution (ID) test set: 500 mazes matching the training dimensions.
  • Out-of-Distribution (OOD) test set: 200 larger $6\times6$ mazes.

Key Insights and Ideas

  • Reasoning in Latent Space, Not Pixels: Generating continuous latent embeddings directly in the model's native representation space avoids the computational cost, training instability, and modality gap associated with decoding and re-encoding discrete pixel tokens at each step.
  • Proprietary Models Suffer from "Spatial Blindness": Even frontier reasoning models with tool capabilities (like OpenAI's o3-pro (tool), o1, and o4-mini) struggle on maze navigation benchmarks (all under 20% Success Rate), frequently losing track of their current location without intermediate visual memory.
  • Visual Thinking Rescues Off-the-Shelf Models: Providing GPT-4o with intermediate visual traces generated by Latent Sketchpad improves its success rate from 8.60% to 12.40% and boosts its Progress Rate by +9.06% (surpassing o1).
  • Modular & Plug-and-Play: Because the Context-Aware Vision Head trains while the MLLM backbone remains frozen, visual generation capabilities can be added without catastrophic forgetting of language reasoning abilities.

Key Results

  • In-Distribution Task Performance:
    • Equipping fine-tuned Gemma3-12B with Latent Sketchpad improves its Success Rate from 70.00% to 72.20% and Progress Rate to 88.10% (outperforming proprietary models like o4-mini at 19.60% SR and o3-pro (tool) at 18.40% SR).
  • Qwen2.5-VL-7B achieves 53.00% SR with Latent Sketchpad (+0.40% over text-only fine-tuning).
  • Visual Consistency: Gemma3 with Latent Sketchpad achieves a 99.34% Maze Layout Consistency Rate (preserving walls and endpoints across steps) and a 75.60% Visual Success Rate (generating visually valid paths).
  • Reconstruction Generalization: The Sketch Decoder zero-shot reconstructs visual latents from diverse vision backbones (OpenCLIP, SigLIP-based Gemma3, and Qwen2.5-VL) with high structural similarity (SSIM $>0.98$).

Limitations and Future Work

  • Generalization to Larger Scales (OOD): On larger $6\times6$ mazes, accuracy drops significantly for all models (Gemma3+LS reaches 10.00% SR vs. 8.00% baseline). Qwen2.5-VL struggles more due to its 4× feature concatenation, requiring more training data to generalize spatially.
  • Visual Artifacts: While sketches preserve spatial and structural layouts reliably, fine-grained details such as text digits and precise arrowheads occasionally show minor distortion.
  • Scope: Primary validation was conducted in maze navigation environments where visual ground truth is controllable. The authors highlight extending native visual sketchpads to open-domain multimodal reasoning benchmarks (e.g., MathVista, MMMU) as a natural next step.

Summary updated

Abstract

While Multimodal Large Language Models (MLLMs) excel at visual understanding, they often struggle in complex scenarios that require visual planning and imagination. Inspired by how humans use sketching as a form of visual thinking to develop and communicate ideas, we introduce **Latent Sketchpad**, a framework that equips MLLMs with an internal *visual scratchpad*. The internal visual representations of MLLMs have traditionally been confined to perceptual understanding. We repurpose them to support generative visual thought without compromising reasoning ability. Building on frontier MLLMs, our approach integrates visual generation directly into their native autoregressive reasoning process. It allows the model to interleave textual reasoning with the generation of visual latents. These latents guide the internal thought process and can be translated into sketch images for interpretability. To realize this, we introduce two components: a Context-aware Vision Head autoregressively produces visual representations, and a pretrained Sketch Decoder renders these into human-interpretable images. We evaluate the framework on our new dataset MazePlanning. Experiments across various MLLMs show that Latent Sketchpad delivers comparable or even superior reasoning performance to their backbone. It further generalizes across distinct frontier MLLMs, including Gemma3 and Qwen2.5-VL. By extending model's textual reasoning to visual thinking, our framework opens new opportunities for richer human–computer interaction and broader applications.
BibTeX
@misc{zhang2025latent,
  author = {Huanyu Zhang and Wenshan Wu and Chengzu Li and Ning Shang and Yan Xia and Yangyu Huang and YiFan Zhang and Li Dong and Zhang Zhang and Liang Wang and Furu Wei},
  title = {{Latent Sketchpad: Sketching Visual Thoughts to Elicit Multimodal Reasoning in MLLMs}},
  year = {2025},
  eprint = {2510.24514},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.24514},
}

Loading related content...

Figure