# Continual Learning via Sparse Memory Finetuning

- **ID:** 540
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2510.15103
- **Authors:** Jessy Lin, Luke Zettlemoyer, Gargi Ghosh, Wen-Tau Yih, Aram Markosyan, Vincent-Pierre Berges, Barlas Oğuz
- **Venue:** arXiv / Meta FAIR / UC Berkeley
- **Published:** 2025
- **Tags:** sparse-memory-finetuning, continual-learning, catastrophic-forgetting, memory-layers, lora, tf-idf, fair, meta
- **Topics:** continual learning, memory layers, catastrophic forgetting
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/540

## 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.

## Attributes

- **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.

## From the source (fetched 2026-10-03)

- **Published:** Oct 16, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.AI (arXiv)
- **Citations:** 21 (2 influential) (Semantic Scholar)
- **References:** 32 (Semantic Scholar)

## Abstract

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.

## 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

- [Measuring short-form factuality in large language models (SimpleQA)](https://papers.projxon.ai/entries/879) (paper 2024, #879)

## Similar entries

- [The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)](https://papers.projxon.ai/entries/817) (post, #817)
- [Local Support Learning](https://papers.projxon.ai/entries/861) (paper, #861)
- [Can a Language Model Learn Facts Continually in Its Weights?](https://papers.projxon.ai/entries/469) (paper, #469)
- [Elastic Weight Consolidation (EWC): Nuts and Bolts](https://papers.projxon.ai/entries/593) (paper, #593)
- [Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories](https://papers.projxon.ai/entries/487) (paper, #487)
- [Finetuning with Sampling: SFT Learns Better Than You Think](https://papers.projxon.ai/entries/863) (paper, #863)
