arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.10400cs.CLcs.AI
收藏

对比学习减少对话中的幻觉

Contrastive Learning Reduces Hallucination in Conversations

Shandong University(山东大学);University of Amsterdam(阿姆斯特丹大学)

Weiwei Sun, Zhengliang Shi, Shen Gao, Pengjie Ren, Maarten de Rijke, Zhaochun Ren

摘要:

预先训练的语言模型(LM)将知识存储在其参数中,并且当用于会话系统中时可以生成信息性响应。然而,LMs遭受“幻觉“的问题:它们可能会产生看似不相关或事实上不正确的陈述。为了解决这个问题,我们提出了一个对比学习计划,命名为MixCL。提出了一种新的混合对比目标,以显式优化LM的隐式知识获取过程,从而减少他们在对话中的幻觉。我们还研究了检索到的硬底片和模型生成的底片的负采样策略。我们在维基百科的向导上进行实验,这是一个公共的,开放领域的知识基础对话基准,并评估MixCL的有效性。MixCL有效地减少了会话中LM的幻觉,并在相关性和真实性方面达到了基于LM的对话代理的最高性能。我们表明,MixCL实现了与最先进的基于KB的方法相当的性能,同时在效率和可扩展性方面具有显着的优势。

英文摘要:

Pre-trained language models (LMs) store knowledge in their parameters and can generate informative responses when used in conversational systems. However, LMs suffer from the problem of "hallucination:" they may generate plausible-looking statements that are irrelevant or factually incorrect. To address this problem, we propose a contrastive learning scheme, named MixCL. A novel mixed contrastive objective is proposed to explicitly optimize the implicit knowledge elicitation process of LMs, and thus reduce their hallucination in conversations. We also examine negative sampling strategies of retrieved hard negatives and model-generated negatives. We conduct experiments on Wizard-of-Wikipedia, a public, open-domain knowledge-grounded dialogue benchmark, and assess the effectiveness of MixCL. MixCL effectively reduces the hallucination of LMs in conversations and achieves the highest performance among LM-based dialogue agents in terms of relevancy and factuality. We show that MixCL achieves comparable performance to state-of-the-art KB-based approaches while enjoying notable advantages in terms of efficiency and scalability.

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

↑