Don't Forget! Decomposing the Training Dynamics of Memorization in Language Models

Florian Eichin, Philipp Mondorf, Andrei Mircea, Yupei Du, Barbara Plank +1 more
9/28/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

Memorization has been proposed as a mechanism to explain how language models fit the tail of their training distributions, but its training dynamics are not understood well. In this work, we take a fine-grained look at memorization by decomposing the loss trajectory of memorized sequences over training and model parameters.

Show full abstract

Across the Pythia family, we study memorization of duplicated training sequences (recitation) and rare ones (recollection). We find that memorization in both cases is characterized by sequence-level gradient alignment, though recitation suffers from misalignment with other training influences which causes forgetting, explaining the necessity for higher duplication of these examples. We further show that the lower model layers are the most involved in memorization and forgetting. Predicting memorization, our decomposition improves over a cross-entropy baseline, especially in larger models and early in training. Intervening on a small set of highly influential parameters we are able to ablate memorization in the final model. Together, these findings advance our understanding of how memorization develops during training and offer insights for predicting and intervening on it.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{eichin2026dont,
  title  = {Don't Forget! Decomposing the Training Dynamics of Memorization in Language Models},
  author = {Florian Eichin and Philipp Mondorf and Andrei Mircea and Yupei Du and Barbara Plank and Michael A. Hedderich},
  year   = {2026},
  eprint = {2609.34933},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.34933v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.34933.svg)](https://codeofpaper.com/paper/2609.34933)

Discussion