Paper: 2608.27417 Authors: Chanho Park, Daehyeon Choi, Jihyun Lee, Minhyuk Sung Categories: cs.CV
The Gap
A VLM can locate the image region a text prompt refers to, and route the corresponding visual evidence into its output. This works, and the internal mechanism behind it was not understood. That is the gap: a capability that is relied on — grounding is the basis of every visual question about a specific object — with no account of which components implement it.
The obvious analogy is retrieval heads in language models, a small subset of attention heads causally responsible for copying information from context to output. If VLMs have an analogous mechanism for visual retrieval, it would explain grounding in terms the field already understands, and it would make the capability inspectable. But the analogy is a hypothesis, and it could fail: vision introduces an encoder, a projector and a different input structure, any of which could spread the function diffusely.
THE OBSERVED CAPABILITY, THE MISSING MECHANISM
VLM: locate the region a prompt refers to
route the corresponding visual evidence to output
-> works, and grounding underpins every
object-specific visual question
|
v
[GAP] no account of which components implement it
|
v
HYPOTHESIS: retrieval heads, as established for TEXT
- a small subset of attention heads
- causally responsible for copying context into output
|
v
the analogy COULD FAIL for vision:
an encoder, a projector, a different input structure
-> any of which might spread the function diffusely
The Increment
One sentence: Before this paper, VLM grounding had no mechanistic account; after it, visual retrieval heads are identified — about 1.7-2.6% of attention heads whose masking costs up to 80 percentage points of grounding accuracy — and they show properties the text analogue does not.
Core Mechanism
The first contribution is how to find them, and it is a methodological result rather than a lucky guess. The authors recast existing head-scoring methods under a unified design space over three axes — query tokens, key aggregation, and cross-sample aggregation — and then determined which point in that space most reliably identifies causal heads. The answer: scoring attention from output prediction tokens, with a sum over the ground-truth referent region. Two choices are doing the work there. Taking attention from prediction tokens focuses on the heads that contribute to what is actually output, not to some intermediate representation. Aggregating over the ground-truth referent region grounds the score in the correct answer rather than in whatever the model happens to attend to.
Then the causal evidence, which is what makes the label “retrieval head” earned rather than assigned. Across eleven VLMs and five referring-expression benchmarks, masking only the top 20 VRHs reduces grounding accuracy by up to 80 percentage points, while masking the same number of random heads has little effect. Twenty heads out of however many — a small intervention with a catastrophic and specific effect — is the causal-sparse signature that justifies calling them retrieval heads.
And then the part that goes beyond replicating the text analogy. Three properties are reported that were not previously established:
They generalise across visual reference tasks. The heads were discovered through bounding-box prediction, yet they remain causal on attribute, spatial, counting and visual-math benchmarks. So what was found is not a bounding-box module. It is a mechanism for routing visual evidence that a box-prediction task happens to expose, and it is used by tasks that never produce a box.
They are functionally specific. Masking them preserves output format while corrupting localization. That is a strong dissociation, because it rules out a boring explanation — if the heads were simply needed for producing well-formed output, corrupting them would break the format too. The function is specifically localization.
They are architecturally shared. They transfer causally across VLMs that share an LLM backbone but differ in vision encoder, projector and instruction tuning. This is the most surprising result. One would expect visual grounding to live in whatever adapts vision to language — the projector. Instead, the mechanism appears to reside in the language backbone side and survives changes to the vision stack, which suggests the grounding function is implemented in a place that is more stable across model families than the vision components are.
FINDING THEM (a design-space result)
recast head-scoring methods under three axes:
query tokens | key aggregation | cross-sample aggregation
|
v
the point that works:
score attention FROM OUTPUT PREDICTION TOKENS,
summed over the GROUND-TRUTH REFERENT REGION
|
v
causal evidence (11 VLMs, 5 referring-expression benchmarks)
mask top 20 VRHs -> grounding accuracy -80 points
mask 20 RANDOM -> little effect
-> 1.7-2.6% of heads, causally sparse
BEYOND THE TEXT ANALOGUE
GENERALISE: discovered via bounding-box prediction, yet
remain causal on attribute / spatial / counting /
visual-math benchmarks
FUNCTIONALLY SPECIFIC: output FORMAT preserved while
LOCALISATION is corrupted
ARCHITECTURALLY SHARED: transfer causally across VLMs that
share an LLM backbone but differ in vision encoder,
projector and instruction tuning
Think of it as tracing which few switches in a control room actually steer the camera. The room has hundreds of switches; flipping them at random changes nothing you can measure. But a small set turns out to be the ones that move the camera, and flipping those sends the view somewhere else entirely. Two details from the study make this more than a metaphor. The switches were found by watching which ones light up when the camera ends up correctly pointed — not which ones light up during the operation generally. And when you turn them off, the camera’s power indicator still works and its menus still render: only the aim is wrong. That dissociation is what tells you the switches are for aiming rather than for the machine running at all. The third finding is that this switch panel is the same across two control rooms wired quite differently on the input side — the aiming function lives on the side of the system that has less to do with how the pictures arrive.
Key Concepts
- Visual Retrieval Heads (VRHs): about 1.7-2.6% of attention heads that are causally responsible for grounding textual descriptions to image regions. The percentage is what makes them a mechanism rather than a general property of attention.
- Discovering causal heads through a design space: recasting head-scoring across query tokens, key aggregation and cross-sample aggregation, and identifying the combination that finds causal heads. The specific answer — prediction tokens, summed over the ground-truth region — matters less than the fact that it was searched for rather than assumed.
- The causal-sparse-universal triad: sparse (a small subset), causal (masking them has a large specific effect), universal (consistent across models and benchmarks). It is the pattern established for text retrieval heads, and replicating it for vision is what licenses the analogy.
- Functional specificity as evidence: preserved output format with corrupted localization. Without this, “these heads matter” would be consistent with a much less interesting explanation — that they are needed for generating any valid output at all.
Framework Shift
Before (capability observed, mechanism unknown):
VLM grounds a text prompt to an image region
-> understood behaviourally, not mechanically
-> "grounding" is a black box inside the model
After (mechanism located and characterised):
1.7-2.6% of heads, found via a searched design space
masking top 20 -> -80 points; random 20 -> nothing
generalise beyond bounding boxes
specific: format intact, localisation broken
shared across VLM families with different vision stacks
From treating visual grounding as a black box that behaviourally works, to locating it in a small, causally verified set of heads with a defined functional profile, the core shift is that the capability can now be inspected, pruned and reasoned about at the level of components.
Expert Assessment
Problem choice: Very good, and it picks the right analogy to test rather than to assume. Retrieval heads are one of the better-established mechanisms in language model interpretability, so asking whether vision has an analogue is well posed — and it is a question that could have come back negative.
Method maturity: The design-space formulation is the methodological strength, because it turns “which scoring method finds the heads” from a choice of convention into a search whose answer is reported. The evidence standard is also right: discovering heads by one task and then checking causal effect on tasks that share no output format is a genuine generalisation test, and the functional-specificity dissociation is a properly conceived control against a deflationary explanation.
Experimental integrity: The numbers are structured to be falsifiable. An 80-point drop from masking 20 heads, against near-nothing from masking 20 random heads, is a large effect with a matched control. Eleven VLMs and five benchmarks is a breadth that makes single-model artefacts unlikely, and the cross-architecture transfer test is the strongest single result because it comes with a prediction one would not have made. The honest limitation is that all of this is behavioural plus causal masking; there is no account of how the heads route information, so the label describes a function located, not a mechanism explained.
Writing quality: The paper is organised around the triad and then the three novel properties, which is a clear structure and puts the new claims where they can be assessed. Because the finding is about a small subset of heads, a visualisation of where VRHs occur — depth, layer type, head index — would be disproportionately useful, letting a reader see the structure rather than only its consequences.
Verdict: strong accept — a well-controlled identification of a sparse causal mechanism for visual grounding, with three properties that go beyond replicating the text analogue and one cross-architecture result that is genuinely unexpected.
Takeaways
- Search the scoring design space before adopting a convention. Which statistic finds causal heads is an empirical question with a reportable answer, not a matter of habit.
- Test causal heads on tasks that share no output format with the discovery task. That is what separates a general mechanism from a module for one benchmark.
- Use functional specificity as a control. Preserved format with broken localisation rules out the deflationary explanation; without it, “these heads matter” is weak.
- Look for mechanisms on the stable side of the architecture. Grounding here transferred with the LLM backbone rather than with the vision stack, which is not where one would have expected to find it.
论文: 2608.27417 作者: Chanho Park, Daehyeon Choi, Jihyun Lee, Minhyuk Sung 分类: cs.CV
缺口
一个 VLM 能够定位文本提示所指的图像区域,并把对应的视觉证据路由进输出。这件事能成立,而它背后的内部机制此前并不为人理解。 缺口就在这里:一项被依赖的能力——定位是”关于某个具体物体的任何视觉问题”的基础——却没有任何关于”是哪些组件实现了它”的说法。
最自然的类比,是语言模型中的检索头(retrieval heads):一小部分注意力头,因果性地负责把信息从上下文复制到输出。如果 VLM 也存在针对视觉检索的类似机制,那么定位就可以用这个领域已经理解的语言来解释,并且这项能力变得可检视。 但这个类比只是一个假设,它也可能失败:视觉引入了编码器、投影器与不同的输入结构,其中任何一个都可能让这项功能弥散开来。
能力被观测到,机制却缺席
VLM:定位提示所指的区域
把对应的视觉证据路由进输出
-> 能成立,而定位于每一个
「针对具体物体」的视觉问题都是基础
|
v
[缺口] 没有关于「哪些组件实现了它」的说法
|
v
假设:检索头 —— 在「文本」上已被确立的机制
- 一小部分注意力头
- 因果性地负责把上下文复制进输出
|
v
这个类比在视觉上「可能失败」:
编码器、投影器、不同的输入结构
-> 任何一个都可能让功能弥散
增量
一句话: 在这篇论文之前,VLM 的定位没有任何机制层面的解释;在这篇论文之后,“视觉检索头”被识别出来——约占注意力头的 1.7%~2.6%,屏蔽它们会让定位准确率下降最多 80 个百分点——并且展现出文本类比所没有的性质。
核心机制
第一项贡献是如何找到它们,而这本身就是一个方法学结果,而不是一次幸运的猜测。 作者把既有的”头打分”方法重述到一个统一的设计空间里,该空间有三个轴——查询 token、键聚合方式、跨样本聚合方式——然后确定这个空间中的哪一点最能可靠地识别「因果性」头。答案是:从输出预测 token 上计算注意力,并对真值所指区域求和。 这里有两个选择在起作用:取预测 token 上的注意力,把焦点放在”真正贡献于实际输出”的那些头上,而不是某个中间表示上;对真值所指区域做聚合,把分数锚定在正确答案上,而不是锚定在模型碰巧注意到的地方。
接着是因果证据——正是它让”检索头”这个称呼是挣来的,而不是被指派的。 跨 11 个 VLM 与 5 个指代表达基准,只屏蔽前 20 个 VRH,就让定位准确率最多下降 80 个百分点;而屏蔽同样数量的随机头,影响很小。无论总共有多少个头,20 个——一个极小的干预,带来一个灾难性且具体的效应——这就是”因果稀疏”的签名,也正是把它们称作检索头的依据。
然后是不止于”复现文本类比”的那一部分。论文报告了三条此前未被确立的性质:
它们跨视觉指代任务泛化。 这些头是通过边界框预测被发现的,却在属性、空间、计数与视觉数学基准上依然保持因果性。所以找到的并不是一个”边界框模块”。它是一个路由视觉证据的机制,恰好被一个框预测任务暴露出来,而那些根本不产出框的任务同样在用它。
它们具有功能特异性。 屏蔽它们会保持输出格式、但破坏定位。这是一个很强的分离,因为它排除了一种无趣的解释——如果这些头只是”产出任何合法输出所必需”,那屏蔽它们也会把格式一起弄坏。这个功能具体就是定位。
它们在架构上是共享的。 它们在那些共享同一 LLM 主干、但在视觉编码器、投影器与指令微调上各不相同的 VLM 之间因果性地迁移。这是最令人意外的结果。人们会预期”视觉定位” 位于把视觉适配到语言的部件里——也就是投影器。而实际上这个机制似乎位于语言主干一侧,并且能在视觉栈发生变化时存活下来,这提示定位功能被实现在一个比视觉组件更稳定的位置上。
如何找到它们(一个设计空间层面的结果)
把「头打分」方法重述到三个轴上:
查询 token | 键聚合 | 跨样本聚合
|
v
真正管用的那个点:
从「输出预测 token」上计算注意力,
并对「真值所指区域」求和
|
v
因果证据(11 个 VLM,5 个指代表达基准)
屏蔽前 20 个 VRH -> 定位准确率 -80 个点
随机屏蔽 20 个 -> 几乎无影响
-> 占头总数的 1.7%~2.6%,因果稀疏
超出文本类比的部分
泛化:通过边界框预测被发现,却在属性 / 空间 /
计数 / 视觉数学基准上保持因果性
功能特异:输出「格式」保留,而「定位」被破坏
架构共享:在共享 LLM 主干、但视觉编码器、投影器与
指令微调各不相同的 VLM 之间因果性迁移
可以用**“追查控制室里究竟哪几个开关在真正控制摄像机”来理解这件事: 房间里有几百个开关;随机拨动它们,你测不出任何变化。但有一小部分开关被发现正是让摄像机转动的那几个**——拨动它们,画面会整个跑到别处去。 研究里的两个细节让这不只是一个比喻。 这些开关是通过观察”摄像机最终正确对准时哪几个亮起”找到的,而不是”运行过程中哪几个亮起”。而当你把它们关掉时,摄像机的电源指示灯依然亮着、菜单依然能渲染:只有瞄准错了。正是这个分离告诉你,这些开关是管瞄准的,而不是管整台机器能否运转的。 第三项发现是:这块开关面板在两个输入端接线方式差别很大的控制室里是同一块——瞄准功能住在系统里”与画面如何送达关系更小”的那一侧。
关键概念
- 视觉检索头(VRHs): 约占注意力头总数的 1.7%~2.6%,因果性地负责把文本描述定位到图像区域。这个百分比正是让它们成为一种机制、而不是”注意力的一般属性”的关键。
- 通过设计空间发现因果头: 把”头打分”在查询 token、键聚合与跨样本聚合三个维度上重述,并找出能发现因果头的那个组合。具体答案——预测 token、对真值区域求和——不如”它是被搜索出来的、而不是被假定的”这件事重要。
- 因果—稀疏—普适的三元组: 稀疏(只是一个小集合)、因果(屏蔽它们带来巨大且具体的效应)、普适(跨模型与基准一致)。这是文本检索头上已确立的模式;在视觉上复现它,才使那个类比得以成立。
- 以功能特异性作为证据: 输出格式保留、定位被破坏。没有这一条,“这些头很重要”也会与一种远没那么有意思的解释相容——即它们是”生成任何合法输出”所必需的。
框架转变
之前(能力被观测到,机制未知):
VLM 把文本提示定位到图像区域
-> 只在行为层面被理解,机制层面没有
-> "定位"是模型内部的一个黑箱
之后(机制被定位并刻画):
1.7%~2.6% 的头,经由一个被搜索的设计空间找到
屏蔽前 20 个 -> -80 个点;随机 20 个 -> 无影响
泛化到边界框之外
特异:格式完好,定位被破坏
在视觉栈各异的 VLM 家族之间共享
从”把视觉定位当作一个行为上能成立的黑箱”,转变为”把它定位到一个很小的、经过因果验证的头集合上,并给出一份明确的功能画像”,核心转变在于:这项能力如今可以在组件层面被检视、被剪枝、被推理。
专家评审
选题眼光: 很好,而且它挑对了那个”应当去检验、而不是去假定”的类比。 检索头是语言模型可解释性中较为扎实的机制之一,因此”视觉是否有其对应物”是一个提得很好的问题——而且它本来完全可能是否定的答案。
方法成熟度: 设计空间的表述是方法学上的长处,因为它把”用哪种打分方法才能找到这些头”从”惯例选择”变成了”一次搜索,并把答案报出来”。 证据标准也是对的:用一项任务发现头,再检验它在其输出格式完全不相干的任务上的因果效应,是一次真正的泛化检验;而”功能特异性”这个分离,是针对”贬低式解释”的一个构思正确的对照。
实验诚意: 数字的结构本身就是可证伪的。屏蔽 20 个头带来 80 个点的下降,对照屏蔽 20 个随机头的”几乎没有影响”,是一个带匹配对照的大效应。11 个 VLM、5 个基准这样的广度,使”单模型假象”变得不太可能;而跨架构迁移检验是最强的单一结果,因为它附带了一个本来不会有人做出的预测。 诚实的局限是:这一切仍是行为层面加因果屏蔽;关于这些头如何路由信息,论文没有给出解释——因此这个标签描述的是”被定位到的功能”,而不是”被解释了的机制”。
写作功力: 论文围绕那个三元组组织,然后给出三条新性质,结构清晰,并把新主张放在可被评估的位置。 由于发现的是”头中很小的一部分”,若能可视化 VRH 出现在哪里——深度、层类型、头索引——会有不成比例的价值,让读者看到那个结构,而不只是它的后果。
判决: 强接收(Strong Accept) — 对视觉定位的稀疏因果机制做出了一次控制良好的识别,附带三条超出”复现文本类比”的性质,以及一个真正出人意料的跨架构结果。
要点总结
- 在采用某种惯例之前,先搜索打分的设计空间。“哪个统计量能找到因果头”是一个经验问题,有一个可报告的答案,而不是习惯问题。
- 在与发现任务输出格式完全不相干的任务上检验因果头。正是这一点把”通用机制”与”针对某个基准的模块”区分开。
- 用功能特异性作为对照。格式保留而定位被破坏,排除了那种贬低式解释;没有这一条,“这些头很重要”是很弱的。
- 到架构中更稳定的那一侧去找机制。这里的定位是随 LLM 主干迁移的,而不是随视觉栈迁移的——那并不是人们预期会找到它的地方。