atlas

Research map / Large language models / Retrieval and knowledge

Massive Editing for Large Language Models via Meta Learning

ICLR 2024 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 5 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 MALMEN, a hyper-network model editor that aggregates MEND-style parameter shifts via a regularized least-squares normal equation and decouples LM and hyper-network backprop, enabling editing of thousands of facts.

Problem

Hyper-network-based LM editors scale poorly when editing many facts simultaneously: summing parameter shifts causes cancellation effects and meta-training requires prohibitive memory.

Approach

Aggregate per-key parameter shifts into one shift by solving a regularized least-squares problem in closed form (normal equation), and split backpropagation into an LM stage and a hyper-network stage so that batch sizes are arbitrary on both networks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace the normal equation with summing parameter shifts (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2ES (%): 93.0 -> 79.1; 99.7 -> 52.2Hurt
replace the normal equation with summing parameter shifts (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2GS (%): 85.8 -> 75.1; 96.1 -> 50.7Hurt
replace the normal equation with summing parameter shifts (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2LS (%): 89.5 -> 72.9; 16.5 -> 17.0Mixed
remove the regularization term (ablation)MALMEN · zsRE, m=512, GPT-2ES (%): 99.7 -> 0.0Hurt
remove the regularization term (ablation)MALMEN · zsRE, m=512, GPT-2GS (%): 96.1 -> 0.0Hurt
remove the regularization term (ablation)MALMEN · zsRE, m=512, GPT-2LS (%): 16.5 -> 0.0Hurt
edit the first rather than the second FFN linear layer (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2ES (%): 93.0 -> 50.3; 99.7 -> 97.7Mixed
edit the first rather than the second FFN linear layer (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2GS (%): 85.8 -> 50.3; 96.1 -> 89.1Hurt
edit the first rather than the second FFN linear layer (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2LS (%): 89.5 -> 51.0; 16.5 -> 15.8Mixed
cache key and value-gradient tuples for all tokens (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2ES (%): 93.0 -> 97.0; 99.7 -> 99.2Mixed
cache key and value-gradient tuples for all tokens (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2GS (%): 85.8 -> 90.0; 96.1 -> 94.0Mixed
cache key and value-gradient tuples for all tokens (ablation)MALMEN · FEVER, m=512, BERT-base; zsRE, m=512, GPT-2LS (%): 89.5 -> 90.3; 16.5 -> 16.6Mixed

Surprising findings

Limitations

Experimental setup

Datasets: FEVER FEVER2 zsRE Natural Questions

Benchmarks: FEVER zsRE

Metrics: editing success (ES) generalization success (GS) locality success (LS) computation time memory consumption mean residual

Baselines: MEND MEMIT Fine-tuning (FT) Sum param. shifts

Builds on: MEND MEMIT ROME fine-tuning

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