arXiv:2411.15453cs.CVcs.AI2024-11被引 4

通过压缩视觉冗余信息,提升多模态模型的指令遵循能力。

Enhancing Instruction-Following Capability of Visual-Language Models by Reducing Image Redundancy

  • 用视觉令牌压缩和跨模态注意力抑制减少无关视觉信息干扰。
  • 在5个基准测试中显著提升指令遵循能力,同时保持多模态理解力。
  • 适合关注多模态模型效率与准确率平衡的研究者。

大型语言模型(LLMs)具备强大的指令遵循能力,能准确执行人类指令。相比之下,多模态大型语言模型(MLLMs)的指令遵循能力较弱,存在显著差距。本研究通过初步实验发现,对视觉令牌进行空间降采样可显著提升MLLMs的指令遵循能力,这归因于视觉模态中的大量冗余信息。然而,此方法会严重损害模型的多模态理解能力。为此,本文提出视觉模态令牌压缩(VMTC)和跨模态注意力抑制(CMAI)策略,在生成内容时抑制无关视觉令牌的影响,从而在不牺牲多模态理解能力的前提下增强指令遵循能力。VMTC模块通过聚类合并保留主要令牌,减少冗余;CMAI则通过文本到文本注意力聚合获取文本到图像的关注度评分,并对低分文本-图像令牌对实施注意力抑制。在指令遵循能力和VQA-V2、GQA、TextVQA、MME、MMBench五个基准上的综合实验表明,所提方法显著提升了MLLMs的指令遵循能力,同时保持了其处理多模态输入的能力。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have strong instruction-following capability to interpret and execute tasks as directed by human commands. Multimodal Large Language Models (MLLMs) have inferior instruction-following ability compared to LLMs. However, there is a significant gap in the instruction-following capabilities between the MLLMs and LLMs. In this study, we conduct a pilot experiment, which demonstrates that spatially down-sampling visual tokens significantly enhances the instruction-following capability of MLLMs. This is attributed to the substantial redundancy in visual modality. However, this intuitive method severely impairs the MLLM's multimodal understanding capability. In this paper, we propose Visual-Modality Token Compression (VMTC) and Cross-Modality Attention Inhibition (CMAI) strategies to alleviate this gap between MLLMs and LLMs by inhibiting the influence of irrelevant visual tokens during content generation, increasing the instruction-following ability of the MLLMs while retaining their multimodal understanding capacity. In VMTC module, the primary tokens are retained and the redundant tokens are condensed by token clustering and merging. In CMAI process, we aggregate text-to-image attentions by text-to-text attentions to obtain a text-to-image focus score. Attention inhibition is performed on the text-image token pairs with low scores. Our comprehensive experiments over instruction-following capabilities and VQA-V2, GQA, TextVQA, MME and MMBench five benchmarks, demonstrate that proposed strategy significantly enhances the instruction following capability of MLLMs while preserving the ability to understand and process multimodal inputs.

多模态指令遵循视觉压缩注意力机制

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