Model editing
How can we change what a language model knows and preserve what it can do? Our studies follow a factual edit from the first signs of model collapse to updating 100,000 facts together.
Wanli Yang, Fei Sun & collaborators
Reading room
Four papers · 2024–2026Findings of ACL 2024
The Butterfly Effect of Model Editing
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.
Findings of EMNLP 2024
The Fall of ROME
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 |
ACL 2025
The Mirage of Model Editing
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
ICLR 2026
Fine-tuning Done Right in Model Editing
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.
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%