ACD:将对比解码引入注意力层以缓解多模态幻觉
Beyond Logits: Coherent Hallucination Mitigation via Attention Contrastive Decoding
训练都不用,一个插件就能让视觉语言模型少幻觉、输出更连贯。和 VCD 这类只在 logit 层做对比的方法相比,它把干预提前到注意力阶段,连贯性问题明显改善。做图像理解应用、被模型胡说八道困扰的开发者可以直接上手试试。
arXiv 论文 2611.34207 提出 Attention Contrastive Decoding(ACD),一种免训练的插件方法,用于缓解大型视觉语言模型(LVLMs)的幻觉问题。作者指出,传统 Contrastive Decoding 在 logit 层面对比业余分支与专家分支,会从根本上损害生成的连贯性,迫使系统引入与幻觉抑制无关的惩罚约束。
ACD 的做法是把部分对比操作前移到注意力机制:在前向传播的更早阶段,通过 Adaptive Subtraction Strategy(ASS)削弱与幻觉相关的注意力模式,同时放大关键视觉信息,实现保持语义的平滑干预。实验显示,ACD 与现有 CD 方法组合(如 VCD+ACD)能显著提升输出连贯性并进一步降低幻觉率,同时免除了限制性惩罚。
对依赖 LVLMs 做图像理解、多模态生成的开发者而言,这类即插即用的解码层改进无需重新训练模型即可部署,是 Logit 层方法之外的新技术路线。
Beyond Logits: Coherent Hallucination Mitigation via Attention Contrastive Decoding
Large Vision-Language Models (LVLMs) demonstrate impressive multimodal capabilities, yet suffer from hallucination - generating factually inaccurate content. Contrastive Decoding (CD) mitigates this by contrasting amateur and expert branches at the logit level. However, our investigation reveals that such logit-level interventions fundamentally compromise generation coherence, necessitating restrictive penalty constraints unrelated to hallucination suppression. We introduce Attention Contrastive Decoding (ACD), a training-free plug-in that complements logit-level CD by relocating part of the contrastive operations to the attention mechanism. Operating at an earlier stage of the forward pass, ACD performs smooth semantic-preserving interventions through an Adaptive Subtraction Strategy (ASS), which attenuates hallucination-associated attention patterns while amplifying critical visual information. Extensive experiments demonstrate that combining ACD with existing CD methods (e.g., VCD+ACD) produces substantially more coherent outputs with further reduced hallucinations, eliminating restrictive penalties while enabling trustworthy multimodal generation.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LVLMs, Contrastive Decoding, multimodal, AI safety.
Source attribution: curated from arXiv cs.AI (@Yujia Chen, Rui Sun, Huayu Mai, Wangkai Li, Zhangyu He, Bingzhou Wang, Aibing Li, Wenzhang Sun, Tianzhu Zhang).