# Poster 31090

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/31090

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone. I'm excited to talk about our work on language model memorization, specifically our work on introducing a novel taxonomy for language model memorization, which has relevance to intellectual property, privacy, and science of generalization. So what is language model memorization? There is a number of definitions, but we follow a strict definition called k-extractable.
Memorization can be broadly thought of as leaking training data. In this case, if you enter the first half of a training data example into a language model, consider the example memorized if the model outputs the latter half of the example verbatim. This is relevant for privacy.
In the case where perhaps language model is trained on personally identifiable information, we might not want the users or a model to be able to elicit this information. Similarly, on intellectual property grounds, we might want models to be able to learn from intellectual property, but the legal provenance is ambiguous or this violates fair use considerations. We might not want the models to elicit this training data.
And lastly, a scientific understanding of generalization. Why is it that models seem to generalize quite well and it seems unlikely that they're simply memorizing every training example? But for some data, you're able to elicit the responses verbatim from models.
We began our study by looking at a number of properties focused specifically on examples that are memorized versus not memorized. Broadly, we look at things like...
How many times an example is duplicated within the training data set? In our work, we study the Pythia model suite trained on the PIL, a popular web scrape data set. We also look at properties such as the token frequencies within the PIL and the model perplexity of the prompt, the continuation, so on. We broadly find that no single property.
clearly explains memorization and that it's a diverse phenomenon from this insight we build a novel taxonomy where we break memorized examples into three categories the first is recitation these are examples that are highly duplicated where the likely the reason the model memorized it is because the example appears a number of times within the data set
Reconstruction are examples where given the first given the prompt it's trivial to come up with a true generation a very simple example of this would be an incrementing number sequence or any capable language model would be able to continue the pattern
Lastly, and most interestingly, is recollection. These are examples whose memorization can't be attributed to the heuristics that make up recitation and reconstruction. This is an everything else category.
We find that as across models scale, as we increase parameter count, train on the same data, the main takeaway is that recollection makes up a greater and greater proportion of the memorized examples, whereas reconstruction remains flat. The main takeaway here is that larger, more capable models seem to have more complex and memorize more complex text.
that can't be attributed to simple patterns or highly duplicated text. By cross-training time, when we look at intermediate checkpoints for Pythia models, we find that similarly the proportion of the most examples which are recollection broadly increases as training progresses.
And lastly, to show the efficacy of leveraging our taxonomy, we use it for predicting whether examples are memorized or not by training a set of logistic regression models that we compare against a baseline where memorization is treated as a homogenous phenomenon. And what we broadly find is that leveraging our taxonomy improves performance and yields interpretable models for predicting memorization.
This is a rolling summary of our results. We encourage folks who are interested to dig into our paper and I'm very excited to discuss it. Thank you.
