arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03577cs.CV
收藏

回答前请再看一次:面向多模态大语言模型幻觉缓解的记忆空间视觉回溯

Look Twice Before You Answer: Memory-Space Visual Retracing for Hallucination Mitigation in Multimodal Large Language Models

Ant Group(蚂蚁集团);University of Technology Sydney(悉尼科技大学);Huazhong University of Science and Technology(华中科技大学)

Xin Zou, Yizhou Wang, Yibo Yan, Yuanhuiyi Lyu, Kening Zheng, Sirui Huang, Junkai Chen, Peijie Jiang, Jia Liu, Chang Tang, Xuming Hu

AI总结:

本文提出MemVR解码范式,通过在模型推理不确定性高时将视觉token作为键值记忆经FFN重新注入MLLM,模拟人类“再看一次”的认知过程,从而在多种多模态大语言模型上显著缓解幻觉且不增加时间开销。

摘要:

尽管多模态大语言模型(MLLMs)具备令人印象深刻的能力,但它们容易产生幻觉,即生成的内容无意义或与输入来源不一致。与LLMs中的幻觉不同,MLLMs中的幻觉通常源于文本解码器对视觉token的敏感性,导致一种类似于对视觉信息“失忆”的现象。为了解决这一问题,我们提出了MemVR,这是一种受常见认知过程启发的新型解码范式:当人们对刚刚看到的图像的印象被遗忘时,他们会再看一眼以获取事实性答案。遵循这一原则,我们将视觉token视为补充证据,在中间触发层通过前馈网络(FFN)将其作为“键值记忆”重新注入MLLM。这种“再看一次”机制在模型推理过程中表现出高度不确定性时触发,有效增强了事实对齐。全面的实验评估表明,MemVR在各种MLLMs上显著缓解了幻觉,并在通用基准测试中表现优异,且不引入额外的时间开销。实现代码可在 https://github.com/1zhou-Wang/MemVR 获取。

英文摘要:

Despite their impressive capabilities, multimodal large language models (MLLMs) are prone to hallucinations, i.e., the generated content that is nonsensical or unfaithful to input sources. Unlike in LLMs, hallucinations in MLLMs often stem from the sensitivity of text decoder to visual tokens, leading to a phenomenon akin to "amnesia" about visual information. To address this issue, we propose MemVR, a novel decoding paradigm inspired by common cognition: when the memory of an image seen the moment before is forgotten, people will look at it again for factual answers. Following this principle, we treat visual tokens as supplementary evidence, re-injecting them into the MLLM through Feed Forward Network (FFN) as "key-value memory" at the middle trigger layer. This "look-twice" mechanism occurs when the model exhibits high uncertainty during inference, effectively enhancing factual alignment. Comprehensive experimental evaluations demonstrate that MemVR significantly mitigates hallucination across various MLLMs and excels in general benchmarks without incurring additional time overhead. The implementation is available from https://github.com/1zhou-Wang/MemVR

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

↑