Continual Learning via Sparse Memory Finetuning
Summary
Replaces one mid-stack FFN with a 1M-slot memory layer (k=32, 4 heads) and finetunes only the top-t slots that are highly accessed on the current batch relative to DCLM pretraining (TF-IDF). On a 1.3B model, TriviaQA 1K fact stream: NaturalQuestions F1 drops 11% vs 89% full finetuning and 71% LoRA at matched target learning; document-stream SimpleQA shows the same Pareto pattern. Naive memory FT and TF-only ranking forget more. No official code on abs.
- Venue
- arXiv / Meta FAIR / UC Berkeley
- Purpose
- Learn new facts in a memory-augmented LLM by updating only TF-IDF-selected memory slots
- Scale
- 1.3B (22L, mem at L12); memory 1M x 1024-d, k=32 x 4 heads; TriviaQA 1K facts (seq 64, t=500); SimpleQA 100 Wikipedia docs / 1824 chunks (seq 512, t=10k); DCLM IDF from 1000 batches
- Time period
- 2025-10-16 (arXiv 2510.15103 v1). HF paper publishedAt 2025-10-16. Paper date field 2026-08-11.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- Oct 16, 2025
- arXiv categories
- cs.CL, cs.AI
- Citations
- 21 (2 influential)
- References
- 32
Abstract (from arXiv)
Modern language models are powerful, but typically static after deployment. A major obstacle to building models that continually learn over time is catastrophic forgetting, where updating on new data erases previously acquired capabilities. Motivated by the intuition that mitigating forgetting is challenging because trainable parameters are shared across all tasks, we investigate whether sparse parameter updates can enable learning without catastrophic forgetting. We introduce sparse memory finetuning, leveraging memory layer models (Berges et al., 2024), which are sparsely updated by design. By updating only the memory slots that are highly activated by a new piece of knowledge relative to usage on pretraining data, we reduce interference between new knowledge and the model's existing capabilities. We evaluate learning and forgetting compared to full finetuning and parameter-efficient finetuning with LoRA on two question answering tasks. We find that sparse memory finetuning learns new knowledge while exhibiting substantially less forgetting: while NaturalQuestions F1 drops by 89% after full finetuning on new facts and 71% with LoRA, sparse memory finetuning yields only an 11% drop with the same level of new knowledge acquisition. Our results suggest sparsity in memory layers offers a promising path toward continual learning in large language models.
Tags
Topics
continual learning, memory layers, catastrophic forgetting
Research notes
- Primary: arxiv abs (cs.CL; also cs.AI). License not stated on abs/HTML at check. FAIR at Meta / UC Berkeley. Correspondence jessy_lin@berkeley.edu, {vincentpierre,barlaso}@meta.com. No official code on abs. HF paper page 3 upvotes; no linked models/datasets. Discord posted abs (Substack UTM). Uses public TriviaQA/NaturalQuestions/SimpleQA/DCLM; no new corpus, so no datasets_local row. License field left blank per catalog convention.
Cites, within this collection
Similar entries
- Post The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)
- Paper Local Support Learning
- Paper Can a Language Model Learn Facts Continually in Its Weights?
- Paper Elastic Weight Consolidation (EWC): Nuts and Bolts
- Paper Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories
- Paper Finetuning with Sampling: SFT Learns Better Than You Think