Papers › BetaEdit: Null-Space Constrained Sequential Model Editing

BetaEdit: Null-Space Constrained Sequential Model Editing

10 May 2026arXiv:2605.09285added by Syntology

Bingqing Liu, Wei Liu, Yuhua Li

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Null-space-based methods have garnered considerable attention in model editing by constraining updates to the null space of the pre-existing knowledge representation, thereby preserving the model's original behavior. However, in practice these methods rely on an approximate null space--leading to knowledge leakage--and further suffer from severe performance degradation during sequential editing. Recent work shows that history-aware editing strategies can empirically mitigate this decline, yet the underlying reason remains unclear. In this paper, we first expose the knowledge leakage inherent in existing null-space approaches and then analyze why history-aware updates effectively preserve both editing performance and general capabilities during long-horizon editing. Building on these insights, we propose BetaEdit, a refined framework that effectively controls the knowledge leakage and integrates history-aware updates into the null-space paradigm. Extensive experiments on three large language models across two standard benchmarks show that BetaEdit consistently outperforms prior methods in the challenging regime of massive-scale sequential editing. Code is available at: https://github.com/lbq8942/BetaEdit.

PaperPDFCode 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="2605.09285")

Code

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

By repository: found in paper text by Syntology: 17 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lbq8942/BetaEdit found in paper text by Syntology report

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

17 samples harvested; 12 ran; 0 honoured the contract we drafted; 5 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.

1ran · our draft was wrong
11ran
5unverified

Licence: 17 of the 17 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 lbq8942/BetaEdit. “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.

build_llama38b_tf_prompt lbq8942/BetaEdit/BetaEdit/evals/lweval.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 1b246e80e37238a4 · report
build_qwen_tf_prompt lbq8942/BetaEdit/BetaEdit/evals/lweval.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 5a2b8440dd4f031d · report
check_next_word_binary lbq8942/BetaEdit/BetaEdit/evals/lweval.py found in paper text by Syntology ran no licence file found · pointer only · 92f711ad7e206a64 · report
get_prompt_target_pairs lbq8942/BetaEdit/BetaEdit/evals/zsre.py found in paper text by Syntology ran no licence file found · pointer only · 9e0111ee2f1cd008 · report
get_words_idxs_in_templates lbq8942/BetaEdit/BetaEdit/locate_edit_utils/repr_tools.py found in paper text by Syntology ran no licence file found · pointer only · 98258eadd67edec3 · report
hierarchical_subsequence lbq8942/BetaEdit/BetaEdit/util/nethook.py found in paper text by Syntology ran no licence file found · pointer only · 920b394e7ad80c53 · report
is_null_numpy_value lbq8942/BetaEdit/BetaEdit/locate_edit_utils/layer_stats.py found in paper text by Syntology ran no licence file found · pointer only · 9b989e0bf625c6c1 · report
load_data lbq8942/BetaEdit/BetaEdit/load.py found in paper text by Syntology ran no licence file found · pointer only · 70ec35b629d68b1f · report
recursive_copy lbq8942/BetaEdit/BetaEdit/util/nethook.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 70f6ab8bde55420e · report
replace_tf_with_acc lbq8942/BetaEdit/BetaEdit/evals/counterfact.py found in paper text by Syntology ran no licence file found · pointer only · 7ae3eb2289be43a8 · report
summarize lbq8942/BetaEdit/BetaEdit/evals/counterfact.py found in paper text by Syntology ran no licence file found · pointer only · 4dd1d94c025b582c · report
summarize lbq8942/BetaEdit/BetaEdit/evals/lbqeval.py found in paper text by Syntology ran no licence file found · pointer only · f6c253651c4634e7 · report
compute_probs_correct lbq8942/BetaEdit/BetaEdit/evals/counterfact.py found in paper text by Syntology unverified no licence file found · pointer only · 82a94b93b7319401 · report
compute_probs_correct lbq8942/BetaEdit/BetaEdit/evals/mquake_cf.py found in paper text by Syntology unverified no licence file found · pointer only · 458e1723365991bc · report
eval_counterfact lbq8942/BetaEdit/BetaEdit/evals/lbqeval.py found in paper text by Syntology unverified no licence file found · pointer only · 44c310996a886969 · report
subsequence lbq8942/BetaEdit/BetaEdit/util/nethook.py found in paper text by Syntology unverified no licence file found · pointer only · 6b61f955e20bd5fb · report
test_batch_prediction_acc lbq8942/BetaEdit/BetaEdit/evals/zsre.py found in paper text by Syntology unverified no licence file found · pointer only · 9f93f16d0cf6f6ef · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.09285, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

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