How Do VLMs Plan Their Next Step? Mechanism Analysis and Causal Verification

New research reveals the four-part planning mechanism—binding heads, cursor, select step, and gaze heads—used by VLMs before describing images.
The study analyzes how VLMs plan "where to look" before describing an image, proposing a four-stage internal mechanism: binding heads match text tokens to image regions and resolve them into pointers; the same heads bind written answers to source regions to form a cursor tracking progress; a select step picks the nearest unwritten region after the cursor or stops; and gaze heads return the concept at that region for conversion into words. Causal patching on Qwen3-VL verified each component, ruled out alternatives, and showed the mechanism holds across input formats, natural photos, languages, and scales from 2B to 32B, suggesting a general VLM property.
When describing an image, vision-language models (VLMs) name objects one by one and rarely repeat themselves, yet the planning mechanism behind this has remained unclear. A new study takes a deep dive into how VLMs decide "where to look" before they "look," revealing an internal mechanism composed of four parts, verified through causal patching experiments on the Qwen3-VL model.

The Four-Part Mechanism: A Pointer from Text to Vision
The study identifies four core components of the VLM planning mechanism. Binding heads first match relevant text tokens to the image and resolve them into pointers to the matched image regions. Next, the same set of binding heads binds each written answer to its source region, which the model converts into a progress signal: a cursor indicating the image position up to which the list has been written. Then, a select step chooses the nearest unwritten region after the cursor, or stops. Finally, gaze heads execute the selected pointer, returning the concept of what is drawn at that location, which the language heads and later MLPs convert into a word in the language of the question.
This mechanism resembles a step-by-step "read-and-mark" process, where the model tracks already-described regions via the cursor, ensuring comprehensive coverage and avoiding repetition.
Attention heads are the basic computational units in the Transformer architecture. Each layer consists of multiple attention heads working in parallel, and each head computes attention weights between different positions in the sequence via the query-key-value (QKV) mechanism, thereby determining "where to look." In VLMs, text tokens and image patches together form the input sequence, and attention heads can establish weight connections across modalities between text and image regions. The "binding heads" and "gaze heads" referred to in the study are not explicitly named modules in the model architecture, but rather a set of attention heads identified by researchers through analysis of attention patterns that serve specific functions.
Causal patching is a core experimental method in mechanistic interpretability research. The basic idea is: during the model's forward pass, replace the activation value at a specific position (e.g., the output of a particular attention head at a certain layer) with the activation value from another input, then observe whether the final output changes as expected. If the model's behavior changes as expected after the replacement, it indicates that the position has a causal role in the target behavior, not merely a correlational one. This method advances from correlational analysis to causal verification and is a key means of distinguishing "what the model uses" from "what the model depends on."
Causal Verification: Experiments on Qwen3-VL
The research team verified the function of each component on the Qwen3-VL model through causal patching. The experiments employed a synthetic visual retrieval task and compared alternative hypotheses. The results showed that the mechanism holds across different input formats, natural photographs, and languages, and that its binding, relay, and gaze heads appear across model scales from 2B to 32B.
According to the paper, the consistency of these components across models of different scales suggests that this planning mechanism may be a general property of VLMs rather than an incidental phenomenon of a specific model.
Qwen3-VL is a series of vision-language models released by Alibaba's Tongyi Qianwen team, covering various parameter scales from 2B to 32B, and supporting tasks such as image understanding, chart question answering, and multilingual visual reasoning. Choosing different scales within the same model family for experiments helps test whether the discovered mechanism remains stable as scale varies.
Synthetic visual retrieval tasks refer to artificially constructed, structurally controllable image-question-answer datasets, typically containing several target regions and distractor regions, requiring the model to describe or retrieve them one by one in order. Compared with natural images, synthetic tasks allow precise control over the number, positions, and distractors of objects, making it easier to track the model's attention allocation and cursor advancement step by step, thereby more clearly isolating the individual components of the planning mechanism.
Consistency Across Formats and Languages
The study further shows that the mechanism applies not only to synthetic tasks but also generalizes to natural images and multilingual scenarios. This means that regardless of whether the input is a chart, a photograph, or a question in different languages, VLMs may adopt a similar planning strategy. This provides a new perspective for understanding how models transform questions and images into answer sequences.
Opening a New Path for Research on Multi-Step Task Planning
The significance of this work lies in enabling researchers to analyze, layer by layer and token by token, how VLMs transform questions and images into answer sequences. More broadly, it opens a path for studying how models perform long-horizon planning in complex multi-step tasks. The project homepage provides further details and resources.
The study was completed by the relevant team, and the project page is https://plan.baulab.info/ .
One-line Summary
A new study reveals that VLMs' planning mechanism before describing an image consists of four parts: binding heads, a cursor, a select step, and gaze heads.
Paragraph Summary
This study provides an in-depth analysis of how vision-language models plan "where to look" before describing an image, proposing that their internal mechanism consists of four stages: binding heads match relevant text tokens to image regions and resolve them into pointers; the same set of binding heads binds written answers to their source regions, forming a cursor that represents progress; a select step chooses the nearest unwritten region after the cursor or stops; and gaze heads execute the pointer and return the concept of that region, which is ultimately converted into words by the language heads. The study verified the function of each part through causal patching on Qwen3-VL, ruled out alternative hypotheses, and found that the mechanism holds across different input formats, natural photographs, and multilingual scenarios, and appears consistently across models from 2B to 32B, suggesting it may be a general property of VLMs.
Related articles

AI Teams Up with Mathematicians to Attack the Riemann Hypothesis: 17 Million Lines of Code Tear Open a 167-Year Gap
In November 2026, Anthropic mathematicians and Claude claimed to have discovered a proof of the Riemann Hypothesis, publishing 17 million lines of Lean formalized code that passed machine verification. This article analyzes the event's impact on mathematics and cryptography, and the deeper questions raised by the separation of discovery and understanding.

AI Claims Formal Proof of the Riemann Hypothesis — But Machine Verification Isn't a Mathematical Proof
In Nov 2026, Anthropic's Levent Alpöğe released a Riemann Hypothesis proof of 175,000 code files that passed machine formal verification. But machine verification isn't a mathematical proof: the kernel can't confirm the proposition is the Riemann Hypothesis humans understand, and there's no human-readable paper. This article breaks down how ζ function zeros determine prime-count deviation, and the core of the controversy.

Anthropic Raises Over $80 Billion in IPO, DeepSeek Secures $100 Billion in Funding: AI Weekly Roundup
This week in AI: Anthropic's Nasdaq IPO raises $93.5B in the largest ever, DeepSeek closes ~100B yuan round, AI claims formal Riemann proof, MiniMax breaks crypto candidates in seconds.