Continual Learning via Sparse Memory Finetuning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lin, Jessy, Zettlemoyer, Luke, Ghosh, Gargi, Yih, Wen-Tau, Markosyan, Aram, Berges, Vincent-Pierre, Oğuz, Barlas
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908598648438784
author Lin, Jessy
Zettlemoyer, Luke
Ghosh, Gargi
Yih, Wen-Tau
Markosyan, Aram
Berges, Vincent-Pierre
Oğuz, Barlas
author_facet Lin, Jessy
Zettlemoyer, Luke
Ghosh, Gargi
Yih, Wen-Tau
Markosyan, Aram
Berges, Vincent-Pierre
Oğuz, Barlas
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_15103
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Continual Learning via Sparse Memory Finetuning
Lin, Jessy
Zettlemoyer, Luke
Ghosh, Gargi
Yih, Wen-Tau
Markosyan, Aram
Berges, Vincent-Pierre
Oğuz, Barlas
Computation and Language
Artificial Intelligence
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.
title Continual Learning via Sparse Memory Finetuning
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.15103