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

在萌芽阶段通过知识验证遏制幻觉

Knowledge Verification to Nip Hallucination in the Bud

School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);Tencent AI Lab(腾讯AI实验室)

Fanqi Wan, Xinting Huang, Leyang Cui, Xiaojun Quan, Wei Bi, Shuming Shi

AI总结:

本文提出知识一致性对齐(KCA)方法,通过验证并减少对齐数据中外部知识与基础LLMs内在知识的不一致性,有效缓解模型幻觉问题,并在六个基准上验证了其卓越效果。

摘要:

尽管大型语言模型(LLMs)在人类对齐后于各种任务中展现出卓越性能,它们仍可能生成听起来合理但与事实知识相矛盾的回复,这种现象被称为幻觉。在本文中,我们证明了通过验证并最小化对齐数据中的外部知识与基础LLMs内在嵌入知识之间的不一致性来缓解幻觉的可行性。具体而言,我们提出了一种名为知识一致性对齐(KCA)的新方法,该方法利用一个对齐良好的LLM基于外部知识自动生成评估,以评估基础LLMs的知识边界。为解决对齐数据中的知识不一致问题,KCA实施了几种特定策略来处理这些数据实例。我们利用不同骨干和规模的基础LLMs,在六个基准上展示了KCA在减少幻觉方面的卓越有效性。这证实了通过减少知识不一致性来缓解幻觉的有效性。我们的代码、模型权重和数据已在 https://github.com/fanqiwan/KCA 公开。

英文摘要:

While large language models (LLMs) have demonstrated exceptional performance across various tasks following human alignment, they may still generate responses that sound plausible but contradict factual knowledge, a phenomenon known as hallucination. In this paper, we demonstrate the feasibility of mitigating hallucinations by verifying and minimizing the inconsistency between external knowledge present in the alignment data and the intrinsic knowledge embedded within foundation LLMs. Specifically, we propose a novel approach called Knowledge Consistent Alignment (KCA), which employs a well-aligned LLM to automatically formulate assessments based on external knowledge to evaluate the knowledge boundaries of foundation LLMs. To address knowledge inconsistencies in the alignment data, KCA implements several specific strategies to deal with these data instances. We demonstrate the superior efficacy of KCA in reducing hallucinations across six benchmarks, utilizing foundation LLMs of varying backbones and scales. This confirms the effectiveness of mitigating hallucinations by reducing knowledge inconsistency. Our code, model weights, and data are openly accessible at \url{https://github.com/fanqiwan/KCA}.

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

↑