面向 LVLM 幻觉缓解的跨模态注意力校准
Cross-Modal Attention Calibration for LVLM Hallucination Mitigation
提供了一种免训练的推理期干预手段:通过掩蔽跨模态注意力权重较大的 value 向量构造失真对比分支,并对图像 token 做位置校准,可直接插入现有 LVLM 的解码流程以抑制幻觉,无需重训练。
原文依据 we propose a Cross-Modal Attention Calibration (CMAC) method to mitigate hallucinations in LVLMs in a training-free manner
摘要译文
由模型翻译 · 术语统一 · 请对照原文核对关键结论大型视觉语言模型(LVLM)在视觉-语言理解方面已展现出显著能力。尽管取得了成功,LVLM 在复杂生成任务中仍会产生幻觉,导致视觉输入与生成内容之间出现不一致。为解决该问题,一些方法引入了推理期干预,例如对比解码,以降低对语言先验的过度依赖。然而,这些方法忽略了源于位置偏置与虚假跨模态关联的幻觉。本文提出跨模态注意力校准(CMAC)方法,以免训练方式缓解 LVLM 中的幻觉。在该方法中,我们设计了跨模态解码(IMD)模块,通过一种新颖的对比解码机制来缓解幻觉。IMD 将与显著跨模态注意力权重相关联的 value 向量掩蔽为失真,从而同时应对单模态过度依赖与误导性的跨模态关联。此外,跨模态位置校准(CMPC)模块缩小图像 token 之间的位置差距,缓解跨模态注意力中的位置偏置。在多个幻觉基准上的实验结果验证了本方法在减少 LVLM 幻觉方面优于现有最优技术。我们的代码将公开。
英文原文摘要 1388 字符
Large vision-language models (LVLMs) have shown remarkable capabilities in visual-language understanding. Despite their success, LVLMs still suffer from generating hallucinations in complex generation tasks, leading to inconsistencies between visual inputs and generated content. To address this issue, some approaches have introduced inference-time interventions, such as contrastive decoding, to reduce overreliance on language priors. However, these approaches overlook hallucinations stemming from position bias and spurious inter-modality correlations. In this paper, we propose a Cross-Modal Attention Calibration (CMAC) method to mitigate hallucinations in LVLMs in a training-free manner. In this method, we design an Inter-Modality Decoding (IMD) module to alleviate hallucination by a novel contrastive decoding mechanism. IMD masks the value vectors associated with significant cross-modal attention weights as distortion, which addresses both uni-modality overreliance and misleading inter-modality correlations. Additionally, a Cross-Modal Position Calibration (CMPC) module shrinks the position gap of image tokens, alleviating the position bias in cross-modal attention. Experimental results on diverse hallucination benchmarks validate the superiority of our method over existing state-of-the-art techniques in reducing hallucinations for LVLM. Our code will be available.