Papers › Can Knowledge Editing Really Correct Hallucinations?

Can Knowledge Editing Really Correct Hallucinations?

21 Oct 2024arXiv:2410.16251archive 2025-07-28

Baixiang Huang, Canyu Chen, Xiongxiao Xu, Ali Payani, Kai Shu

Large Language Models (LLMs) suffer from hallucinations, referring to the non-factual information in generated content, despite their superior capacities across tasks. Meanwhile, knowledge editing has been developed as a new popular paradigm to correct the erroneous factual knowledge encoded in LLMs with the advantage of avoiding retraining from scratch. However, one common issue of existing evaluation datasets for knowledge editing is that they do not ensure LLMs actually generate hallucinated answers to the evaluation questions before editing. When LLMs are evaluated on such datasets after being edited by different techniques, it is hard to directly adopt the performance to assess the effectiveness of different knowledge editing methods in correcting hallucinations. Thus, the fundamental question remains insufficiently validated: Can knowledge editing really correct hallucinations in LLMs? We proposed HalluEditBench to holistically benchmark knowledge editing methods in correcting real-world hallucinations. First, we rigorously construct a massive hallucination dataset with 9 domains, 26 topics and more than 6,000 hallucinations. Then, we assess the performance of knowledge editing methods in a holistic way on five dimensions including Efficacy, Generalization, Portability, Locality, and Robustness. Through HalluEditBench, we have provided new insights into the potentials and limitations of different knowledge editing methods in correcting hallucinations, which could inspire future improvements and facilitate the progress in the field of knowledge editing.

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="2410.16251")

Code

Syntology Ran 5 of 14 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

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

llm-editing/HalluEditBench officialmentioned on GitHubpytorch 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

14 samples harvested; 5 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.

2ran · our draft was wrong
1ran · fixture could not drive it
2ran
9unverified

Licence: 14 of the 14 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 llm-editing/HalluEditBench. “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.

binary_log_probs llm-editing/HalluEditBench/code/easyeditor/trainer/losses.py official repository ran · our draft was wrong no licence file found · pointer only · 27659a9c234ffb11 · report
hierarchical_subsequence llm-editing/HalluEditBench/code/easyeditor/util/nethook.py official repository ran no licence file found · pointer only · 920b394e7ad80c53 · report
masked_mean llm-editing/HalluEditBench/code/easyeditor/trainer/losses.py official repository ran · fixture could not drive it no licence file found · pointer only · e078eeed20f03838 · report
recursive_copy llm-editing/HalluEditBench/code/easyeditor/util/nethook.py official repository ran · our draft was wrong no licence file found · pointer only · 70f6ab8bde55420e · report
subsequence llm-editing/HalluEditBench/code/easyeditor/util/nethook.py official repository ran no licence file found · pointer only · 440ff98c2b1ae1aa · report
evaluate_response llm-editing/HalluEditBench/code/hallucination_editor.py official repository unverified no licence file found · pointer only · 2381bf9caafb3f74 · report
get_all_acc_keys llm-editing/HalluEditBench/code/hallucination_editor.py official repository unverified no licence file found · pointer only · 2f2104a13f4d0b64 · report
get_model llm-editing/HalluEditBench/code/easyeditor/trainer/models.py official repository unverified no licence file found · pointer only · d2e4c1979dd70b9a · report
get_response llm-editing/HalluEditBench/code/eval_hallu.py official repository unverified no licence file found · pointer only · e82d0dc93553559b · report
get_response llm-editing/HalluEditBench/code/hallucination_editor.py official repository unverified no licence file found · pointer only · c345aa339c992639 · report
get_response llm-editing/HalluEditBench/code/util.py official repository unverified no licence file found · pointer only · 07845ab4336c94fa · report
get_tokenizer llm-editing/HalluEditBench/code/easyeditor/trainer/models.py official repository unverified no licence file found · pointer only · 2defe42cf1a7f301 · report
kl_loc_loss llm-editing/HalluEditBench/code/easyeditor/trainer/losses.py official repository unverified no licence file found · pointer only · bcc592aa5c1e2bb3 · report
load_api_key llm-editing/HalluEditBench/code/util.py official repository unverified no licence file found · pointer only · 09477d8e8f62fe1c · report

Tasks

Hallucinationknowledge editing

Datasets

Introduced by this paper, per the archive.

HalluEditBench

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