Mass-Editing Memory in a Transformer
Summary
The canonical mass-insertion method and the direct answer to the "insert knowledge with no training" ask: scales ROME's locate-then-edit to many edits at once via batch closed-form updates spread across multiple MLP layers. Causal tracing identifies the decisive mid-layer FFN activations; a rank-one update per layer writes new factual associations with zero gradient training per edit (key vectors estimated from activation samples). Authors' result: thousands of associations inserted into GPT-J (6B) and GPT-NeoX (20B), "exceeding prior work by orders of magnitude." Everything downstream in the closed-form line (PMET, AlphaEdit) builds on it. Limitations to label: edit-benchmark success (reliability/generalization/locality) is not the same as pretraining-quality knowledge; sequential-editing degradation is evidenced by later work (AlphaEdit's null-space protection is bounded at high edit counts per a reproducibility study).
- Venue
- ICLR 2023
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 19, 2026
- Verified
- Oct 19, 2026
Research notes
- Discovery: Hudson asked for a knowledge-insertion survey 2026-10-19 7:11 PM ET; MEMIT was the survey's #1 cataloging pick ("the canonical mass-insertion method"). Hudson approved all five picks same turn ("Queue all five"). Relevance: (1) cheapest knowledge-insertion primitive in the catalog — zero per-edit training vs ID 488's LoRA/full FT and ID 1626's conditional-memory optimization; (2) pairs with ID 1593 (MLPs Are Hebbians) as the constructive counterpart to the capacity theory — this is the "write" operation for the fact-storing MLPs that paper characterizes; (3) pairs with #69 (Fisher sparsity): both ask which parameters to change, from opposite directions — MEMIT finds them by causal tracing, #69 by pre-training Fisher. Watchlist: ROME (NeurIPS 2022, arXiv 2202.05262, MEMIT's ancestor — MEMIT covers it, not separately cataloged); PMET (arXiv 2308.08742, preprint); AlphaEdit (arXiv 2410.02355, ICLR 2025).
- License: arXiv default nonexclusive-distrib (paper); code MIT — official repo github.com/kmeng01/memit carries MIT License + LICENSE file (verified 2026-10-20)
Similar entries
- Code Agent Memory Repo (Cognition) — open spec for persistent agent memory
- Paper The Surprising Effectiveness of Shared Memory in Looped Transformers
- Paper EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
- Code Block Delta Memory (BDM): Sparse Recurrent Memory with Dense Execution
- Paper Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
- Paper Memory Caching: RNNs with Growing Memory