Recent work has shown exciting promise in updating large language models with new memories, so as to replace obsolete information or add specialized knowledge. However, this line of work is predominantly limited to updating single associations. We develop MEMIT, a method for directly updating a language model with many memories, demonstrating experimentally that it can scale up to thousands of associations for GPT-J (6B) and GPT-NeoX (20B), exceeding prior work by orders of magnitude. Our code and data are at https://memit.baulab.info.
Mass-Editing Memory in a Transformer
MEMIT is a method for updating large language models with numerous memories, surpassing previous techniques in scale and efficiency.
- Year
- 2022
- Venue
- arXiv 2022
- Authors
- 5
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2210.07229v2ARXIV-DEFAULT
- TL;DR
- Semantic Scholar