Paper: 2606.14703 Authors: Rohit Gandikota, David Bau Categories: cs.CV, cs.CL, cs.LG

The Gap

Existing mechanistic interpretability work in VLMs has focused on locating object-specific neurons or probing attention heads for factual recall.
But no prior method explains how the model aligns its language generation with a spatial region of the image in real time.
Attempts to steer VLM outputs (via prompt engineering, finetuning, or latent editing) treat the model as a black box and require retraining or large datasets.
This paper asks: is there a compact, causally responsible set of attention heads that controls which part of the image is being described?
They use comic strips – where narrative order is spatially laid out – as a controlled testbed, and find that a few hundred heads (fewer than 9% of all heads) act as “gaze heads” that track the described region.

[Problem]  
VLM description mechanism is opaque  
   |  
   v  
[Assumption]  
A small set of heads correlates attention with described region  
   |  
   v  
[Method]  
Correlation of attention weights to current-description tokens  
   |  
   v  
[Evidence]  
Redirecting those heads forces description of a different region  
   |  
   v  
[Conclusion]  
Gaze heads are a causal inference-time control lever

The Increment

One sentence: Before this paper, steering a VLM to describe a specific image region required prompt engineering or finetuning; after this paper, a single attention-mask intervention on <9% of heads achieves 83.1% accuracy with zero retraining.

Core Mechanism

The method has three steps: identification, intervention, and control.

First, identification: the authors use a dataset of comic strips where each panel’s description naturally refers to a specific spatial location. For each generated token during inference, they compute the correlation between an attention head’s weights over image tokens and a binary mask of the “correct” panel being described. Heads with consistently high correlation scores across many images are selected as “gaze heads” (top 100 by default).

Second, intervention: at inference time, the gaze heads’ attention scores are modified by adding a large constant to the attention logits for tokens belonging to the desired image region (i.e., a mask). This forces the head to attend predominantly to that region.

Third, control: the same intervention works continuously – if the mask is changed mid-generation, the model finishes describing the current panel and moves to the new one within a few tokens.

   Input Image          Text prompt  
       |                     |  
    (ViT encoder)     (Language model backbone)  
       |                     |  
   Image tokens         +-------...-------+
       |                |   all heads     |
       +------concat----| (100s of heads) |
                        |                 |
                        +-------+---------+
                                |
                     [Correlation scoring]
                                |
                   Top-100 gaze heads identified
                                |
              At inference: apply mask to logits
              of these heads to redirect attention
                                |
                        Output description

Structural metaphor: The Spotlight Director

Imagine a theater stage (the image) with multiple actors (image regions).
The VLM is a director who calls out lines (generates tokens).
Most stagehands (regular attention heads) scatter light equally across the whole stage.
But a few key stagehands – the “gaze heads” – actively follow the director’s gaze: they always point their spotlight at the actor currently speaking.

If you grab those few spotlights and physically turn them toward a different actor, the director will immediately start describing that actor’s scene.
Grabbing random spotlights does nothing – they don’t track the narrative.
And grabbing all spotlights confuses the director because the entire stage is artificially lit.

The mask is your hand on the spotlight handle: a simple, physical lever to change what the model “looks at.”

Key Concepts

  • Gaze head: An attention head whose attention over image tokens correlates with the spatial region being described. Identified by computing, over many tokens, the pointwise correlation between the head’s attention distribution and a binary mask of the correct region. The top 100 heads (out of ~1100 in a 7B model) are kept.

  • Attention redirection: During forward pass of the language model, before softmax, add a large positive constant (e.g., 100) to the attention logits of image tokens that belong to the *target region. After softmax, attention is forced to concentrate on that region. This is a zero-training, inference-time operation.

  • Zero-shot control: No finetuning, no prompt tricks. The intervention directly modifies the internal computation of a known causal component. This contrasts with latent space steering (e.g., reading/writing control vectors) which requires collecting contrastive pairs.

Framework Shift

Before (mainstream approach):  
Input image + "Describe the left panel" -> [VLM black box] -> output  
All steering is done via input manipulation (prompt engineering) or output selection.

