SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.05827 · EMNLP · 2024

On the Robustness of Editing Large Language Models

Hai Zhao, Zhuosheng Zhang, Tianjie Ju, Xinbei Ma, Lifeng Liu, Jiyang Qiu, Yulong Wang

arXiv · PDF · Open in the Atlas

Code that ran

11 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 5 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/2402.05827.json · badge: /api/ran/2402.05827.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
xbmxb/edit_analysis canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
convert_pytorch_state_dict_to_flax Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/transformers/modeling_flax_pytorch_utils.py
pointer only (licence: NONE) · get_code("5168a172bbb363a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xbmxb/edit_analysis 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_relative_import_files Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/transformers/dynamic_module_utils.py
pointer only (licence: NONE) · get_code("00cc853a73f3aeb6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xbmxb/edit_analysis 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_relative_imports Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/transformers/dynamic_module_utils.py
pointer only (licence: NONE) · get_code("450aeffe7f80f917")
How it ran

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

infer_metric_tags_from_eval_results Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/transformers/modelcard.py
pointer only (licence: NONE); the stored copy get_code serves, from shen8424/CORE, is pointer only (licence: NONE) · get_code("dd8f7751ef859581")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xbmxb/edit_analysis 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_keras_history Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/transformers/modelcard.py
pointer only (licence: NONE) · get_code("a4491b45d19b7a39")
How it ran

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

prepare_ctrl_input Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/post_test_fastchat.py
pointer only (licence: NONE) · get_code("a766a95b9fd5ee9c")
How it ran

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

prepare_xlm_input Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/post_test_fastchat.py
pointer only (licence: NONE) · get_code("b7bf53f6b6b11a4b")
How it ran

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

prepare_xlnet_input Ran
ran; our contract draft was wrong, not the code
xbmxb/edit_analysis/code/post_test_fastchat.py
pointer only (licence: NONE) · get_code("80844fa7cfa6e8d8")
How it ran

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

profiling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xbmxb/edit_analysis/code/baseline_loced.py
pointer only (licence: NONE) · get_code("1245856df6f338d3")
How it ran

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

quick_gelu Ran
ran, honoured the contract we drafted
xbmxb/edit_analysis/code/transformers/modeling_flax_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from shen8424/CORE, is pointer only (licence: NONE) · get_code("a66d2b78670c85e1")
How it ran

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

rename_key_and_reshape_tensor Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xbmxb/edit_analysis/code/transformers/modeling_flax_pytorch_utils.py
pointer only (licence: NONE) · get_code("61779b0406a59cfc")
How it ran

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

check_imports Not yet run
unverified (harvested, no recorded run)
xbmxb/edit_analysis/code/transformers/dynamic_module_utils.py
pointer only (licence: NONE) · get_code("f4075cdecbb730c5")
How it ran

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

dtype_byte_size Not yet run
unverified (harvested, no recorded run)
xbmxb/edit_analysis/code/transformers/modeling_flax_utils.py
pointer only (licence: NONE) · get_code("9d98806acb3144b7")
How it ran

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

flax_shard_checkpoint Not yet run
unverified (harvested, no recorded run)
xbmxb/edit_analysis/code/transformers/modeling_flax_utils.py
pointer only (licence: NONE) · get_code("e3ce70ca9258800e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xbmxb/edit_analysis 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_conv_template Not yet run
unverified (harvested, no recorded run)
xbmxb/edit_analysis/code/conversation.py
pointer only (licence: NONE) · get_code("af4d8c865cc2df7b")
How it ran

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

is_hf_dataset Not yet run
unverified (harvested, no recorded run)
xbmxb/edit_analysis/code/transformers/modelcard.py
pointer only (licence: NONE); the stored copy get_code serves, from shen8424/CORE, is pointer only (licence: NONE) · get_code("ec7b1528a936234d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xbmxb/edit_analysis 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 16 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 11 the same month, 15 later) and 1 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
get_conv_template 69 other papers
16 dated earlier, 3 the same month, 45 later, 4 same year, order not determinable, 1 undated
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
infer_metric_tags_from_eval_results 19 other papers
6 dated earlier, 1 the same month, 12 later
2022.findings-emnlp.427 (2022 (year only))
2305.15756 (2023-05)
UniTRec: A Unified Text-to-Text Transformer and Joint Contrastive Learning Framework for Text-based Recommendation
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
and 16 more not named here
get_relative_import_files 18 other papers
9 dated earlier, 1 the same month, 8 later
2211.11694 (2022-11)
Exploring Discrete Diffusion Models for Image Captioning
2304.05568 (2023-04)
Improving Diffusion Models for Scene Text Editing with Dual Encoders
2305.15756 (2023-05)
UniTRec: A Unified Text-to-Text Transformer and Joint Contrastive Learning Framework for Text-based Recommendation
and 15 more not named here
get_relative_imports 18 other papers
9 dated earlier, 1 the same month, 8 later
2211.11694 (2022-11)
Exploring Discrete Diffusion Models for Image Captioning
2304.05568 (2023-04)
Improving Diffusion Models for Scene Text Editing with Dual Encoders
2305.15756 (2023-05)
UniTRec: A Unified Text-to-Text Transformer and Joint Contrastive Learning Framework for Text-based Recommendation
and 15 more not named here
quick_gelu 17 other papers
7 dated earlier, 1 the same month, 9 later
2022.findings-emnlp.427 (2022 (year only))
2303.14582 (2023-03)
Identification of Negative Transfers in Multitask Learning Using Surrogate Models
2305.15756 (2023-05)
UniTRec: A Unified Text-to-Text Transformer and Joint Contrastive Learning Framework for Text-based Recommendation
and 14 more not named here
is_hf_dataset 16 other papers
3 dated earlier, 1 the same month, 12 later
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2310.09832 (2023-10)
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
2312.09979 (2023-12)
LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin
and 13 more not named here
parse_keras_history 16 other papers
3 dated earlier, 1 the same month, 12 later
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2310.09832 (2023-10)
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
2312.09979 (2023-12)
LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin
and 13 more not named here
flax_shard_checkpoint 14 other papers
5 dated earlier, 1 the same month, 8 later
2305.15756 (2023-05)
UniTRec: A Unified Text-to-Text Transformer and Joint Contrastive Learning Framework for Text-based Recommendation
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2310.09832 (2023-10)
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
and 11 more not named here
dtype_byte_size 12 other papers
5 dated earlier, 1 the same month, 6 later
2305.15756 (2023-05)
UniTRec: A Unified Text-to-Text Transformer and Joint Contrastive Learning Framework for Text-based Recommendation
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2310.09832 (2023-10)
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
and 9 more not named here
prepare_ctrl_input 11 other papers
6 dated earlier, 5 later
1910.03771 (2019-10)
HuggingFace's Transformers: State-of-the-art Natural Language Processing
2009.14259 (2020-09)
Visually-Grounded Planning without Vision: Language Models Infer Detailed Plans from High-level Instructions
2106.06168 (2021-06)
Generate, Annotate, and Learn: NLP with Synthetic Text
and 8 more not named here
prepare_xlm_input 11 other papers
6 dated earlier, 5 later
1910.03771 (2019-10)
HuggingFace's Transformers: State-of-the-art Natural Language Processing
2009.14259 (2020-09)
Visually-Grounded Planning without Vision: Language Models Infer Detailed Plans from High-level Instructions
2106.06168 (2021-06)
Generate, Annotate, and Learn: NLP with Synthetic Text
and 8 more not named here
prepare_xlnet_input 8 other papers
3 dated earlier, 5 later
1910.03771 (2019-10)
HuggingFace's Transformers: State-of-the-art Natural Language Processing
2210.15097 (2022-10)
Contrastive Decoding: Open-ended Text Generation as Optimization
2305.01625 (2023-05)
Unlimiformer: Long-Range Transformers with Unlimited Length Input
and 5 more not named here
convert_pytorch_state_dict_to_flax 6 other papers
3 dated earlier, 1 the same month, 2 later
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2310.09832 (2023-10)
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
2312.09979 (2023-12)
LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin
and 3 more not named here
rename_key_and_reshape_tensor 6 other papers
3 dated earlier, 1 the same month, 2 later
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2310.09832 (2023-10)
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
2312.09979 (2023-12)
LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin
and 3 more not named here
check_imports 3 other papers
1 dated earlier, 2 later
2310.05107 (2023-10)
OV-PARTS: Towards Open-Vocabulary Part Segmentation
2406.11384 (2024-06)
Understanding Multi-Granularity for Open-Vocabulary Part Segmentation
2501.09688 (2025-01)
Fine-Grained Image-Text Correspondence with Cost Aggregation for Open-Vocabulary Part Segmentation

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

Large language models (LLMs) have played a pivotal role in building communicative AI, yet they encounter the challenge of efficient updates. Model editing enables the manipulation of specific knowledge memories and the behavior of language generation without retraining. However, the robustness of model editing remains an open question. This work seeks to understand the strengths and limitations of editing methods, facilitating practical applications of communicative AI. We focus on three key research questions. RQ1: Can edited LLMs behave consistently resembling communicative AI in realistic situations? RQ2: To what extent does the rephrasing of prompts lead LLMs to deviate from the edited knowledge memory? RQ3: Which knowledge features are correlated with the performance and robustness of editing? Our empirical studies uncover a substantial disparity between existing editing methods and the practical application of LLMs. On rephrased prompts that are flexible but common in realistic applications, the performance of editing experiences a significant decline. Further analysis shows that more popular knowledge is memorized better, easier to recall, and more challenging to edit effectively.

For agents

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

get_harvested_code_for_paper("2402.05827")
get_code_for_paper("2402.05827")
have("2402.05827")

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

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

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

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

Connect an agent — have() is free.