Skip to content
Preprint

Extractable Memorization From First Principles

Jul 2026 · 0 citations · 51 references
Computer Science

TL;DR

It is shown that matched comparisons enable rigorous, calibrated memorization claims, and reveal where prior setups have validity issues, which require a valid memorization claim and near-certain generation within a realistic budget.

Abstract

Recent work on extractable memorization in LLMs suffers from two contrasting validity problems. Some studies overstate extraction, e.g., relying on sequences too short to distinguish memorization from predictability. Others imply that extraction is unreliable evidence of memorization, since models can also reproduce real-world text they weren't explicitly trained on. In different ways, both overlook what makes a valid extraction claim: the model must generate a training sequence with high enough probability to indicate memorization. To determine what's high enough, one has to perform a matched comparison: measuring the generation probabilities of both the training sequences of interest and comparable non-training sequences. Because non-training sequences cannot have been memorized, their probabilities provide a baseline for predictability; a training sequence exceeding this baseline provides evidence of memorization. We formalize matched comparisons in two ways: (1) a conformal test that calibrates a threshold to a chosen FPR when training and non-training sequences are sampled from populations, and (2) a census that calibrates against a matched non-training document when the object is a single document (e.g., a book). We show that matched comparisons enable rigorous, calibrated memorization claims, and reveal where prior setups have validity issues. For instance, on Wikipedia OLMo 2 32B reproduces non-training 10-token suffixes roughly 24% as often as training ones: that share of the training generation rate reflects false positives, not memorization. For Llama 3.1 70B on books, the thresholds we calibrate are as low as 1e-27, supporting memorization claims for sequences that no feasible sampling budget would extract. Based on these results, we refine"extractable memorization"to require a valid memorization claim and near-certain generation within a realistic budget.

View source

Similar papers

2025

For Better or for Worse, Transformers Seek Patterns for Memorization

This work investigates memorization in transformer-based language models by analyzing their memorization dynamics during training over multiple epochs and finds that memorization is neither a constant accumulation of sequences nor simply dictated by the recency of exposure to these sequences.

Madhur Panwar, Gail Weiss, Navin Goyal et al. · 1 citation
#large language models Open access Oct 2026

LLMs Leak Training Data Beyond Verbatim Memorization: Extraction via Membership Decoding

The Membership Decoding method is a plug-and-play replacement for standard decoding that requires only black-box token probabilities, and a new token-level membership inference method is proposed by leveraging likelihood from reference models, shifting the generation from the original token distribution to the member t...

Zi-Tai Chen, Reza Shokri · 0 citations
Open access Jul 2026

Surprise gates two distinct mechanisms to support memorability in music

Analysis of the neural correlates of minutes-scale memorability using intracranial EEG recordings from nine patients with epilepsy performing a musical memory task reveals complementary neural mechanisms through which statistical structure shapes musical sequence memory, clarifying how the brain encodes complex, ecolog...

Mathieu Pham Van Cang, Paul Robert, Manuel R Mercier et al. · 0 citations
Jun 2026

Probing Memorization of Tabular In-Context Learning

ICLMEM is introduced, a probing framework designed to separate context-based predictions from parametric memorization in tabular ICL, and shows LTM memorization signals under specific circumstances (single-task fine-tuning with fixed samples across many epochs and small query size).

Francesco Capano, Jonas Böhler · 0 citations
#machine learning Preprint Aug 2026

Learned, Then Lost: A Measured Single-Example Counterfactual in Pre-training

A single training example's contribution to a finished model is normally estimated rather than measured, because measuring it takes two expensive full pre-training runs that differ in one row of one batch. We ran that counterfactual 24 times at a small scale. We trained 32 GPT-2 models at 124M parameters from scratch o...

Zachary Speck, Asa Shepard · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.