Open Interpretability Models Contributors Research Posts About

Memory-Based Model Editing at Scale

Source

Citation. Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D. Manning and Chelsea Finn. Bosselut is at EPFL (School of Computer and Communication Sciences), and the others are at Stanford University (Department of Computer Science). "Memory-Based Model Editing at Scale". arXiv 2206.06520v1, 13 June 2022, the only version. Paper. The arXiv comment gives the venue as ICML 2022. The project site links the code at github.com/eric-mitchell/serac. The site has no direct data download. Licence CC BY 4.0. Funding: a Knight-Hennessy Graduate Fellowship (Mitchell) and Apple Inc. Finn and Manning are CIFAR Fellows. The paper doesn't say whether an LLM helped write it.

Status. Not applicable. No open issue uses its method, which leaves the model's weights and units unchanged. Its test design, with hard in-scope and hard out-of-scope inputs, still bears on the fix campaign: a fix must work without collateral damage.

Read. The abstract page, the v1 HTML and the project site, on 2026-11-18. A web-reading tool gave only short quotes and a summary, so we downloaded the HTML and read its text directly. We have the source's own text for every section, Appendices A to D included, and for Tables 1 to 8. The HTML drops most inline mathematics. We recovered the edit counts (k) from the page's math markup. We did not see Figures 1 to 3 except as captions, so the numbers behind Figure 3 are not here. We did not read the PDF or the code.

Summary

Claim. Editors that change a model's weights from the edit's gradient misjudge the edit's scope, and they fail after many edits. SERAC keeps the edits in an explicit memory, and it "learns to reason over them to modulate the base model's predictions as needed". The authors report that only SERAC does well on all three of their new editing problems.

Method.

Findings, as the source reports them.

Setting Result
QA, T5-large, k = 10 (Table 3) SERAC ES 0.986, DD 0.009. LU ES 0.944, DD 0.051. MEND ES 0.823, DD 0.187. ENN ES 0.786, DD 0.354
QA-hard, T5-large, k = 10 SERAC ES 0.913, DD 0.028. LU ES 0.515, DD 0.132. MEND ES 0.478, DD 0.255. RP ES 0.278, DD 0.027
FC, BERT-base, k = 10 SERAC ES 0.877, DD 0.051. The other ES values are 0.565 to 0.627, with DD from 0.002 to 0.042
ConvSent, BlenderBot-90M, k = 5 SERAC ES 0.991, DD 0. MEND ES 0.494, DD 2.149. ENN ES 0.502, DD 3.546. RP ES 0.506, DD 0
SERAC parts on QA-hard (Table 4) Classifier accuracy 0.985 in-scope easy, 0.855 in-scope hard, 0.996 out-of-scope easy, 0.967 out-of-scope hard. Counterfactual accuracy 0.996 and 0.987 in scope
SERAC parts on FC (Table 4) Classifier accuracy 0.909 in scope (pooled), 0.993 out-of-scope easy, 0.706 out-of-scope hard
Classifier variants, k = 10 (Table 5) QA-hard: Embed-D 0.921 / 0.029, Cross-D 0.983 / 0.009. FC: Embed-D 0.792 / 0.247, Cross-B 0.855 / 0.0964 (ES / DD)
Many edits, QA (Figure 3 caption and §5.1) SERAC applies up to 75 edits "with little degradation". For ENN and MEND at 75 edits, drawdown exceeds edit success
Other T5 base models, same editor (§5.2) QA: ES above 0.99, DD below 0.01. QA-hard: ES above 0.92, DD below 0.03
Cost after 10 edits (Table 6) QA: 87 ms and 2.96 GB for the base model, 92 ms and 3.47 GB out of scope, 31 ms and 3.46 GB in scope. About 3 KB of memory per edit

Where the claims go beyond the evidence

The authors state some limits themselves. SERAC needs a dataset of edits to train its parts, and the edit memory can grow without bound. They also name the dual-use risk of the sentiment edits.

Use in this repo