After (this paper):  
Input image + "Describe it" -> [VLM with identified gaze heads] -> output  
                                |  
                           Mask applied to top-100 heads  
                           (internal causal intervention)

The core shift is: from external prompt engineering (treating the model as a black box) to internal causal control (operating on a discovered mechanism).

Expert Assessment

Problem choice: Real and timely. As VLMs are deployed in production, the ability to steer which part of an image they describe without retraining has direct practical value. The gap between “we know attention heads exist” and “we can use them as control handles” was clearly articulated.

Method maturity: Clever but simple. The correlation-based identification is straightforward, yet the paper’s key contribution is demonstrating that these heads are *causally sufficient for steering. A more rigorous approach might use automated causal discovery, but the current method’s simplicity is a virtue.

Experimental integrity: Baselines are fair (random heads, all heads, no intervention). The 83.1% accuracy on comics is convincing. However, the natural image (COCO) experiment reports only a single example, not a quantitative comparison. The paper would be stronger with systematic evaluation on diverse image types. No red flags, but the lack of statistical tests is a minor weakness.

Writing quality: Clear, well-structured, with good figures. The methods section could be more explicit about the exact correlation formula. The ablation study (different head counts, different model sizes) is well done but buried in the appendix. Moving it to the main body would strengthen the paper.

Verdict: weak accept – solid mechanistic discovery with a practical control method, but limited quantitative evaluation on natural images and a narrow task scope (description only).

Takeaways

  • Actionable technique: You can find gaze heads in your own VLM by computing attention-region correlation on any dataset with spatial annotations (e.g., caption-region pairs). The correlation metric is cheap (a few forward passes).

  • Inference-time steering: The attention-mask intervention is a general method for any task where you want to force a VLM to focus on a specific spatial region – e.g., visual question answering about a particular object without mentioning it in the prompt.

  • Mechanistic interpretability as engineering tool: This paper demonstrates that understanding internal mechanisms (gaze heads) directly yields a control lever. The same approach could be applied to other “tracking” behaviors (e.g., tracking a moving object in video VLMs).

论文: 2606.14703 作者: Rohit Gandikota, David Bau 分类: cs.CV, cs.CL, cs.LG

缺口

现有VLM的可解释性工作集中在定位物体相关神经元或探测注意力头的知识提取。
但没有方法解释模型如何实时地将语言生成与图像空间区域对齐。
尝试通过提示工程、微调或潜空间编辑来引导VLM输出,都将模型视为黑箱,需要重新训练或大量数据。
这篇论文问:是否存在一组紧凑的、有因果责任的注意力头,控制着模型”正在描述图像的哪个部分”?
他们用连环画(叙事顺序按空间布局排列)作为受控实验平台,发现少数注意力头(少于全部头的9%)作为”凝视头”跟踪被描述的区域。

[问题]
VLM描述机制不透明
   |
   v
[假设]
少量注意力头的注意力与被描述区域相关
   |
   v
[方法]
计算注意力权重与当前描述token的相关性
   |
   v
[证据]
重定向这些头会强制描述不同的区域
   |
   v
[结论]
凝视头是推理时可控制的因果杠杆

增量

一句话: 这篇论文之前,引导VLM描述指定图像区域需要提示工程或微调;之后,只需对少于9%的注意力头做一次注意力掩码干预,就能以83.1%的准确率重定向描述,且零重训练。

核心机制

方法分三步:识别干预控制

首先,识别:使用连环画数据集,其中每个面板的描述自然对应一个空间位置。对每个生成的token,计算注意力头在图像token上的注意力权重与”正确面板”的二进制掩码之间的相关性。跨许多图像一致性高的头被选为”凝视头”(默认top-100)。

第二步,干预:推理时,在凝视头的注意力分数上加一个大常数(例如100)到属于目标区域的图像token的logits上。Softmax后,注意力被迫集中在该区域。

