用双注意力与软图像提示,让大模型少依赖文字、多看图。
Looking Beyond Text: Reducing Language bias in Large Vision-Language Models via Multimodal Dual-Attention and Soft-Image Guidance
- 设计双注意力机制融合视觉信息,提升图文理解
- 引入可学习软图像提示,减少对文本邻近内容的依赖
- 无需额外数据或训练,适合想改进视觉理解的开发者
大型视觉语言模型在多类任务中表现优异,但存在因语言偏见导致的幻觉问题,使模型忽视图像细节、理解不准确。我们发现两大原因:1. 预训练阶段语言模型与多模态对齐阶段的数据量级差异;2. 文本数据短期依赖带来的推理偏见。为此提出 LACING 框架,包含多模态双注意力机制(MDA)和软图像引导(IFG)。MDA 通过并行双注意力增强视觉输入融合;IFG 在训练与推理中引入可学习的软视觉提示,替代原始图像输入,强制模型关注文本;同时提出新解码策略,缓解模型对相邻文本的过度依赖。大量实验表明,该方法有效降低语言偏见,提升视觉理解能力,减少幻觉,且无需额外训练资源或数据。代码与模型已公开于 lacing-lvlm.github.io。
原文摘要 · Abstract (English)
Large vision-language models (LVLMs) have achieved impressive results in various vision-language tasks. However, despite showing promising performance, LVLMs suffer from hallucinations caused by language bias, leading to diminished focus on images and ineffective visual comprehension. We identify two primary reasons for this bias: 1. Different scales of training data between the pretraining stage of LLM and multimodal alignment stage. 2. The learned inference bias due to short-term dependency of text data. Therefore, we propose LACING, a systemic framework designed to address the language bias of LVLMs with muLtimodal duAl-attention meChanIsm (MDA) aNd soft-image Guidance (IFG). Specifically, MDA introduces a parallel dual-attention mechanism that enhances the integration of visual inputs across the model. IFG introduces a learnable soft visual prompt during training and inference to replace visual inputs, designed to compel LVLMs to prioritize text inputs. Then, IFG further proposes a novel decoding strategy using the soft visual prompt to mitigate the model's over-reliance on adjacent text inputs. Comprehensive experiments demonstrate that our method effectively debiases LVLMs from their language bias, enhancing visual comprehension and reducing hallucinations without requiring additional training resources or data. The code and model are available at [lacing-lvlm.github.io](https://lacing-lvlm.github.io).
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。