MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs
Ke Wang, Yiming Qin, Nikolaos Dimitriadis, Alessandro Favero, Pascal Frossard

TL;DR
MEMOIR is a scalable lifelong model editing framework that uses a residual memory with sparse activation masks to efficiently update language models, maintaining core capabilities and minimizing interference across many edits.
Contribution
It introduces a novel residual memory module with sparse, sample-dependent masking to enable scalable, reliable, and minimal-overwrite model editing without retraining.
Findings
Achieves state-of-the-art performance on multiple benchmarks.
Scales to thousands of sequential edits with minimal forgetting.
Effectively generalizes to rephrased queries and new knowledge.
Abstract
Language models deployed in real-world systems often require post-hoc updates to incorporate new or corrected knowledge. However, editing such models efficiently and reliably-without retraining or forgetting previous information-remains a major challenge. Existing methods for lifelong model editing either compromise generalization, interfere with past edits, or fail to scale to long editing sequences. We propose MEMOIR, a novel scalable framework that injects knowledge through a residual memory, i.e., a dedicated parameter module, while preserving the core capabilities of the pre-trained model. By sparsifying input activations through sample-dependent masks, MEMOIR confines each edit to a distinct subset of the memory parameters, minimizing interference among edits. At inference, it identifies relevant edits by comparing the sparse activation patterns of new queries to those stored…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsTopic Modeling · Multimodal Machine Learning Applications · Natural Language Processing Techniques
