Model editing

Edit one fact.
What else changes?

Four studies trace what happens when a language model learns a new fact, from a single edit that derails a story to a model that handles 100,000 updates.

Wanli Yang, Fei Sun & collaborators · 2024–2026

Editing slipIllustrative example

Mara lives in

Original city:Rome Edited city:Oslo
After the edit

Which country does Mara live in?

Findings of ACL 2024

When one edit breaks a model

An editor can change a fact and damage a model in the same operation. HardEdit collects challenging edits that expose these failures. A rise in perplexity, a measure of how well a model predicts text, can help detect the damage before running a full suite of capability tests.

The Butterfly Effect of Model Editing: Few Edits Can Trigger Large Language Models Collapse
Wanli Yang, Fei Sun, Xinyu Ma, Xun Liu, Dawei Yin & Xueqi Cheng

One edit to GPT-J

Factual update
Who acquired Twitter?
Effect on an unrelated task
GPT-J’s fluent stories gave way to repetitive text. Accuracy on three language and reasoning benchmarks fell toward chance.
A single collapse case in the ROME experiments. Figure 1

Findings of EMNLP 2024

How a small denominator amplifies an edit

ROME’s implementation represented a subject in two contexts, once with a prefix and once without. When the subject came first in the prompt, those representations could differ enough to shrink the denominator in the update formula and produce a large weight change. C-ROME stabilized these cases by using the prefixed representation consistently. Matching the context when testing the edited model recovered edit efficacy.

The Fall of ROME: Understanding the Collapse of LLMs in Model Editing
Wanli Yang, Fei Sun, Jiajun Tan, Xinyu Ma, Du Su, Dawei Yin & Huawei Shen

Inside a GPT-J weight update

Mean quantity Normal Collapse
Numerator norm 88.69 140.27
Absolute denominator 12.78 0.04
GPT-J means for 1,000 sampled COUNTERFACT edits and the HardCF collapse cases. Table 1

ACL 2025

What if the test gives hints?

A model can look more reliable when the evaluation supplies pieces of the correct answer or hints at its length. The authors introduced QAEdit, a question-answering dataset, and WILD, a protocol in which the model generates its answer freely. Scoring the complete response changed the picture across six editors.

The Mirage of Model Editing: Revisiting Evaluation in the Wild
Wanli Yang, Fei Sun, Jiajun Tan, Xinyu Ma, Qi Cao, Dawei Yin, Huawei Shen & Xueqi Cheng

Reliability on the same questions

Synthetic evaluation 96.8%
WILD evaluation 38.5%
Mean single-edit reliability across six editors on QAEdit with Llama-2-7b-chat. Table 3

ICLR 2026

Teaching many edits together

Training one fact to convergence before starting the next can encourage overfitting and interference between edits. LocFT-BF revisits a set of edits in mini-batches across training epochs and restricts updates to selected parameters. This breadth-first approach let the team test 100,000 edits together on a 72-billion-parameter model.

Fine-tuning Done Right in Model Editing
Wanli Yang, Rui Tang, Hongyu Zang, Du Su, Qi Cao, Jingang Wang, Huawei Shen, Xueqi Cheng & Fei Sun

After 100,000 edits

Edit reliability
99.80%
Paraphrase generalization
57.60%
General capability
62.54%
Qwen2.5-72B on ZsRE. Its general capability score before editing was 64.84%. Section 5.2