Rethinking Sequential Locate-Then-Edit: Optimality and Stability
Authors: Bingqing Liu, Wei Liu, Zhiying Deng, Jun Wang, Yuhua Li, Ruixuan Li
Organizations: School of Computer Science and Technology, Huazhong University of Science and Technology · Laboratory for Artificial Intelligence and New Forms of Education, CCNU · iWudao Tech
The Locate-Then-Edit framework enables efficient knowledge updates in large language models without requiring full retraining. Recent research has increasingly focused on sequential editing, where knowledge arrives continuously and the model is updated incrementally. However, existing sequential methods commonly suffer from catastrophic forgetting and model collapse after only a few hundred edits. In contrast, batch editing - which jointly optimizes all edits and yields the optimal solution under a specified editing objective - can support tens of thousands of edits with high edit efficacy while preserving the model's general capabilities, resulting in a substantial performance gap between the two editing paradigms. In this paper, we demonstrate that this gap can be closed via a batch-equivalent sequential editing approach. Moreover, we investigate the underlying mechanism of model degradation in existing sequential methods by analyzing the convergence behavior of weight perturbations as edits accumulate. Our analysis reveals that current methods typically exhibit linear or logarithmic growth in perturbation, whereas the proposed batch-equivalent method achieves time-invariant growth, thereby theoretically guaranteeing long-term stability and preserving the integrity of pretrained knowledge throughout massive-scale sequential editing.
Figures & tables
Figure 1: Performance gap between sequential editing (-S) and batch editing (-B) on the Counterfact dataset using LLaMA3-8B-Instruct. Top : Editing success rate. Bottom : General language capability (accuracy on SST sentiment classification from GLUE benchmark).
Figure 2: Editing performance (success rate, generality, locality) on the CounterFact dataset over 10,000 sequential edits. Columns (from left to right): Qwen3-8B, GPT-J, LLaMA3-8B-Instruct. Higher values indicate better performance for all metrics.
Edits
CounterFact
ZsRE
SR.
Gen.
Loc.
SST
MMLU
CoLA
NLI
SR.
Gen.
Loc.
SST
MMLU
CoLA
NLI
1k
98.8
54.4
11.3
83.0
72.5
71.5
83.5
94.8
89.1
38.2
84.0
73.5
72.0
82.5
2k
97.6
53.1
10.8
83.0
72.5
70.5
84.0
94.5
88.0
38.1
84.5
75.5
72.0
82.5
3k
96.7
52.6
10.7
83.5
72.5
71.5
83.0
93.9
88.4
37.6
81.0
75.0
72.0
81.5
4k
96.1
52.6
10.1
83.5
72.0
71.5
83.0
93.6
87.2
37.6
81.5
75.5
71.0
81.5
5k
95.7
51.6
9.9
84.0
72.5
72.0
83.0
93.4
86.7
37.8
82.5
74.5
73.5
82.5
Table 1: Detailed performance of MEMIT-BE on Qwen3-8B across different numbers of sequential edits on CounterFact and ZsRE. SR., Gen., and Loc. denote Success Rate, Generality, and Locality, respectively. SST, MMLU, CoLA, and NLI report accuracy (%) on the corresponding general language understanding benchmarks.
Edits
CounterFact
ZsRE
Layer 4
Layer 5
Layer 6
Layer 7
Layer 8
Layer 4
Layer 5
Layer 6
Layer 7
Layer 8
1k
170
177
181
182
191
168
176
181
182
191
2k
177
178
182
183
194
173
177
181
183
193
3k
183
180
183
184
196
178
179
182
184
195
4k
188
182
184
186
199
183
180
183
184
197
5k
193
183
185
187
202
187
181
184
185
199
Table 2: Layer-wise weight norms of MEMIT-BE on Qwen3-8B across different numbers of sequential edits on CounterFact and ZsRE.
Figure 3: Evolution of language understanding capability (SST accuracy) during 10,000 sequential edits on the CounterFact dataset.
Figure 4: Evolution of the weight norm during 10,000 sequential edits on the CounterFact dataset.
Figure 5: Interpolation results for MEMIT-BE with different interpolation parameters β1 and β2 (values shown in parentheses).
Figure 6: Effect of post-hoc regularization on AlphaEdit-HA (base), with α denoting the regularization strength.
Table 3: Comparison of three sequential implementation strategies against the batch editor on Qwen3-8B under float32 precision. Editing performance is reported after 2,000 and 10,000 sequential edits on CounterFact and ZSRE .
Method
MEMIT
EMMET
AlphaEdit
RECT
PRUNE
Ours
Time (hours)
16
15
18
16
28
9
Appendix
Table 4: Comparison of editing time for 10,000 sequential edits on LLaMA-3-8B.
Figure 7: Editing performance (success rate, generality, locality) on the ZsRE dataset over 10,000 sequential edits. Columns (from left to right): Qwen3-8B, GPT-J, LLaMA3-8B-Instruct. Higher values indicate better performance for all metrics.
Figure 8: Step-by-step evolution of the weight norm for GPT2-XL, GPT - J and LLaMA3 during sequential editing on the CounterFact dataset.
Figure 9: Step-by-step evolution of the weight norm for GPT2-XL, GPT - J and LLaMA3 during sequential editing on the ZsRE dataset.
Figure 10: Evolution of language understanding capability (SST accuracy) during 10,000 sequential edits on the ZsRE dataset.
Figure 11: Evolution of the weight norm during 10,000 sequential edits on the ZsRE dataset.
Figure 12: Step-by-step evolution of the weight perturbation for GPT2-XL, GPT - J and LLaMA3 during 10,000 sequential edits.
Figure 13: Step-by-step evolution of the pretrained knowledge leakage for GPT2-XL, GPT - J and LLaMA3 during 10,000 sequential edits.
Figure 14: Interpolation results on ZsRE using MEMIT on LLaMA3-8B-Instruct.
Figure 15: Effect of post-hoc regularization on AlphaEdit-HR (base), with α denoting the regularization strength.
Method
CounterFact
ZsRE
T=300
T=6000
T=300
T=6000
Suc.
Gen.
Loc.
Suc.
Gen.
Loc.
Suc.
Gen.
Loc.
Suc.
Gen.
Loc.
LLaMA3-8B-Instruct
FT
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
MEND
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
RLEdit
88.0
60.0
14.9
0.00
0.00
0.00
93.8
89.0
34.8
0.00
0.00
0.00
Appendix
Table 5: Editing performance after 300 and 6,000 sequential edits on the CounterFact and ZsRE datasets using LLaMA3-8B-Instruct, GPT-2 XL, and GPT-J. Higher values indicate better performance across all metrics: editing success rate ( Suc. ), generality ( Gen. ), and locality ( Loc. ).
Model & Method
Memory (GB) ↓
Time (s) ↓
Succ ↑
Gen ↑
Loc ↑
LLaMA3
IKE
46.0
1.28
100.0
51.2
21.1
SERAC
37.0
0.62
0.0
0.0
21.6
GRACE
36.0
0.55
100.0
13.8
21.6
WISE
37.0
0.38
97.2
22.5
15.8
MEMOIR
39.0
0.47
78.1
40.2
21.5
Ours
36.0
0.32
92.5
71.4
20.8
Appendix
Table 6: Editing performance on the CounterFact dataset after 10,000 sequential edits. Memory and Time are reported per method.
Method
SR. ↑
Gen. ↑
Loc. ↑
CounterFact
Batch
92.1
50.1
8.5
Fixed- v
89.7
48.2
9.0
Dynamic- v
93.8
48.1
8.3
ZSRE
Batch
91.3
85.9
36.9
Appendix
Table 7: Comparison of residual computation strategies when applying our batch-equivalent sequential update to multi-layer editing algorithms with cross-layer dependencies on Qwen3-8B.
Sequential editing of structured knowledge in large language models allows targeted factual updates without retraining, yet existing methods often rely on complex regularization or constraint mechanisms whose necessity remains unclear. In this work, we systematically investigate the mechanisms underlying effective and stable sequential editing. Specifically, we first analyze the empirical success of AlphaEdit and establish, via a rigorous optimization analysis, the formal equivalence between one-time and sequential editing. Building on this insight, we generalize the equivalence to a broader class of editing objectives, demonstrating that stability emerges naturally from properly accounting for accumulated editing constraints, rather than from specialized regularization or null-space operations. We empirically confirm that many commonly used regularization strategies are unnecessary for reliable sequential updates. Furthermore, we extend our framework to handle conflicting edits, ensuring robust and consistent behavior under contradictory updates. Ultimately, our work provides Ariadne's thread through the labyrinth of sequential editing, charting a path toward simpler, more interpretable, and dependable knowledge updates. Our code is available at https://github.com/Wangzzzzzzzz/OTE-SE-Alignment.
Zheng Wang, Kaixuan Zhang, Wanfang Chen +2
Bosch Center for Artificial Intelligence (BCAI) · Bosch (China) Investment Ltd. · School of Statistics, East China Normal University.
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.
Bingqing Liu, Wei Liu, Yuhua Li
Huazhong University of Science and Technology, Wuhan, China
Large Language Models (LLMs) often suffer from catastrophic forgetting and collapse during sequential knowledge editing. This vulnerability stems from the prevailing dense editing paradigm, which treats models as black boxes and relies on coarse-grained parameter interventions that inevitably disrupt preserved knowledge. To address this, we propose SCAN (a sparse editing framework based on Sparse Circuit Anchored Neuron) which transforms editing into a mechanism-aware manipulation by constructing a knowledge circuit via Sparse Transcoders. Experiments on Gemma2, Qwen3, and Llama3.1 across CounterFact, ZsRE and WikiFactDiff demonstrate that SCAN achieves a superior performance, maintaining model integrity on benchmarks like MMLU and GSM8K even after 3,000 sequential edits, whereas other existing methods deteriorate progressively as editing accumulates, eventually resulting in model collapse.
Yuhuan Liu, Haitian Zhong, Xinyuan Xia +3
New Laboratory of Pattern Recognition (NLPR), State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS), Institute of Automation, Chinese Academy of Sciences · Cuiying Honors College, Lanzhou University · Zhongguancun Academy +1