AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

Quantifying Memorization Across Neural Language Models

Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, Chiyuan Zhang

ICLR 2023 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 162 citations (OpenAlex) · Google, Carnegie Mellon University, Cornell University, ETH Zurich

Read the paper

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase model size within the GPT-Neo familyGPT-Neo · The Pile, duplication- and length-normalized sampleextractable memorization: a ten fold increase in model size corresponds to an increase in memorization of 19 percentage pointsImproved
Train on The Pile rather than WebTextGPT-Neo-1.3B versus similarly sized GPT-2 · The Pile-derived promptsextractable sequences: 6% compared to 40%Improved
Increase the number of training repetitionsGPT-Neo trained on The Pile · The Pile, sequences repeated 2 to 900 timesextractable sequencesImproved
Increase prompt context lengthGPT-J-6B · The Pile, 50-token versus 450-token contextextractable sequences: 33% ... compared to 65%Improved
Use a uniformly random training-data sample instead of a duplication-normalized sample (ablation)GPT-Neo and GPT-J · The Pilequalitative model-scale and context-length trendsNo clear effect
Replace greedy decoding with beam search using 100 beams (ablation)GPT-Neo · The Pileextractable memorization: just under 2 percentage points on average, with a maximum of 5.6%Improved
Check generated text against the entire training dataset rather than only the selected example continuation (ablation)Extractability measurement · C4, examples repeated 100 timesmeasured extractability: 32.6% ... but just 15.8%Improved
Use masked language modeling rather than causal language modelingT5-XL versus GPT-Neo-2.7B · C4 and The Pile, sequences repeated 100 timesmemorized sequences: 3.5% ... whereas ... 53.6%Hurt
Increase duplication countT5 trained on C4 · C4memorized sequences: less than 5.1% ... at least 6.2%Mixed
Train on exactly deduplicated C4 instead of non-deduplicated C4 (ablation)1.5B causal language model · C4, sequences repeated below 35 timesmemorized sequences: 3.6% to 1.2%Improved
Apply deduplication to examples repeated at least 408 times (ablation)1.5B causal language models trained on deduplicated C4 · C4, sequences repeated at least 408 timesmemorized sequencesNo clear effect
Train on deduplicated Pile-derived data rather than The PileOPT models · The Pile-derived promptsextractable memorizationHurt

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy