为自回归视觉语言模型生成逐令牌和序列级解释热图
DEX-AR: A Dynamic Explainability Method for Autoregressive Vision-Language Models
- 通过层间梯度计算注意力图,动态追踪每步生成的关键视觉区域
- 在ImageNet、VQAv2等数据集上提升解释性指标,显著优于基线方法
- 适合研究模型决策机制或需可信AI的视觉语言任务开发者
随着视觉语言模型(VLM)日益复杂和广泛应用,理解其决策过程变得愈发重要。传统可解释性方法针对分类任务设计,难以应对现代自回归VLM的逐标记生成过程及其视觉与文本模态间的复杂交互。我们提出DEX-AR(自回归模型动态可解释性方法),一种新型可解释性方法,能够生成逐标记和序列级别的2D热图,突出模型文本响应中关键的图像区域。该方法通过在逐标记生成过程中计算相对于注意力图的层间梯度,解释自回归VLM——包括不同层和生成标记的重要性差异。DEX-AR引入两项核心创新:动态头过滤机制,识别聚焦于视觉信息的注意力头;以及序列级过滤方法,聚合逐标记解释并区分视觉依存与纯语言性标记。在ImageNet、VQAv2和PascalVOC上的评估显示,采用新颖的归一化困惑度度量和分割类指标,均实现一致性能提升。
原文摘要 · Abstract (English)
As Vision-Language Models (VLMs) become increasingly sophisticated and widely used, it becomes more and more crucial to understand their decision-making process. Traditional explainability methods, designed for classification tasks, struggle with modern autoregressive VLMs due to their complex token-by-token generation process and intricate interactions between visual and textual modalities. We present DEX-AR (Dynamic Explainability for AutoRegressive models), a novel explainability method designed to address these challenges by generating both per-token and sequence-level 2D heatmaps highlighting image regions crucial for the model's textual responses. The proposed method offers to interpret autoregressive VLMs-including varying importance of layers and generated tokens-by computing layer-wise gradients with respect to attention maps during the token-by-token generation process. DEX-AR introduces two key innovations: a dynamic head filtering mechanism that identifies attention heads focused on visual information, and a sequence-level filtering approach that aggregates per-token explanations while distinguishing between visually-grounded and purely linguistic tokens. Our evaluation on ImageNet, VQAv2, and PascalVOC, shows a consistent improvement in both perturbation-based metrics, using a novel normalized perplexity measure, as well as segmentation-based metrics.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。