arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.03205cs.CL

黑暗后的黎明:关于大型语言模型事实性幻觉的实证研究

The Dawn After the Dark: An Empirical Study on Factuality Hallucination in Large Language Models

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);DIRO, Université de Montréal(蒙特利尔大学计算机科学与运筹学系);School of Information, Renmin University of China(中国人民大学信息资源管理学院)

Junyi Li, Jie Chen, Ruiyang Ren, Xiaoxue Cheng, Wayne Xin Zhao, Jian-Yun Nie, Ji-Rong Wen

AI总结:

本研究针对大型语言模型事实性幻觉问题,构建了新基准HaluEval 2.0,提出有效检测方法,分析幻觉成因并检验多种缓解技术,为理解和减轻LLM幻觉提供了重要发现。

摘要:

在大型语言模型(LLMs)时代,幻觉(即生成事实性错误内容的倾向)对在实际应用中可信且可靠地部署LLMs构成了巨大挑战。为了应对LLM幻觉,应深入研究三个关键问题:如何检测幻觉(检测)、LLMs为何会产生幻觉(来源)以及可以采取什么措施来缓解幻觉(缓解)。为了应对这些挑战,本研究针对LLM幻觉的检测、来源和缓解这三个方面进行了系统的实证研究。具体而言,我们构建了一个新的幻觉基准HaluEval 2.0,并设计了一种简单而有效的LLM幻觉检测方法。此外,我们深入探讨了LLMs的不同训练或使用阶段,并广泛分析了导致LLM幻觉的潜在因素。最后,我们实现并检验了一系列广泛使用的技术来缓解LLMs中的幻觉。我们的工作得出了几个重要发现,有助于理解LLMs中幻觉的起源并缓解幻觉。我们的代码和数据可在https://github.com/RUCAIBox/HaluEval-2.0获取。

英文摘要:

In the era of large language models (LLMs), hallucination (i.e., the tendency to generate factually incorrect content) poses great challenge to trustworthy and reliable deployment of LLMs in real-world applications. To tackle the LLM hallucination, three key questions should be well studied: how to detect hallucinations (detection), why do LLMs hallucinate (source), and what can be done to mitigate them (mitigation). To address these challenges, this work presents a systematic empirical study on LLM hallucination, focused on the the three aspects of hallucination detection, source and mitigation. Specially, we construct a new hallucination benchmark HaluEval 2.0, and designs a simple yet effective detection method for LLM hallucination. Furthermore, we zoom into the different training or utilization stages of LLMs and extensively analyze the potential factors that lead to the LLM hallucination. Finally, we implement and examine a series of widely used techniques to mitigate the hallucinations in LLMs. Our work has led to several important findings to understand the hallucination origin and mitigate the hallucinations in LLMs. Our code and data can be accessed at https://github.com/RUCAIBox/HaluEval-2.0.

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

↑