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

幻觉增强对比学习用于多模态大语言模型

Hallucination Augmented Contrastive Learning for Multimodal Large Language Model

National Engineering Research Center for Software Engineering, Peking University(北京大学国家软件工程研究中心);Alibaba Group(阿里巴巴集团)

Chaoya Jiang, Haiyang Xu, Mengfan Dong, Jiaxing Chen, Wei Ye, Ming Yan, Qinghao Ye, Ji Zhang, Fei Huang, Shikun Zhang

AI总结:

本文提出幻觉增强对比学习方法,将含幻觉文本作为困难负样本引入多模态大语言模型训练,以改善跨模态表示对齐并抑制幻觉,在多个基准上取得显著提升。

摘要:

多模态大语言模型(MLLMs)已被证明能够高效地整合自然语言与视觉信息以处理多模态任务。然而,MLLMs 仍面临幻觉这一根本性局限,即它们倾向于生成错误或虚构的信息。本文从表示学习的新视角来解决 MLLMs 中的幻觉问题。我们首先分析了 MLLM 中文本和视觉标记的表示分布,揭示出两个重要发现:1)文本表示与视觉表示之间存在显著差距,表明跨模态表示对齐效果不理想;2)包含幻觉和不包含幻觉的文本表示相互纠缠,使得区分它们变得困难。这两个观察结果启发我们提出一种简单而有效的方法来缓解幻觉。具体而言,我们将对比学习引入 MLLMs,并使用带有幻觉的文本作为困难负样本,自然地拉近非幻觉文本与视觉样本的表示,同时推开非幻觉文本与幻觉文本的表示。我们对所提方法进行了定量和定性评估,结果表明其在减少幻觉发生和提升多个基准上的性能方面具有有效性。在 MMhal-Bench 基准上,我们的方法相较于基线 MiniGPT-4/LLaVA 分别获得了 34.66%/29.5% 的提升。我们的代码可在 https://github.com/X-PLUG/mPLUG-HalOwl/tree/main/hacl 获取。

英文摘要:

Multi-modal large language models (MLLMs) have been shown to efficiently integrate natural language with visual information to handle multi-modal tasks. However, MLLMs still face a fundamental limitation of hallucinations, where they tend to generate erroneous or fabricated information. In this paper, we address hallucinations in MLLMs from a novel perspective of representation learning. We first analyzed the representation distribution of textual and visual tokens in MLLM, revealing two important findings: 1) there is a significant gap between textual and visual representations, indicating unsatisfactory cross-modal representation alignment; 2) representations of texts that contain and do not contain hallucinations are entangled, making it challenging to distinguish them. These two observations inspire us with a simple yet effective method to mitigate hallucinations. Specifically, we introduce contrastive learning into MLLMs and use text with hallucination as hard negative examples, naturally bringing representations of non-hallucinative text and visual samples closer while pushing way representations of non-hallucinating and hallucinative text. We evaluate our method quantitatively and qualitatively, showing its effectiveness in reducing hallucination occurrences and improving performance across multiple benchmarks. On the MMhal-Bench benchmark, our method obtains a 34.66% /29.5% improvement over the baseline MiniGPT-4/LLaVA. Our code is available on https://github.com/X-PLUG/mPLUG-HalOwl/tree/main/hacl.

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

↑