arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.10300cs.AI
收藏

探讨视觉语言模型中注意力头的功能作用:推理模块的证据

Investigating The Functional Roles of Attention Heads in Vision Language Models: Evidence for Reasoning Modules

The University of Melbourne(墨尔本大学);The University of Sydney(悉尼大学)

Yanbei Jiang, Xueqi Ma, Shu Liu, Sarah Monazam Erfani, Tongliang Liu, James Bailey, Jey Han Lau, Krista A. Ehinger

AI总结:

本文通过CogVision数据集探讨视觉语言模型中注意力头的功能作用,揭示其在多模态推理中的关键作用及分布特征。

摘要:

尽管在多模态基准测试中表现出色,视觉语言模型(VLMs)在很大程度上仍是一个黑箱。在本文中,我们提出了一种新的可解释性框架,系统地分析VLMs的内部机制,重点是多模态推理中注意力头的功能作用。为此,我们引入了CogVision数据集,该数据集将复杂的多模态问题分解为逐步的子问题,旨在通过思维链范式模拟人类推理,每个子问题都与特定的接受或认知功能相关联,如高级视觉接收和推理。通过基于探测的方法,我们识别出专门从事这些功能的注意力头,并将它们表征为功能头。在不同VLM家族的分析中,我们发现这些功能头是普遍稀疏的,数量和分布因功能而异,并且调解了交互和层次组织。此外,干预实验显示它们在多模态推理中的关键作用:移除功能头会导致性能下降,而强调它们会提高准确性。这些发现为VLMs的认知组织提供了新的见解,并提出了设计具有更符合人类感知和推理能力的模型的有希望的方向。

英文摘要:

Despite excelling on multimodal benchmarks, vision-language models (VLMs) largely remain a black box. In this paper, we propose a novel interpretability framework to systematically analyze the internal mechanisms of VLMs, focusing on the functional roles of attention heads in multimodal reasoning. To this end, we introduce CogVision, a dataset that decomposes complex multimodal questions into step-by-step subquestions designed to simulate human reasoning through a chain-of-thought paradigm, with each subquestion associated with specific receptive or cognitive functions such as high-level visual reception and inference. Using a probing-based methodology, we identify attention heads that specialize in these functions and characterize them as functional heads. Our analysis across diverse VLM families reveals that these functional heads are universally sparse, vary in number and distribution across functions, and mediate interactions and hierarchical organization. Furthermore, intervention experiments demonstrate their critical role in multimodal reasoning: removing functional heads leads to performance degradation, while emphasizing them enhances accuracy. These findings provide new insights into the cognitive organization of VLMs and suggest promising directions for designing models with more human-aligned perceptual and reasoning abilities.

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

↑