提出无需训练的跨模态注意力校准方法,有效减少视觉语言模型幻觉。
Cross-Modal Attention Calibration for LVLM Hallucination Mitigation
- 设计交叉模态解码模块,通过对比解码抑制模态间错误关联。
- 在多个基准上显著降低幻觉率,优于现有最先进方法。
- 适合关注生成准确性与跨模态对齐的研究者和开发者。
大型视觉语言模型(LVLM)在视觉-语言理解任务中表现出色,但在复杂生成任务中仍会产生幻觉,导致生成内容与视觉输入不一致。现有方法虽引入推理时干预(如对比解码)以减轻语言先验过度依赖,却忽视了位置偏差和虚假跨模态相关性引发的幻觉。本文提出一种无需训练的跨模态注意力校准(CMAC)方法。其中,交叉模态解码(IMD)模块通过掩码具有显著跨模态注意力权重的值向量作为干扰,缓解单模态过度依赖和误导性跨模态关联;同时,跨模态位置校准(CMPC)模块缩小图像标记的位置差距,缓解跨模态注意力中的位置偏差。在多个幻觉评估基准上的实验结果表明,该方法在减少LVLM幻觉方面优于现有最先进技术。代码将公开于 https://github.com/lijm48/IMCCD。
原文摘要 · Abstract (English)
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 at https://github.com/lijm48/IMCCD.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。