atlas

Research map / Large language models / Retrieval and knowledge

MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs

NeurIPS 2025 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MEMOIR, a lifelong model editing method that adds a zero-initialized residual memory layer to one FFN projection and sparsifies its inputs with sample-dependent TopHash masks, so each edit updates a distinct column subset and inference routes queries by mask overlap.

Problem

Lifelong model editing of LLMs must sequentially inject new facts while keeping reliability on edits, generalization to paraphrases, and locality on unrelated inputs, without catastrophic forgetting over thousands of edits.

Approach

Sparsify input activations of a residual memory layer with sample-dependent top-k masks plus a fixed random permutation (TopHash), so each edit writes to a distinct column subset; at inference, compare masks by overlap ratio to route rephrased queries to the matching edit and deactivate the memory for irrelevant inputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MEMOIR instead of WISELLaMA-3-8B · ZsRE, T=1,000Avg.: 0.77 -> 0.93Helped
Use MEMOIR instead of WISEMistral-7B · ZsRE, T=1,000Avg.: 0.79 -> 0.94Helped
Use MEMOIR instead of WISELLaMA-3-8B · SelfCheckGPT, T=600Rel. (PPL): 3.20 -> 1.25Helped
Use MEMOIR instead of WISEMistral-7B · SelfCheckGPT, T=600Rel. (PPL): 5.21 -> 1.22Helped
Use MEMOIR instead of WISEGPT-J-6B · Temporal, T=10Avg.: 0.78 -> 0.79Helped
Use MEMOIR instead of WISEGPT-J-6B · Temporal, T=75Avg.: 0.78 -> 0.79Helped
Use MEMOIR instead of GRACELLaMA-3 · ZsRE, T=15,000Avg.: 0.76 -> 0.88Helped
Add conditional knowledge activation (ablation)MEMOIR · ZsRE, T=1,000, LLaMA-3Loc.: 0.68 -> 1.00Helped
Add conditional knowledge activation (ablation)MEMOIR · ZsRE, T=1,000, LLaMA-3Gen.: 0.77 -> 0.85Helped
Add activation centering using 100 irrelevant prompts (ablation)MEMOIR · ZsRE, T=1,000, LLaMA-3Avg.: 0.92 -> 0.93Helped
Use TopHash instead of TopK selection (ablation)MEMOIR · ZsRE, LLaMA-3Avg.: 0.90 -> 0.93Helped
Use TopHash instead of random index selection (ablation)MEMOIR · ZsRE, LLaMA-3Avg.: 0.54 -> 0.93Helped

Surprising findings

Limitations

Experimental setup

Datasets: ZsRE SelfCheckGPT Temporal The Pile RippleEdits

Benchmarks: ZsRE SelfCheckGPT Temporal RippleEdits

Metrics: reliability generalization locality perplexity OOD generalization average score

Baselines: FT ROME MEMIT DEFER GRACE WISE AlphaEdit

Builds on: ROME MEMIT AlphaEdit WISE GRACE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy