大型视觉语言模型中对象表示的因果追踪:机制可解释性与幻觉缓解
Causal Tracing of Object Representations in Large Vision Language Models: Mechanistic Interpretability and Hallucination Mitigation
AI总结:
针对大型视觉语言模型机制可解释性不足的问题,提出细粒度跨模态因果追踪框架FCCT分析视觉对象感知的因果效应,基于此提出推理时中间表示注入技术IRI,有效缓解幻觉并提升模型性能。
摘要:
尽管大型视觉语言模型(LVLMs)取得了显著进展,但其机制可解释性仍未得到充分探索。现有分析不够全面,缺乏对视觉和文本标记、模型组件及全范围层的综合考察。这一局限限制了改进模型输出忠实度的可行见解,也阻碍了下游任务(如幻觉缓解)的发展。为此,我们提出细粒度跨模态因果追踪(FCCT)框架,系统量化视觉对象感知的因果效应。FCCT覆盖全范围视觉与文本标记、多头自注意力(MHSA)、前馈网络(FFNs)及隐藏状态这三类核心组件,分析所有解码器层。我们的分析首次表明,中间层最后一个标记的MHSA在聚合跨模态信息中起关键作用,而FFNs在视觉对象表示的存储与传递中呈现三阶段分层过程。基于这些见解,我们提出中间表示注入(IRI)技术——一种无需训练的推理时方法,通过在特定组件和层精准干预跨模态表示来强化视觉对象信息流,从而增强感知并缓解幻觉。在5个广泛使用的基准和LVLMs上的一致改进表明,IRI实现了最先进性能,同时保留了推理速度和其他基础性能。
英文摘要:
Despite the remarkable advancements of Large Vision-Language Models (LVLMs), the mechanistic interpretability remains underexplored. Existing analyses are insufficiently comprehensive and lack examination covering visual and textual tokens, model components, and the full range of layers. This limitation restricts actionable insights to improve the faithfulness of model output and the development of downstream tasks, such as hallucination mitigation. To address this limitation, we introduce Fine-grained Cross-modal Causal Tracing (FCCT) framework, which systematically quantifies the causal effects on visual object perception. FCCT conducts fine-grained analysis covering the full range of visual and textual tokens, three core model components including multi-head self-attention (MHSA), feed-forward networks (FFNs), and hidden states, across all decoder layers. Our analysis is the first to demonstrate that MHSAs of the last token in middle layers play a critical role in aggregating cross-modal information, while FFNs exhibit a three-stage hierarchical progression for the storage and transfer of visual object representations. Building on these insights, we propose Intermediate Representation Injection (IRI), a training-free inference-time technique that reinforces visual object information flow by precisely intervening on cross-modal representations at specific components and layers, thereby enhancing perception and mitigating hallucination. Consistent improvements across five widely used benchmarks and LVLMs demonstrate IRI achieves state-of-the-art performance, while preserving inference speed and other foundational performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。