让图像能关注文本,解决多模态模型答非所问问题
Seeing is Understanding: Unlocking Causal Attention into Modality-Mutual Attention for Multimodal LLMs
- 将因果注意力改为模态互注意力,使图像可主动关注文本信息
- 在12个基准上平均提升6.2%,且不增加参数量
- 设计通用可扩展,适合各类多模态场景
近期多模态大语言模型在感知与推理多模态任务上取得显著进展,但视觉-语言错位问题日益突出:模型生成的文本回应常与图文输入不符。现有方法多依赖专用连接器或跨域视觉指令微调。本文从架构本质出发,重新审视多模态大模型设计。多数模型基于仅解码器的因果注意力机制,导致图像等早期模态无法获取文本等后期模态信息。为此,我们提出模态互注意力(MMA),将因果注意力改造为允许图像标记关注文本标记。该设计简单有效,在12个多模态理解基准上平均性能提升6.2%(基于3种LLM骨干网络),且无需额外参数。MMA具有通用性与可扩展性,适用于多种模态组合与复杂场景。
原文摘要 · Abstract (English)
Recent Multimodal Large Language Models (MLLMs) have demonstrated significant progress in perceiving and reasoning over multimodal inquiries, ushering in a new research era for foundation models. However, vision-language misalignment in MLLMs has emerged as a critical challenge, where the textual responses generated by these models are not factually aligned with the given text-image inputs. Existing efforts to address vision-language misalignment have focused on developing specialized vision-language connectors or leveraging visual instruction tuning from diverse domains. In this paper, we tackle this issue from a fundamental yet unexplored perspective by revisiting the core architecture of MLLMs. Most MLLMs are typically built on decoder-only LLMs consisting of a causal attention mechanism, which limits the ability of the earlier modalities (e.g., images) to incorporate information from the latter modalities (e.g., text). To address this problem a MLLM that unlocks causal attention into our proposed modality-mutual attention (MMA) to enable image tokens to attend to text tokens. This simple yet effective design allows MMA to achieve state-of-the-art performance in 12 multimodal understanding benchmarks (+6.2% on average across 3 LLMs backbones) without introducing additional parameters. Our MMA design is intended to be generic, allowing for applications across various modalities, and scalable to accommodate diverse multimodal scenarios.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。