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

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

19 May 2023arXiv:2305.11747archive 2025-07-28

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

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.11747")

Code

Syntology Ran 3 of 12 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 3 ran · our draft was wrong.

By repository: official repository: 12 samples from 2 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

RUCAIBox/HaluEval officialmentioned in papermentioned on GitHub report
rucaibox/helma officialmentioned in papermentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 3 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
9unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_dialog RUCAIBox/HaluEval/analysis/analyze.py official repository ran · our draft was wrong MIT (permissive) · 295b8779d73be38d · report
load_qa RUCAIBox/HaluEval/analysis/analyze.py official repository ran · our draft was wrong MIT (permissive) · 73f3dd95883037cc · report
load_summary RUCAIBox/HaluEval/analysis/analyze.py official repository ran · our draft was wrong MIT (permissive) · 3bd42cb5b14b2cad · report
get_dialogue_res rucaibox/helma/generation/filtering.py official repository unverified MIT (permissive) · f698390b537e4d97 · report
get_dialogue_res rucaibox/helma/generation/generate.py official repository unverified MIT (permissive) · 211e2e141467c8dd · report
get_dialogue_response rucaibox/helma/evaluation/evaluate.py official repository unverified MIT (permissive) · bf66b0debbe71c7e · report
get_qa_res rucaibox/helma/generation/filtering.py official repository unverified MIT (permissive) · 57cf187fae039bc2 · report
get_qa_res rucaibox/helma/generation/generate.py official repository unverified MIT (permissive) · 409dd3a84718a20b · report
get_qa_response rucaibox/helma/evaluation/evaluate.py official repository unverified MIT (permissive) · 71b0706abb4deccb · report
get_summarization_res rucaibox/helma/generation/filtering.py official repository unverified MIT (permissive) · be0c5c938e7e424c · report
get_summarization_res rucaibox/helma/generation/generate.py official repository unverified MIT (permissive) · f92a9ea55882aef2 · report
num_tokens_from_message rucaibox/helma/evaluation/evaluate.py official repository unverified MIT (permissive) · b3a67ee5030c2ffe · report

Tasks

HallucinationHallucination Evaluation

Datasets

Introduced by this paper, per the archive.

HaluEval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections