Estimating near-verbatim extraction risk in language models with decoding-constrained beam search
Not on the map. Why?
Abstract (arXiv)
Recent work shows that standard greedy-decoding extraction methods for quantifying memorization in LLMs miss how extraction risk varies across sequences. Probabilistic extraction -- computing the probability of generating a target suffix given a prefix under a decoding scheme -- addresses this, but is tractable only for verbatim memorization, missing near-verbatim instances that pose similar privacy and copyright risks. Quantifying near-verbatim extraction risk is expensive: the set of near-verbatim suffixes is combinatorially large, and reliable Monte Carlo (MC) estimation can require ~100,000 samples per sequence. To mitigate this cost, we introduce decoding-constrained beam search, which yields deterministic lower bounds on near-verbatim extraction risk at a cost comparable to ~20 MC samples per sequence. Across experiments, our approach surfaces information invisible to verbatim methods: many more extractable sequences, substantially larger per-sequence extraction mass, and patterns in how near-verbatim extraction risk manifests across model sizes and types of text.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 50 references that are in the map. First posted on arXiv 26 Mar 2026.
Builds on
21 of 50 references.
References · 21
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 20242 OLMo 2 Furiouscited by 340
9 more
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
- 2023Talkin' 'Bout AI Generation: Copyright and the Generative-AI Supply Chaincited by 46
- 2025Extracting memorized pieces of (copyrighted) books from open-weight language modelscited by 30
- 2025Exploring the limits of strong membership inference attacks on large language modelscited by 22
- 2024The Files are in the Computer: On Copyright, Memorization, and Generative AIcited by 21
- 2026Extracting books from production language modelscited by 17
- 2024Machine Unlearning Doesn't Do What You Think: Lessons for Generative AI Policy and Researchcited by 15
- 2023Report of the 1st Workshop on Generative AI and Lawcited by 13
- 2025Machine Learners Should Acknowledge the Legal Implications of Large Language Models as Personal Datacited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Extractable Memorization From First Principlescited by 0
- 2026Extractable Memorization From First Principles14 Jul 2026