SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.17623 · ICML · 2024

Neighboring Perturbations of Knowledge Editing on Large Language Models

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

arXiv · PDF · Open in the Atlas

Code that ran

9 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 7 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2401.17623.json · badge: /api/ran/2401.17623.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mjy1111/PEAK canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
mjy1111/peak canonical (classifier label)
classifier basis: classifier_2025
0 ran · 4 no recorded run
FunctionStatusWhere it lives
binary_log_probs Ran
ran; our contract draft was wrong, not the code
mjy1111/PEAK/easyeditor/trainer/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from MemEIC/MemEIC, is pointer only (licence: NONE) · get_code("27659a9c234ffb11")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_states Ran
ran, honoured the contract we drafted
mjy1111/PEAK/experiments/sweep.py
pointer only (licence: NONE) · get_code("95de8d172a81de57")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hierarchical_subsequence Ran
ran on a synthesized input
mjy1111/PEAK/easyeditor/util/nethook.py
pointer only (licence: NONE) · get_code("920b394e7ad80c53")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

kl_loc_loss Ran
ran; our contract draft was wrong, not the code
mjy1111/PEAK/easyeditor/trainer/losses.py
pointer only (licence: NONE) · get_code("bcc592aa5c1e2bb3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

rank_compute_affect Ran
ran; our contract draft was wrong, not the code
mjy1111/PEAK/experiments/summarize.py
pointer only (licence: NONE) · get_code("fb9a42215a0bc4b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

rank_compute_affect_post Ran
ran; our contract draft was wrong, not the code
mjy1111/PEAK/experiments/summarize.py
pointer only (licence: NONE) · get_code("1c0667f9de68c407")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

recursive_copy Ran
ran; our contract draft was wrong, not the code
mjy1111/PEAK/easyeditor/util/nethook.py
pointer only (licence: NONE); the stored copy get_code serves, from TrustedLLM/UnKE, is pointer only (licence: NONE) · get_code("70f6ab8bde55420e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sigmoid_function Ran
ran, honoured the contract we drafted
mjy1111/PEAK/experiments/summarize.py
pointer only (licence: NONE) · get_code("900072c14fd21de8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

subsequence Ran
ran; our contract draft was wrong, not the code
mjy1111/PEAK/easyeditor/util/nethook.py
pointer only (licence: NONE) · get_code("440ff98c2b1ae1aa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BiEditor Not yet run
unverified (harvested, no recorded run)
mjy1111/peak/easyeditor/editors/add_editor.py
pointer only (licence: NONE) · get_code("1bd195094160c941")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/peak when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_model Not yet run
unverified (harvested, no recorded run)
mjy1111/PEAK/easyeditor/trainer/models.py
pointer only (licence: NONE); the stored copy get_code serves, from mjy1111/PRUNE, is pointer only (licence: NONE) · get_code("6780715b512fe3d5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_tokenizer Not yet run
unverified (harvested, no recorded run)
mjy1111/PEAK/easyeditor/trainer/models.py
pointer only (licence: NONE) · get_code("2defe42cf1a7f301")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

multiclass_log_probs Not yet run
unverified (harvested, no recorded run)
mjy1111/PEAK/easyeditor/trainer/losses.py
pointer only (licence: NONE) · get_code("f962fe356f9b4c37")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PEAK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

rank_compute_affect Not yet run
unverified (harvested, no recorded run)
mjy1111/peak/experiments/summarize.py
pointer only (licence: NONE) · get_code("f178cf7f2e0fcb20")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/peak when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

rank_compute_affect_post Not yet run
unverified (harvested, no recorded run)
mjy1111/peak/experiments/summarize.py
pointer only (licence: NONE) · get_code("feda57d8d52b2a50")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/peak when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

sigmoid_function Not yet run
unverified (harvested, no recorded run)
mjy1111/peak/experiments/summarize.py
pointer only (licence: NONE) · get_code("53ccdc55be933162")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/peak when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 6 the same month, 7 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
subsequence 49 other papers
7 dated earlier, 3 the same month, 38 later, 1 same year, order not determinable
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
2110.04292 (2021-10)
Toward a Visual Concept Vocabulary for GAN Latent Space
and 46 more not named here
recursive_copy 48 other papers
5 dated earlier, 3 the same month, 39 later, 1 same year, order not determinable
2207.02774 (2022-07)
Local Relighting of Real Scenes
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2302.12461 (2023-02)
Analyzing And Editing Inner Mechanisms Of Backdoored Language Models
and 45 more not named here
hierarchical_subsequence 46 other papers
4 dated earlier, 3 the same month, 38 later, 1 same year, order not determinable
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2302.12461 (2023-02)
Analyzing And Editing Inner Mechanisms Of Backdoored Language Models
2311.09053 (2023-11)
Assessing Knowledge Editing in Language Models via Relation Perspective
and 43 more not named here
binary_log_probs 28 other papers
3 dated earlier, 2 the same month, 22 later, 1 same year, order not determinable
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2311.09053 (2023-11)
Assessing Knowledge Editing in Language Models via Relation Perspective
and 25 more not named here
kl_loc_loss 16 other papers
1 dated earlier, 1 the same month, 14 later
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2401.04700 (2024-01)
Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
2402.11905 (2024-02)
Learning to Edit: Aligning LLMs with Knowledge Editing
and 13 more not named here
get_tokenizer 14 other papers
1 dated earlier, 1 the same month, 12 later
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2401.04700 (2024-01)
Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
2402.11905 (2024-02)
Learning to Edit: Aligning LLMs with Knowledge Editing
and 11 more not named here
get_model 1 other paper
1 later
2405.16821 (2024-05)
Perturbation-Restrained Sequential Model Editing

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.17623")
get_code_for_paper("2401.17623")
have("2401.17623")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2401.17623.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2401.17623.svg)](https://syntology.ai/paper/2401.17623)

Connect an agent — have() is free.