第三步,控制:同样的干预可连续进行——如果在生成中途改变掩码,模型会结束当前面板的描述,并在几个token内转到新面板。

   输入图像            文本提示
      |                  |
   (ViT编码器)      (语言模型骨干)
      |                  |
   图像token         +-------...-------+
      |               |  所有注意力头   |
      +------拼接-----| (数百个)       |
                      |                |
                      +-------+--------+
                              |
                     [相关性评分]
                              |
                   选出top-100凝视头
                              |
                  推理时对这些头施加掩码
                  强制关注选定的图像区域
                              |
                       输出描述

结构隐喻:追光灯导演

把图像想象成舞台,上面有几个演员(图像区域)。
VLM是一个导演,在念台词(生成token)。
大多数场务(普通注意力头)均匀照亮整个舞台。
但少数关键场务——“凝视头”——会主动跟随导演的目光:他们总是把追光灯对准当时正在说话的演员。

如果你抓住这几个追光灯,物理性地转向另一个演员,导演会立刻开始描述那个演员的场景。
抓住随机几个追光灯没用——它们不跟踪叙事。
抓住所有追光灯会让导演混乱,因为整个舞台被人为照亮。

掩码就是你抓住追光灯手柄的手:一个简单、物理的杠杆,改变模型”看”什么。

关键概念

  • 凝视头 (gaze head):注意力分布与当前描述的图像区域相关的注意力头。通过计算每个token上注意力重量与正确区域掩码的点积相关性来识别。一个7B模型大约1100个头,其中top-100被保留。

  • 注意力重定向 (attention redirection):在语言模型前向传播的注意力logits上,对属于目标区域的图像token加上大常数(如100)。Softmax之后,注意力被迫集中在目标区域。这是零训练、推理时的操作。

  • 零样本控制 (zero-shot control):无需微调或提示技巧。干预直接修改已知因果组件的内部计算。这与潜空间控制(例如读取/写入控制向量)形成对比,后者需要收集对比样本对。

框架转变

之前(主流方法):
输入图像 + "描述左面板" -> [VLM黑箱] -> 输出
所有控制通过输入操作(提示工程)或输出选择。

之后(本文方法):
输入图像 + "描述它" -> [VLM(已识别凝视头)] -> 输出
                          |
                      对top-100头施加掩码
                      (内部因果干预)

核心转变是:从外部提示工程(把模型当黑箱)到内部因果控制(操作发现的机制)。

专家评审

选题眼光: 真实且及时。VLM部署到生产中时,无需重训练就能引导模型描述指定图像区域,有直接实用价值。从”我们知道注意力头存在”到”我们可以把它们当作控制手柄”的这个缺口被清晰阐述。

方法成熟度: 巧劲但简单。基于相关性的识别方法很直接,但论文的关键贡献是证明这些头**因果充分*用于引导。更严谨的方法可能用自动因果发现,但当前方法的简洁性本身就是优点。

实验诚意: 基线合理(随机头、全部头、无干预)。连环画上的83.1%准确率令人信服。但自然图像(COCO)实验只报告了一个示例,没有量化比较。如果能对多样的图像类型做系统评估会更强。没有值得警惕之处,但缺少统计检验是短板。

写作功力: 清晰,结构好,图表佳。方法部分可以更明确地写出相关性公式。消融实验(不同头数、不同模型大小)做得好但放在附录。移到正文会提升论文。

判决: 弱接收 — 扎实的机械论发现加上实用的控制方法,但在自然图像上缺乏定量评估,且任务范围窄(仅描述任务)。

要点总结

  • 可操作的技术:通过计算注意力-区域相关性,可以在自己的VLM中找到凝视头。相关性度量只需几次前向传播,廉价高效。

  • 推理时引导:注意力掩码干预是一种通用方法,适用于任何想强制VLM聚焦于特定空间区域的任务——例如,在不提示物体名称的情况下进行视觉问答。

  • 机械论可解释性即工程工具:这篇论文展示了理解内部机制(凝视头)直接产生控制杠杆。同样的方法可应用于其他”跟踪”行为(例如视频VLM中跟踪移动物体)。