Emergent and Predictable Memorization in Large Language Models

Stella Biderman, USVSN Sai Prashanth, Lintang Sutawika, Hailey Schoelkopf, Quentin Anthony +2 more
2/12/2026

No official code found. Best implementation: EleutherAI/gpt-neox (7,470 stars, Apache-2.0, last commit 2026-04-13). 1 more below.

Abstract

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

View on arXivView PDF

Code Implementations(2)

EleutherAI/gpt-neoxCommunity100%
Apache-2.0

An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron and DeepSpeed libraries

7,4701,127C, C++Dec 22, 20206 months agoApache-2.0
deepspeed-librarygpt-3language-modeltransformers
EleutherAI/pythiaCommunity100%
Apache-2.0

The hub for EleutherAI's work on interpretability and learning dynamics

2,968225Shell, PythonDec 25, 202111 months agoApache-2.0

Cite this paper

@article{biderman2026emergent,
  title  = {Emergent and Predictable Memorization in Large Language Models},
  author = {Stella Biderman and USVSN Sai Prashanth and Lintang Sutawika and Hailey Schoelkopf and Quentin Anthony and Shivanshu Purohit and Edward Raf},
  year   = {2026},
  eprint = {2304.11158},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2304.11158},
  journal = {NEURIPS 2023 2023}
}

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/2304.11158.svg)](https://codeofpaper.com/paper/2304.11158)

Discussion