[Paper Review] Emergent and Predictable Memorization in Large Language Models
This paper studies forecasting whether specific data will be memorized by large language models using cheap, smaller-scale or intermediate-training runs; it finds smaller models are poor predictors of memorization for much larger models, and analyzes scaling Law phenomena to guide equi-compute predictions.
Memorization, or the tendency of large language models (LLMs) to output entire sequences from their training data verbatim, is a key concern for safely deploying language models. In particular, it is vital to minimize a model's memorization of sensitive datapoints such as those containing personal identifiable information (PII). The prevalence of such undesirable memorization can pose issues for model trainers, and may even require discarding an otherwise functional model. We therefore seek to predict which sequences will be memorized before a large model's full train-time by extrapolating the memorization behavior of lower-compute trial runs. We measure memorization of the Pythia model suite and plot scaling laws for forecasting memorization, allowing us to provide equi-compute recommendations to maximize the reliability (recall) of such predictions. We additionally provide further novel discoveries on the distribution of memorization scores across models and data. We release all code and data necessary to reproduce the results in this paper at https://github.com/EleutherAI/pythia
Motivation & Objective
- Motivate safe deployment by predicting which training data points may be memorized by large LLMs.
- Develop methods to forecast memorization using low-cost, pretraining regimes (smaller or partially trained models).
- Characterize the reliability of such forecasts and provide equi-compute recommendations under a training budget.
- Analyze how memorization scales across model sizes and training progress to identify emergent patterns.
Proposed method
- Define k-extractibility as a measure of memorization and use memorization scores based on greedily generated continuations.
- Evaluate memorization across Pythia-based model suites at multiple sizes and seven training checkpoints.
- Treat smaller model memorization as a predictor for larger-model memorization and compute precision/recall metrics.
- Compare predictions from fully trained small models against a fully trained large model to assess cross-scale forecasting.
- Assess partial-training checkpoints within the same final model size to predict final memorization behavior.
- Plot scaling relationships and analyze emergent memorization phenomena under equi-compute constraints.

Experimental results
Research questions
- RQ1Can a large language model's memorization of a specific sequence be predicted from a smaller model's memorization behavior?
- RQ2Can memorization of a large model be forecast from partially trained checkpoints of the same final model size?
- RQ3What scaling patterns emerge when predicting memorization across model sizes and training budgets?
- RQ4What are the precision/recall trade-offs when using predictive signals derived from cheaper, low-cost runs?
Key findings
- Smaller models (down to 70M params) show high precision but very low recall for predicting memorization of a 12B model, making them unreliable predictors.
- Memorization across model scales degrades correlation as size gap increases, with large recall gaps for predicting final memorization from smaller models.
- Predicting memorization from partially trained checkpoints yields high precision but requires substantial compute before recall becomes reliable.
- Unusual scaling behavior is observed; equi-compute predictions shift which size is the best predictor depending on the compute budget.
- Emergent memorization is observed qualitatively, indicating large-model memorization cannot always be inferred from smaller-model behavior.
- The authors present a scaling-law-guided approach to identify the optimal equi-compute predictor to maximize recall while bounding compute.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.