arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.11747cs.CL
收藏

HaluEval:面向大型语言模型的大规模幻觉评估基准

HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models

Renmin University of China(中国人民大学);Université de Montréal(蒙特利尔大学)

Junyi Li, Xiaoxue Cheng, Wayne Xin Zhao, Jian-Yun Nie, Ji-Rong Wen

AI总结:

本文提出大规模幻觉评估基准HaluEval,通过基于ChatGPT的两步框架和人工标注生成幻觉样本,发现ChatGPT在特定主题上约19.5%的回复含幻觉,且现有LLMs识别幻觉困难,但提供外部知识或推理步骤可改善识别能力。

摘要:

大型语言模型(LLMs),如 ChatGPT,容易产生幻觉,即与来源冲突或无法被事实知识验证的内容。为了了解LLMs倾向于产生何种类型的幻觉以及产生幻觉的程度,我们提出了大型语言模型幻觉评估基准(HaluEval),这是一个包含生成和人工标注的幻觉样本的大型集合,用于评估LLMs识别幻觉的性能。为了生成这些样本,我们提出了一个基于 ChatGPT 的两步框架,即采样后过滤。此外,我们还雇佣了一些人工标注员来标注 ChatGPT 回复中的幻觉。实验结果表明,ChatGPT 很可能通过捏造无法验证的信息在特定主题上产生幻觉内容(即约 $19.5\%$ 的回复)。此外,现有的 LLMs 在识别文本中的幻觉方面面临巨大挑战。然而,我们的实验也证明,提供外部知识或添加推理步骤可以帮助 LLMs 识别幻觉。我们的基准可在 https://github.com/RUCAIBox/HaluEval 获取。

英文摘要:

Large language models (LLMs), such as ChatGPT, are prone to generate hallucinations, i.e., content that conflicts with the source or cannot be verified by the factual knowledge. To understand what types of content and to which extent LLMs are apt to hallucinate, we introduce the Hallucination Evaluation benchmark for Large Language Models (HaluEval), a large collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognizing hallucination. To generate these samples, we propose a ChatGPT-based two-step framework, i.e., sampling-then-filtering. Besides, we also hire some human labelers to annotate the hallucinations in ChatGPT responses. The empirical results suggest that ChatGPT is likely to generate hallucinated content in specific topics by fabricating unverifiable information (i.e., about $19.5\%$ responses). Moreover, existing LLMs face great challenges in recognizing the hallucinations in texts. However, our experiments also prove that providing external knowledge or adding reasoning steps can help LLMs recognize hallucinations. Our benchmark can be accessed at https://github.com/RUCAIBox/HaluEval.

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

↑