A Prior-Aware Metric for Efficiently Distinguishing Memorization from Generalization in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Training data leakage from Large Language Models (LLMs) raises serious concerns related to privacy, security, and copyright compliance. A central challenge in assessing this risk is distinguishing prefix-specific memorization of training data from the generation of statistically common sequences. Existing approaches to measuring memorization often conflate these phenomena, labeling outputs as memorized even when they arise from generalization over common patterns. Counterfactual memorization and other related metrics citepzhang2023counterfactual, wang2025generalization, lesci2024causal provide principled solutions, however, their reliance on retraining multiple baseline models or parsing through the training data makes them computationally impractical at scale. This work introduces Prior-Aware memorization, a theoretically grounded, lightweight and training-free criterion for identifying prefix-specific memorization in LLMs. The key idea is to evaluate whether a candidate suffix is strongly associated with its specific training prefix or whether it appears with high probability across many IID sampled sequences from the training data distribution due to statistical commonality. We correlate our metric with counterfactual memorization, and also evaluate it on the training corpora of two pre-trained models, LLaMA and OPT. Our results show that between 55% and 90% of sequences previously labeled as memorized fail our criterion and are consistent with statistical commonality
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 28 references that are in the map. First posted on arXiv 21 Feb 2026.
Builds on
22 of 28 references.
References · 22
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2023Detecting Pretraining Data from Large Language Modelscited by 375
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
- 2021Counterfactual Memorization in Neural Language Modelscited by 155
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
- 2023Speak, Memory: An Archaeology of Books Known to ChatGPT/GPT-4cited by 123
- 2023Copyright Violations and Large Language Modelscited by 108
10 more
- 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 91
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 67
- 2025How much do language models memorize?cited by 53
- 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Datacited by 49
- 2024Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenoncited by 30
- 2024Causal Estimation of Memorisation Profilescited by 20
- 2025Language Models May Verbatim Complete Text They Were Not Explicitly Trained Oncited by 20
- 2024Sequence-Level Leakage Risk of Training Data in Large Language Modelscited by 4
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