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, ando4-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-miniat 19.60% SR ando3-pro (tool)at 18.40% SR).
- 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
- 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