SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.16821 · ICLR · 2025

Perturbation-Restrained Sequential Model Editing

Zhen-Hua Ling, Hong Wang, Jun-Yu Ma, Jia-Chen Gu, Hao-Xiang Xu

arXiv · PDF · Open in the Atlas

Code that ran

12 of 22 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; 0 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 9 failures of our instrument; 10 no recorded run), measured 2026-11-24; 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/2405.16821.json · badge: /api/ran/2405.16821.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/PRUNE canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
mjy1111/prune canonical (classifier label)
classifier basis: classifier_2025
3 ran · 6 no recorded run
yzqxy/Yolov8_obb_Prune_Track extension (classifier label)
classifier basis: classifier_2025
1 ran · 1 no recorded run
FunctionStatusWhere it lives
binary_log_probs Ran
ran; our contract draft was wrong, not the code
mjy1111/PRUNE/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/PRUNE 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.

ems Ran
ran, violated the contract we drafted
mjy1111/PRUNE/edit_load.py
pointer only (licence: NONE) · get_code("b8d4c7f1f1d41435")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PRUNE 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.

exact_match_score Ran
ran, violated the contract we drafted
mjy1111/PRUNE/edit_load.py
pointer only (licence: NONE) · get_code("4be72e172f90cb2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PRUNE 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.

func_linear Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("43f5e703d43cd3af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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.

func_log Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("4564d612fcb1466b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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.

func_logn Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("f1bdb8c20ac9eddc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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/PRUNE/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/PRUNE 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/PRUNE/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/PRUNE 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.

normalize_answer Ran
ran; our contract draft was wrong, not the code
mjy1111/PRUNE/edit_load.py
pointer only (licence: NONE) · get_code("4cca112e5e6da5dc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PRUNE 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.

parse_opt Ran
ran; our contract draft was wrong, not the code
yzqxy/Yolov8_obb_Prune_Track/track_predict.py
pointer only (licence: GPL-3.0) · get_code("93dd9ee7019cac04")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, yzqxy/Yolov8_obb_Prune_Track, is not in the permissive set Syntology serves inline. 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/PRUNE/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/PRUNE 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/PRUNE/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/PRUNE 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/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("b6c3e95c8701054a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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.

HyperParams Not yet run
unverified (harvested, no recorded run)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("388678e8f4119c5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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.

SingletonEditor Not yet run
unverified (harvested, no recorded run)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("e8d5e9ffa03678b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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.

dist2bbox Not yet run
unverified (harvested, no recorded run)
yzqxy/Yolov8_obb_Prune_Track/models/yolo_prune.py
pointer only (licence: GPL-3.0) · get_code("17f0b985218dd2de")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, yzqxy/Yolov8_obb_Prune_Track, is not in the permissive set Syntology serves inline. 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/PRUNE/easyeditor/trainer/models.py
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/PRUNE 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/PRUNE/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/PRUNE 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.

main Not yet run
unverified (harvested, no recorded run)
mjy1111/prune/experiments/summarize.py
pointer only (licence: NONE) · get_code("0d697759222eb008")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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.

make_logs Not yet run
unverified (harvested, no recorded run)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("d8238a5b68add3f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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/PRUNE/easyeditor/trainer/losses.py
pointer only (licence: NONE) · get_code("caf658f0bdfae9a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/PRUNE 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.

read_weights Not yet run
unverified (harvested, no recorded run)
mjy1111/prune/easyeditor/editors/bi_editor_loadw.py
pointer only (licence: NONE) · get_code("ec21131da929953e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mjy1111/prune 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 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 15 are also present in other papers whose code we hold (14 with at least one paper dated earlier, 3 the same month, 9 later) and 7 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
exact_match_score 56 other papers
47 dated earlier, 9 later
1508.06615 (2015-08)
Character-Aware Neural Language Models
1606.05250 (2016-06)
SQuAD: 100,000+ Questions for Machine Comprehension of Text
1608.07905 (2016-08)
Machine Comprehension Using Match-LSTM and Answer Pointer
and 53 more not named here
subsequence 49 other papers
19 dated earlier, 3 the same month, 26 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
17 dated earlier, 4 the same month, 26 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
16 dated earlier, 3 the same month, 26 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
11 dated earlier, 16 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
6 dated earlier, 10 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
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
and 13 more not named here
get_tokenizer 14 other papers
6 dated earlier, 8 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
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
and 11 more not named here
normalize_answer 9 other papers
7 dated earlier, 2 later
2305.12421 (2023-05)
Evaluating Open-QA Evaluation
2308.11730 (2023-08)
Knowledge Graph Prompting for Multi-Document Question Answering
2310.14393 (2023-10)
Merging Generated and Retrieved Knowledge for Open-Domain QA
and 6 more not named here
multiclass_log_probs 3 other papers
3 dated earlier
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
2404.15004 (2024-04)
TAXI: Evaluating Categorical Knowledge Editing for Language Models
HyperParams
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
SingletonEditor
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
dist2bbox 1 other paper
1 later
2410.21822 (2024-10)
PK-YOLO: Pretrained Knowledge Guided YOLO for Brain Tumor Detection in Multiplanar MRI Slices
ems 1 other paper
1 dated earlier
2305.12421 (2023-05)
Evaluating Open-QA Evaluation
get_model 1 other paper
1 dated earlier
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models
make_logs
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2401.17623 (2024-01)
Neighboring Perturbations of Knowledge Editing on Large Language Models

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-24.

Repositories linked to this paper

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

Abstract

Model editing is an emerging field that focuses on updating the knowledge embedded within large language models (LLMs) without extensive retraining. However, current model editing methods significantly compromise the general abilities of LLMs as the number of edits increases, and this trade-off poses a substantial challenge to the continual learning of LLMs. In this paper, we first theoretically analyze that the factor affecting the general abilities in sequential model editing lies in the condition number of the edited matrix. The condition number of a matrix represents its numerical sensitivity, and therefore can be used to indicate the extent to which the original knowledge associations stored in LLMs are perturbed after editing. Subsequently, statistical findings demonstrate that the value of this factor becomes larger as the number of edits increases, thereby exacerbating the deterioration of general abilities. To this end, a framework termed Perturbation Restraint on Upper bouNd for Editing (PRUNE) is proposed, which applies the condition number restraints in sequential editing. These restraints can lower the upper bound on perturbation to edited models, thus preserving the general abilities. Systematically, we conduct experiments employing three editing methods on three LLMs across four downstream tasks. The results show that PRUNE can preserve general abilities while maintaining the editing performance effectively in sequential model editing. The code are available at https://github.com/mjy1111/PRUNE.

For agents

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

get_harvested_code_for_paper("2405.16821")
get_code_for_paper("2405.16821")
have("2405.16821")

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

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

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

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

Connect an agent — have() is free.