用二维曼哈顿距离缓解视觉语言模型的幻觉问题
MCA-LLaVA: Manhattan Causal Attention for Reducing Hallucination in Large Vision-Language Models
- 基于曼哈顿距离设计新型位置编码,改善图像区域感知偏差
- 在多个基准测试中显著降低幻觉率,提升多模态对齐效果
- 适合关注视觉-语言对齐与幻觉抑制的研究者和开发者
幻觉是大型视觉语言模型(LVLMs)面临的关键挑战,其多模态特征错位被认为是主要诱因。本文揭示了旋转位置编码(RoPE)在长期衰减下对多模态对齐的负面影响:指令令牌对图像令牌的空间感知不均,尤其偏重图像右下区域,因这些区域在序列中更接近指令。这种感知偏差导致图像-指令交互不足,形成图像对齐偏差。为此,我们提出MCA-LLaVA,基于曼哈顿距离构建二维、多方向的空间衰减机制,融合一维序列顺序与二维空间位置信息,实现更均衡的位置建模,从而缓解对齐偏差并减少幻觉。在多个幻觉检测与通用基准上的实验表明,该方法具有显著有效性与通用性。
原文摘要 · Abstract (English)
Hallucinations pose a significant challenge in Large Vision Language Models (LVLMs), with misalignment between multimodal features identified as a key contributing factor. This paper reveals the negative impact of the long-term decay in Rotary Position Encoding (RoPE), used for positional modeling in LVLMs, on multimodal alignment. Concretely, under long-term decay, instruction tokens exhibit uneven perception of image tokens located at different positions within the two-dimensional space: prioritizing image tokens from the bottom-right region since in the one-dimensional sequence, these tokens are positionally closer to the instruction tokens. This biased perception leads to insufficient image-instruction interaction and suboptimal multimodal alignment. We refer to this phenomenon as image alignment bias. To enhance instruction's perception of image tokens at different spatial locations, we propose MCA-LLaVA, based on Manhattan distance, which extends the long-term decay to a two-dimensional, multi-directional spatial decay. MCA-LLaVA integrates the one-dimensional sequence order and two-dimensional spatial position of image tokens for positional modeling, mitigating hallucinations by alleviating image alignment bias. Experimental results of MCA-LLaVA across various hallucination and general benchmarks demonstrate its effectiveness and generality. The code can be accessed in https://github.com/ErikZ719/MCA-LLaVA.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。