HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models
Junyi Li Thanks: Equal contributions Affiliation: Gaoling School of Artificial Intelligence, Renmin University of China Affiliation: DIRO, Université de Montréal Affiliation: Beijing Key Laboratory of Big Data Management and Analysis Xiaoxue Cheng Affiliation: Gaoling School of Artificial Intelligence, Renmin University of China Wayne Xin Zhao Affiliation: Gaoling School of Artificial Intelligence, Renmin University of China Jian-Yun Nie and Ji-Rong Wen Affiliation: Gaoling School of Artificial Intelligence, Renmin University of China Affiliation: School of Information, Renmin University of China Affiliation: DIRO, Université de Montréal Affiliation: Beijing Key Laboratory of Big Data Management and Analysis
Abstract
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 automatically, we propose a two-stage framework, i.e., sampling-then-filtering. Besides, we hire some human labelers to annotate the hallucinations in ChatGPT responses. The empirical results suggest that ChatGPT is likely to generate hallucinated content related to 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.
原文 arXiv:2305.11747;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2305.11747v3