arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.03358cs.CVcs.CLcs.LG
收藏

视觉语言模型中的视觉信息流路径

Pathways of Visual Information Flow in Vision-Language Models

University of Copenhagen(哥本哈根大学);Technical University of Denmark(丹麦技术大学);POLITEHNICA Bucharest(布加勒斯特理工大学);Bitdefender, Romania(罗马尼亚比特梵德公司)

Israfel Salazar, Stella Frank, Dan Oneata, Desmond Elliott, Constanza Fierro

AI总结:

研究视觉语言模型中视觉信息的路由,用因果补丁法发现其依赖直接和文本介导两条路径,路径选择与任务、数据分布和提示设计有关,且路径具灵活性。

摘要:

我们研究视觉信息在视觉语言模型(VLM)中是如何被路由的。通过对受控合成和自然数据集进行因果补丁,我们发现模型依靠两条不同的路径来解决视觉任务:一条直接路径,其中视觉信息保留在图像令牌表示中,并在后面的层中由最终令牌读出;一条文本介导路径,其中视觉信息首先转移到查询令牌,然后由最终令牌读出。在三个视觉任务中,我们表明路径选择取决于任务,并且数据分布和提示设计也可以调节用于解决基于图像的查询的路径。此外,使用注意力剔除和损坏输入补丁,我们发现这些路径是灵活的,在某些干预下,当通常的路径被消融时,模型可以依靠文本介导路径作为备用。这种行为统一了先前工作中的发现,并表明基于消融的干预可以揭示模型能够做什么,而不是它们通常做什么。总之,我们的结果提供了VLM中视觉信息流的机制表征,并突出了它们在干预下内部机制的灵活性。

英文摘要:

We study how visual information is routed in vision-language models (VLMs). Using causal patching on controlled synthetic and natural datasets, we find that models rely on two distinct pathways to solve visual tasks: A direct pathway, where visual information is retained in image token representations and read out by the final token at later layers, and a text-mediated pathway, where visual information is first transferred to the query tokens and then read out by the final token. Across three visual tasks, we show that pathway selection is task-dependent, and that data distribution and prompt design can also modulate which pathway is used to solve the image-based query. Moreover, using attention knockouts and corrupted-input patching, we find that these pathways are flexible, under certain interventions, models can rely on the text-mediated pathway as a fallback when the usual pathway is ablated. This behavior unifies findings in prior work and shows that ablation-based interventions can reveal what models could do rather than what they normally do. Together, our results provide a mechanistic characterization of visual information flow in VLMs and highlight the flexibility of their internal mechanisms under intervention.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