TL;DR
Updating facts in an LLM one by one usually breaks the model after a few hundred edits, whereas applying all edits at once in a single massive batch works effortlessly for tens of thousands of facts. This paper proves that this frustrating gap isn't fundamental: using classic linear algebra, the authors derive a sequential update rule that is mathematically identical to batch editing at every single step. By keeping weight changes bounded over time rather than letting them snowball, LLMs can now absorb 10,000+ continuous updates without losing their minds.
What Problem Does This Paper Address?
Large Language Models (LLMs) freeze a snapshot of the world in their parameters, which quickly goes stale. Retraining from scratch is too expensive, and standard fine-tuning often causes catastrophic forgetting. Enter Locate-Then-Edit (LTE): a surgical approach that treats early feed-forward network (FFN) layers like key-value associative memories. You locate the specific weight matrix storing a fact (mapping a subject "key" to an object "value") and tweak just those weights.
Here is the catch: batch editing—collecting 10,000 facts and optimizing them jointly—works remarkably well. But the real world doesn't wait around to form neat batches; facts arrive continuously. When we apply existing LTE methods sequentially (one edit after another), the model forgets previous edits and suffers "model collapse"—its basic language understanding completely disintegrates after just a few hundred to 2,000 updates.
The authors tackle two core questions: Is this gap between batch and sequential editing inevitable? And what exact mathematical mechanism causes sequential edits to destroy a model?
Methods
Standard batch LTE methods (like MEMIT) cast knowledge editing as a regularized least-squares optimization problem: find a weight perturbation $\Delta$ that maps new keys to new values while minimally disturbing pre-trained key-value associations. Solving this in a batch requires storing all incoming key-value pairs in memory, which scales linearly and becomes prohibitive over time.
Instead of inventing a heuristic patch, the authors ask: Can we compute step $j+1$'s exact batch-optimal weight matrix using only step $j$'s weights and the new edit?
Using the Sherman–Morrison–Woodbury (SMW) identity—a classic matrix algebra trick for updating matrix inverses incrementally—they derive a Batch-Equivalent (BE) sequential operator. Rather than storing every past edit vector, the algorithm simply caches and incrementally updates a fixed-size Gram matrix ($A_{j+1} = A_j + \lambda_1 k_{j+1}k_{j+1}^\top$). Applying this recursive update one edit at a time yields the exact same weight matrix as if you had saved up all edits from day one and solved them in a single giant batch. The authors adapt this exact sequential formulation to three foundational editors: MEMIT, EMMET, and AlphaEdit.
Datasets
No new benchmarks are introduced; the authors stress-test their approach on standard benchmarks across four models (GPT2-XL, GPT-J, Qwen3-8B, and LLaMA3-8B-Instruct):
- Editing Benchmarks: CounterFact and ZsRE (evaluating 10,000 sequential single-fact edits).
- General Capability Benchmarks: SST-2 (sentiment), MMLU (general knowledge), CoLA (linguistic acceptability), and NLI (natural language inference) to monitor model collapse.
Key Insights and Ideas
- A Mathematical Hierarchy of Collapse: By analyzing the Frobenius norm of the edited weights ($\|W_t\|_F$) as edits ($t$) accumulate, the authors uncover why models break:
- History-Agnostic (HA) methods (ignoring prior edits) allow weight perturbations to grow linearly ($O(t)$), causing rapid parameter drift and collapse.
- History-Regularized (HR) methods (protecting past keys, the prior state-of-the-art) slow perturbation growth to logarithmic ($O(\log t)$)—buying time, but still eventually drifting.
- Batch-Equivalent (BE) editing achieves time-invariant ($O(1)$) perturbation bounds. The weight norm stays uniformly bounded no matter how many edits arrive.
- Post-Hoc Band-Aids Inherit Flaws: Recent tricks that prune or project weights after an edit (like RECT or SPHERE) inherit the asymptotic growth rate of their base editor. They delay collapse by a few hundred steps, but don't cure the underlying drift.
- Batch LTE is Secretly Sequential LTE: Because batch objectives can be turned into exact sequential updates, researchers don't need separate sequential band-aids—any improvement to batch editing objectives will directly carry over to continual editing.
Key Results
Tested in the harshest setting—10,000 edits applied strictly one by one (batch size = 1)—the batch-equivalent (-BE) variants dominate across all models and metrics (Success Rate, Generality, and Locality).
While history-agnostic methods flatline to 0% success within a few hundred edits and history-regularized methods degrade sharply after a few thousand, BE methods hold steady. On Qwen3-8B after 10,000 sequential edits, MEMIT-BE achieves a 91.3% editing success rate on CounterFact and 90.9% on ZsRE. Crucially, general capabilities barely budge: MMLU accuracy shifts only slightly from 72.5% (at 1k edits) to 70.5% (at 10k edits), while layer-wise weight norms remain tightly controlled (e.g., growing gently from 170 to 212 in Layer 4, rather than exploding).
Limitations and Future Work
- Cross-Layer Dependencies: The exact batch-equivalence guarantee assumes that the key-residual pairs defining the editing objective remain fixed (extracted using the original unedited weights). In multi-layer editing algorithms where updating Layer 4 dynamically alters the hidden representations fed into Layer 5, exact equivalence breaks down unless layers are optimized independently. Extending the theory to handle cascading cross-layer updates is a key next step.
- Floating-Point Drift: While theoretically identical to batch editing, thousands of recursive matrix updates in finite precision can accumulate minor numerical discrepancies over time.
Summary updated