Papers › Neighboring Perturbations of Knowledge Editing on Large Language Models

Neighboring Perturbations of Knowledge Editing on Large Language Models

31 Jan 2024arXiv:2401.17623archive 2025-07-28

Jun-Yu Ma, Zhen-Hua Ling, Ningyu Zhang, Jia-Chen Gu

Despite their exceptional capabilities, large language models (LLMs) are prone to generating unintended text due to false or outdated knowledge. Given the resource-intensive nature of retraining LLMs, there has been a notable increase in the development of knowledge editing. However, current approaches and evaluations rarely explore the perturbation of editing on neighboring knowledge. This paper studies whether updating new knowledge to LLMs perturbs the neighboring knowledge encapsulated within them. Specifically, we seek to figure out whether appending a new answer into an answer list to a factual question leads to catastrophic forgetting of original correct answers in this list, as well as unintentional inclusion of incorrect answers. A metric of additivity is introduced and a benchmark dubbed as Perturbation Evaluation of Appending Knowledge (PEAK) is constructed to evaluate the degree of perturbation to neighboring knowledge when appending new knowledge. Besides, a plug-and-play framework termed Appending via Preservation and Prevention (APP) is proposed to mitigate the neighboring perturbation by maintaining the integrity of the answer list. Experiments demonstrate the effectiveness of APP coupling with four editing methods on four LLMs. The code and data are available at https://github.com/mjy1111/PEAK.

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

Code

Syntology Ran 8 of 16 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 6 ran with no contract checked.

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

mjy1111/peak officialmentioned in papermentioned 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

16 samples harvested; 8 ran; 0 honoured the contract we drafted; 8 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
6ran
8unverified

Licence: 16 of the 16 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 mjy1111/PEAK. “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 mjy1111/PEAK/easyeditor/trainer/losses.py official repository ran · our draft was wrong no licence file found · pointer only · 27659a9c234ffb11 · report
get_states mjy1111/PEAK/experiments/sweep.py official repository ran no licence file found · pointer only · 95de8d172a81de57 · report
hierarchical_subsequence mjy1111/PEAK/easyeditor/util/nethook.py official repository ran no licence file found · pointer only · 920b394e7ad80c53 · report
rank_compute_affect mjy1111/PEAK/experiments/summarize.py official repository ran no licence file found · pointer only · fb9a42215a0bc4b6 · report
rank_compute_affect_post mjy1111/PEAK/experiments/summarize.py official repository ran no licence file found · pointer only · 1c0667f9de68c407 · report
recursive_copy mjy1111/PEAK/easyeditor/util/nethook.py official repository ran · our draft was wrong no licence file found · pointer only · 70f6ab8bde55420e · report
sigmoid_function mjy1111/PEAK/experiments/summarize.py official repository ran fingerprinted no licence file found · pointer only · 900072c14fd21de8 · report
subsequence mjy1111/PEAK/easyeditor/util/nethook.py official repository ran no licence file found · pointer only · 440ff98c2b1ae1aa · report
BiEditor mjy1111/peak/easyeditor/editors/add_editor.py official repository unverified no licence file found · pointer only · 1bd195094160c941 · report
get_model mjy1111/PEAK/easyeditor/trainer/models.py official repository unverified no licence file found · pointer only · 6780715b512fe3d5 · report
get_tokenizer mjy1111/PEAK/easyeditor/trainer/models.py official repository unverified no licence file found · pointer only · 2defe42cf1a7f301 · report
kl_loc_loss mjy1111/PEAK/easyeditor/trainer/losses.py official repository unverified no licence file found · pointer only · bcc592aa5c1e2bb3 · report
multiclass_log_probs mjy1111/PEAK/easyeditor/trainer/losses.py official repository unverified no licence file found · pointer only · f962fe356f9b4c37 · report
rank_compute_affect mjy1111/peak/experiments/summarize.py official repository unverified no licence file found · pointer only · f178cf7f2e0fcb20 · report
rank_compute_affect_post mjy1111/peak/experiments/summarize.py official repository unverified no licence file found · pointer only · feda57d8d52b2a50 · report
sigmoid_function mjy1111/peak/experiments/summarize.py official repository unverified no licence file found · pointer only · 53ccdc55be933162 · report

Tasks

knowledge editing

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