Memory-Based Model Editing at Scale

By Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D. Manning, Chelsea Finn. 2022

561 citations recorded by the source corpus.

Even the largest neural networks make errors, and once-correct predictions can become invalid as the world changes. Model editors make local updates to the behavior of base (pre-trained) models to inject updated knowledge or correct undesirable behaviors. Existing model editors have shown promise, but also suffer from insufficient expressiveness: they struggle to accurately model an edit's intended scope (examples affected by the edit), leading to inaccurate predictions for test inputs loosely related to the edit, and they often fail altogether after many edits. As a higher-capacity alternative, we propose Semi-Parametric Editing with a Retrieval-Augmented Counterfactual Model (SERAC), which stores edits in an explicit memory and learns to reason over them to modulate the base model's predictions as needed. To enable more rigorous evaluation of model editors, we introduce three challenging language model editing problems based on question answering, fact-checking, and dialogue generation. We find that only SERAC achieves high performance on all three problems, consistently outperforming existing approaches to model editing by a significant margin. Code, data, and additional project information will be made available at https://sites.google.com/view/serac-editing.

Subfields: Artificial Intelligence, Model Architectures, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yonatan Belinkov
  2. Mohit Bansal
  3. Jie Tang
  4. Danqi Chen
  5. Luke S. Zettlemoyer
  6. Percy Liang
  7. Yoav Goldberg
  8. Christopher D. Manning

In Model Architectures

  1. Yonatan Belinkov
  2. Christopher Potts
  3. Danqi Chen
  4. Baobao Chang
  5. Jingjing Xu
  6. Xiao Liu
  7. Fei Huang
  8. David Bau

In Safety, Robustness & Interpretability

  1. Alex Andonian
  2. David Bau
  3. Kevin Meng
  4. Christopher D. Manning
  5. Christopher Potts
  6. Ming Ding
  7. Yonatan Belinkov
  8. Jie Tang

Citations in the corpus