arXiv:2501.09532cs.CV2025-01被引 6

通过跨模态注意力动态筛选视觉令牌,提升视觉语言模型推理效率。

AdaFV: Rethinking of Visual-Language alignment for VLM acceleration

  • 利用视觉显著性与文本-图像相似性自适应选择关键视觉令牌。
  • 在高压缩率下仍保持领先性能,无需额外训练成本。
  • 适合追求高效推理的视觉语言模型部署场景。

视觉语言模型(VLM)的成功常依赖于动态高分辨率方案,该方案通过多裁剪增强输入图像以保留细节,但导致大量冗余视觉令牌,显著降低效率。为在不增加训练成本的前提下提升效率,现有方法通过过滤无信息视觉令牌或聚合其信息来减少令牌数量。然而,基于自注意力机制的方法存在偏差,可能导致错误响应;仅依赖视觉线索的方法缺乏文本感知,难以聚焦与问题相关的非显著区域。本文实验表明,原始文本嵌入与视觉令牌对齐,且不受尾部视觉令牌偏差影响。为此,提出一种自适应跨模态注意力混合机制,在预大语言模型层动态融合视觉显著性与文本-图像相似性,精准选择相关信息令牌。大量实验证明,该方法在训练免费条件下实现当前最优的VLM加速性能,尤其在高缩减率时表现突出。

原文摘要 · Abstract (English)

The success of VLMs often relies on the dynamic high-resolution schema that adaptively augments the input images to multiple crops, so that the details of the images can be retained. However, such approaches result in a large number of redundant visual tokens, thus significantly reducing the efficiency of the VLMs. To improve the VLMs' efficiency without introducing extra training costs, many research works are proposed to reduce the visual tokens by filtering the uninformative visual tokens or aggregating their information. Some approaches propose to reduce the visual tokens according to the self-attention of VLMs, which are biased, to result in inaccurate responses. The token reduction approaches solely rely on visual cues are text-agnostic, and fail to focus on the areas that are most relevant to the question, especially when the queried objects are non-salient to the image. In this work, we first conduct experiments to show that the original text embeddings are aligned with the visual tokens, without bias on the tailed visual tokens. We then propose a self-adaptive cross-modality attention mixture mechanism that dynamically leverages the effectiveness of visual saliency and text-to-image similarity in the pre-LLM layers to select the visual tokens that are informative. Extensive experiments demonstrate that the proposed approach achieves state-of-the-art training-free VLM acceleration performance, especially when the reduction rate is sufficiently large.

视觉语言模型令牌压缩跨模态对齐推理加速

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。