arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11779cs.CLcs.AIcs.CVcs.LGcs.MM

多模态大语言模型能看见吗?用于幻觉缓解的动态校正解码

MLLM can see? Dynamic Correction Decoding for Hallucination Mitigation

Zhejiang University(浙江大学);Nanjing University of Aeronautics and Astronautics(南京航空航天大学);National University of Singapore(新加坡国立大学)

Chenxi Wang, Xiang Chen, Ningyu Zhang, Bozhong Tian, Haoming Xu, Shumin Deng, Huajun Chen

AI总结:

本文提出动态校正解码方法DeCo,通过自适应整合前层视觉知识调整输出逻辑,有效降低多模态大语言模型的幻觉率,且模型无关、可灵活应用。

摘要:

多模态大语言模型(MLLMs)频繁表现出幻觉现象,但其根本原因仍知之甚少。在本文中,我们进行了实证分析,发现尽管MLLMs在最终输出中错误地生成了物体,但它们实际上能够在之前的层中识别视觉物体。我们推测这可能是由于语言模型的强知识先验抑制了视觉信息,从而导致幻觉。受此启发,我们提出了一种新颖的MLLMs动态校正解码方法DeCo,该方法自适应地选择合适的前层,并按比例将知识整合到最终层以调整输出逻辑。请注意,DeCo是模型无关的,可以无缝地与各种经典解码策略结合,并应用于不同的MLLMs。我们在广泛使用的基准上评估了DeCo,结果表明与基线相比,它可以大幅降低幻觉率,突显了其缓解幻觉的潜力。代码可在https://github.com/zjunlp/DeCo获取。

英文摘要:

Multimodal Large Language Models (MLLMs) frequently exhibit hallucination phenomena, but the underlying reasons remain poorly understood. In this paper, we present an empirical analysis and find that, although MLLMs incorrectly generate the objects in the final output, they are actually able to recognize visual objects in the preceding layers. We speculate that this may be due to the strong knowledge priors of the language model suppressing the visual information, leading to hallucinations. Motivated by this, we propose a novel dynamic correction decoding method for MLLMs DeCo, which adaptively selects the appropriate preceding layers and proportionally integrates knowledge into the final layer to adjust the output logits. Note that DeCo is model agnostic and can be seamlessly incorporated with various classic decoding strategies and applied to different MLLMs. We evaluate DeCo on widely-used benchmarks, demonstrating that it can reduce hallucination rates by a large margin compared to baselines, highlighting its potential to mitigate hallucinations. Code is available at https://github.com/zjunlp/DeCo.

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

↑