Memories Retrieved from Many Paths: A Multi-Prefix Framework for Robust Detection of Training Data Leakage in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models, trained on massive corpora, are prone to verbatim memorization of training data, creating significant privacy and copyright risks. While previous works have proposed various definitions for memorization, many exhibit shortcomings in comprehensively capturing this phenomenon, especially in aligned models. To address this, we introduce a novel framework: multi-prefix memorization. Our core insight is that memorized sequences are deeply encoded and thus retrievable via a significantly larger number of distinct prefixes than non-memorized content. We formalize this by defining a sequence as memorized if an external adversarial search can identify a target count of distinct prefixes that elicit it. This framework shifts the focus from single-path extraction to quantifying the robustness of a memory, measured by the diversity of its retrieval paths. Through experiments on open-source and aligned chat models, we demonstrate that our multi-prefix definition reliably distinguishes memorized from non-memorized data, providing a robust and practical tool for auditing data leakage in LLMs.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 20 of its 26 references that are in the map. First posted on arXiv 25 Nov 2025.
Builds on
20 of 26 references.
References · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2024Do Membership Inference Attacks Work on Large Language Models?cited by 188
- 2024LLM Dataset Inference: Did you train on my dataset?cited by 107
8 more
- 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 97
- 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 91
- 2024Blind Baselines Beat Membership Inference Attacks for Foundation Modelscited by 65
- 2024ReCaLL: Membership Inference via Relative Conditional Log-Likelihoodscited by 61
- 2024SoK: Membership Inference Attacks on LLMs are Rushing Nowhere (and How to Fix It)cited by 54
- 2024Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Samplingcited by 33
- 2024Semantic Membership Inference Attack against Large Language Modelscited by 17
- 2023Report of the 1st Workshop on Generative AI and Lawcited by 12
Built on by
Citing papers per year: 2026: 2.
2 papers.