arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.20965cs.CVcs.AI
收藏

在不遗忘的情况下寻找正确的视觉证据:通过层间视觉注意力差异减轻LVLMs中的幻觉

Finding the Correct Visual Evidence Without Forgetting: Mitigating Hallucination in LVLMs via Inter-Layer Visual Attention Discrepancy

School of Computer Science and Engineering, Southeast University, Nanjing, China(东南大学计算机科学与工程学院);School of Artificial Intelligence, Shenzhen University, Shenzhen, China(深圳大学人工智能学院);College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China(深圳大学计算机科学与软件工程学院);Engineering, South China University of Technology, Guangzhou, China(华南理工大学工程学院);National Engineering Laboratory for Big Data Systems Computing Technology, Shenzhen University, Shenzhen, China(深圳大学大数据系统计算技术国家工程实验室);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(新一代人工智能技术及其交叉应用重点实验室(东南大学),中华人民共和国教育部)

Yutong Xie, Zhenglin Hua, Ran Wang, Wing W. Y. Ng, Xizhao Wang, Yuheng Jia

AI总结:

本文提出了一种基于层间视觉注意力差异的幻觉缓解方法,通过增强视觉证据的注意力来减少视觉遗忘,从而在不遗忘的情况下找到正确的视觉证据。

摘要:

大型视觉-语言模型(LVLMs)在广泛的视觉-语言任务上表现出色。尽管有进展,它们仍然容易产生幻觉,生成与视觉内容不一致的响应。在本工作中,我们发现LVLMs在对正确的视觉证据关注不足时容易产生幻觉,并在生成过程中逐渐遗忘它。我们实证发现,尽管LVLMs整体对视觉证据关注不足,但在特定层中表现出对正确视觉证据的敏感性,存在显著的层间差异。受此观察启发,我们提出了一种新的幻觉缓解方法,通过层间视觉注意力差异(ILVAD)增强视觉证据。具体来说,我们从早期生成的token到视觉token在各层中获取注意力权重,并识别被反复激活作为视觉证据的token,形成显著性图。然后通过显著性图在生成过程中增强对视觉证据的注意力,以减少视觉遗忘。此外,我们利用显著性图获得生成文本对视觉证据的注意力分数,以选择并强调强烈基于视觉证据的文本token。我们的方法是无训练的,即插即用。在五个最近发布的模型上进行的多个基准评估表明,我们的方法可以在不同架构的LVLMs上一致地缓解幻觉。代码可在https://github.com/ytx-ML/ILVAD上获得。

英文摘要:

Large Vision-Language Models (LVLMs) have shown remarkable performance on a wide range of vision-language tasks. Despite this progress, they are still prone to hallucination, generating responses that are inconsistent with visual content. In this work, we find that LVLMs tend to hallucinate when they pay insufficient attention to the correct visual evidence and gradually forget it during the generation process. We empirically find that although LVLMs overall attend insufficiently to visual evidence, they exhibit sensitivity to the correct visual evidence in specific layers, with notable inter-layer discrepancy. Motivated by this observation, we propose a novel hallucination mitigation method that enhances visual evidence based on Inter-Layer Visual Attention Discrepancy (ILVAD). Specifically, we obtain the attention weights from early generated tokens to visual tokens across layers and identify the tokens that are repeatedly activated as visual evidence, forming a saliency map. We then enhance attention to visual evidence during generation through the saliency map to reduce visual forgetting. In addition, we leverage the saliency map to obtain attention scores of generated text to visual evidence, in order to select and emphasize text tokens that are strongly grounded in visual evidence. Our method is training-free and plug-and-play. Multiple benchmark evaluations conducted on five recently released models show that our method can consistently mitigate hallucinations in different LVLMs over various architectures. Code is available at https://github.com/ytx-ML/ILVAD.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