Papers › On the Robustness of Editing Large Language Models

On the Robustness of Editing Large Language Models

8 Feb 2024arXiv:2402.05827archive 2025-07-28

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

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. Code is publicly available at https://github.com/xbmxb/edit_analysis .

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

Code

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

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

xbmxb/edit_analysis officialmentioned in papermentioned on GitHubjax 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; 9 ran; 0 honoured the contract we drafted; 7 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.

3ran · our draft was wrong
6ran
7unverified

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 xbmxb/edit_analysis. “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.

convert_pytorch_state_dict_to_flax xbmxb/edit_analysis/code/transformers/modeling_flax_pytorch_utils.py official repository ran no licence file found · pointer only · 5168a172bbb363a5 · report
infer_metric_tags_from_eval_results xbmxb/edit_analysis/code/transformers/modelcard.py official repository ran no licence file found · pointer only · dd8f7751ef859581 · report
parse_keras_history xbmxb/edit_analysis/code/transformers/modelcard.py official repository ran no licence file found · pointer only · a4491b45d19b7a39 · report
prepare_ctrl_input xbmxb/edit_analysis/code/post_test_fastchat.py official repository ran · our draft was wrong no licence file found · pointer only · a766a95b9fd5ee9c · report
prepare_xlm_input xbmxb/edit_analysis/code/post_test_fastchat.py official repository ran · our draft was wrong no licence file found · pointer only · b7bf53f6b6b11a4b · report
prepare_xlnet_input xbmxb/edit_analysis/code/post_test_fastchat.py official repository ran · our draft was wrong no licence file found · pointer only · 80844fa7cfa6e8d8 · report
profiling xbmxb/edit_analysis/code/baseline_loced.py official repository ran no licence file found · pointer only · 1245856df6f338d3 · report
quick_gelu xbmxb/edit_analysis/code/transformers/modeling_flax_utils.py official repository ran fingerprinted no licence file found · pointer only · a66d2b78670c85e1 · report
rename_key_and_reshape_tensor xbmxb/edit_analysis/code/transformers/modeling_flax_pytorch_utils.py official repository ran no licence file found · pointer only · 61779b0406a59cfc · report
check_imports xbmxb/edit_analysis/code/transformers/dynamic_module_utils.py official repository unverified no licence file found · pointer only · f4075cdecbb730c5 · report
dtype_byte_size xbmxb/edit_analysis/code/transformers/modeling_flax_utils.py official repository unverified no licence file found · pointer only · 9d98806acb3144b7 · report
flax_shard_checkpoint xbmxb/edit_analysis/code/transformers/modeling_flax_utils.py official repository unverified no licence file found · pointer only · e3ce70ca9258800e · report
get_conv_template xbmxb/edit_analysis/code/conversation.py official repository unverified no licence file found · pointer only · af4d8c865cc2df7b · report
get_relative_import_files xbmxb/edit_analysis/code/transformers/dynamic_module_utils.py official repository unverified no licence file found · pointer only · 00cc853a73f3aeb6 · report
get_relative_imports xbmxb/edit_analysis/code/transformers/dynamic_module_utils.py official repository unverified no licence file found · pointer only · 450aeffe7f80f917 · report
is_hf_dataset xbmxb/edit_analysis/code/transformers/modelcard.py official repository unverified no licence file found · pointer only · ec7b1528a936234d · report

Tasks

Model EditingText Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

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