Pretraining Data Detection for Large Language Models: A Divergence-based Calibration Method
Not on the map. Why?
Abstract (arXiv)
As the scale of training corpora for large language models (LLMs) grows, model developers become increasingly reluctant to disclose details on their data. This lack of transparency poses challenges to scientific evaluation and ethical deployment. Recently, pretraining data detection approaches, which infer whether a given text was part of an LLM's training data through black-box access, have been explored. The Min-K% Prob method, which has achieved state-of-the-art results, assumes that a non-training example tends to contain a few outlier words with low token probabilities. However, the effectiveness may be limited as it tends to misclassify non-training texts that contain many common words with high probabilities predicted by LLMs. To address this issue, we introduce a divergence-based calibration method, inspired by the divergence-from-randomness concept, to calibrate token probabilities for pretraining data detection. We compute the cross-entropy (i.e., the divergence) between the token probability distribution and the token frequency distribution to derive a detection score. We have developed a Chinese-language benchmark, PatentMIA, to assess the performance of detection approaches for LLMs on Chinese text. Experimental results on English-language benchmarks and PatentMIA demonstrate that our proposed method significantly outperforms existing methods. Our code and PatentMIA benchmark are available at https://github.com/zhang-wei-chao/DC-PDD.
Key facts. Cited by 55 papers in the map (data through 14 Oct 2026). Builds on 26 of its 41 references that are in the map. First posted on arXiv 23 Sep 2024.
Builds on
26 of 41 references.
References · 26
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023Qwen Technical Reportcited by 3,344
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2021Membership Inference Attacks From First Principlescited by 878
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2023Baichuan 2: Open Large-scale Language Modelscited by 670
14 more
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 271
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
- 2021On the Importance of Difficulty Calibration in Membership Inference Attackscited by 147
- 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 103
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 82
- 2024DE-COP: Detecting Copyrighted Content in Language Models Training Datacited by 74
- 2019Membership Inference Attacks on Sequence-to-Sequence Models: Is My Data In Your Machine Translation System?cited by 71
- 2021Membership Inference Attack Susceptibility of Clinical Language Modelscited by 52
- 2019Improving Neural Response Diversity with Frequency-Aware Cross-Entropy Losscited by 29
- 2024Probing Language Models for Pre-training Data Detectioncited by 25
- 2023ChineseWebText: Large-scale High-quality Chinese Web Text Extracted with Effective Evaluation Modelcited by 16
- 2024Concerned with Data Contamination? Assessing Countermeasures in Code Language Modelcited by 14
Built on by
Citing papers per year: 2024: 1; 2025: 34; 2026: 20.
55 papers.
Sort:
By area:
- 2025A Survey on Data Contamination for Large Language Modelscited by 35
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 20
- 2025Empirical Analysis of Decoding Biases in Masked Diffusion Modelscited by 19
- 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigationcited by 10
- 2025Quantification of Large Language Model Distillationcited by 9
- 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasingscited by 8
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Modelscited by 7
- 2025Automated Detection of Pre-training Text in Black-box LLMscited by 6
- 2025ICAS: Detecting Training Data from Autoregressive Image Generative Modelscited by 6
- 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
- 2025Detecting Data Contamination from Reinforcement Learning Post-training for Large Language Modelscited by 6
- 2026Generative AI collective behavior needs an interactionist paradigmcited by 6
38 more
- 2025Tag&Tab: Pretraining Data Detection in Large Language Models Using Keyword-Based Membership Inference Attackcited by 5
- 2025Self-Reflective Planning with Knowledge Graphs: Enhancing LLM Reasoning Reliability for Question Answeringcited by 4
- 2025Hey, That's My Data! Token-Only Dataset Inference in Large Language Modelscited by 3
- 2025Do LLMs Align Human Values Regarding Social Biases? Judging and Explaining Social Biases with LLMscited by 3
- 2025BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channelcited by 3
- 2025In-Context Probing for Membership Inference in Fine-Tuned Language Modelscited by 3
- 2026Do LLMs Really Memorize Personally Identifiable Information? Revisiting PII Leakage with a Cue-Controlled Memorization Frameworkcited by 3
- 2026Membership Inference on LLMs in the Wildcited by 3
- 2024C2LEVA: Toward Comprehensive and Contamination-Free Language Model Evaluationcited by 2
- 2025Automatic Calibration for Membership Inference Attack on Large Language Modelscited by 2
- 2025LogitTrace: Detecting Benchmark Contamination via Layerwise Logit Trajectoriescited by 2
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMscited by 2
- 2025Machine Text Detectors are Membership Inference Attackscited by 2
- 2025Critical Confabulation: Can LLMs Hallucinate for Social Good?cited by 2
- 2026When Reasoning Leaks Membership: Membership Inference Attack on Black-box Large Reasoning Modelscited by 2
- 2025DIS-CO: Discovering Copyrighted Content in VLMs Training Datacited by 1
- 2025Provable Training Data Identification for Large Language Modelscited by 1
- 2025Forgetting-MarI: LLM Unlearning via Marginal Information Regularizationcited by 1
- 2026Pretraining Exposure Explains Popularity Judgments in Large Language Modelscited by 1
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Modelscited by 1
- 2025Evidencing Unauthorized Training Data from AI Generated Content using Information Isotopescited by 0
- 2025A Systematic Analysis of Base Model Choice for Reward Modelingcited by 0
- 2025RN-F: A Novel Approach for Mitigating Contaminated Data in Large Language Modelscited by 0
- 2025An Analysis of Datasets, Metrics and Models in Keyphrase Generationcited by 0
- 2025Are AI Coders Snitches? An Empirical Study of Pretraining Data Detection on Code Large Language Modelscited by 0
- 2025Fast-MIA: Efficient and Scalable Membership Inference for LLMscited by 0
- 2025RECAP: Reproducing Copyrighted Data from LLMs Training with an Agentic Pipelinecited by 0
- 2025LLM generation novelty through the lens of semantic similaritycited by 0
- 2025On the Effectiveness of Membership Inference in Targeted Data Extraction from Large Language Modelscited by 0
- 2025Perturb Your Data: Paraphrase-Guided Training Data Watermarkingcited by 0
- 2026From Unfamiliar to Familiar: Detecting Pre-training Data via Gradient Deviations in Large Language Modelscited by 0
- 2026Detecting Non-Membership in LLM Training Data via Rank Correlationscited by 0
- 2026Filling the Gaps: Selective Knowledge Augmentation for LLM Recommenderscited by 0
- 2026DistractMIA: Black-Box Membership Inference on Vision-Language Models via Semantic Distractioncited by 0
- 2026Provable Joint Decontamination for Benchmarking Multiple Large Language Modelscited by 0
- 2026Toxic HallucinAItions: Perturbing Prompts and Tracing LLM Circuitscited by 0
- 2026MC-PDD: Masked Corpus-Level Pretraining Data Detection for Black-Box Large Language Modelscited by 0
- 2026Trade-offs in Medical LLM Adaptation: An Empirical Study in French QAcited by 0
50 most cited of 55 All 55 (JSON)
- 2026Detecting Pretraining Data in Large Language Models from a Free-Energy Perspective18 Sep 2026
- 2026Calibrating Post-Training Feature Shifts for LLM Data Contamination Detection11 Aug 2026
- 2026Zero Gap Is Not Restoration: Stratified Per-Question Probability Evaluation and Step-wise Mitigation of Benchmark Contamination7 Aug 2026
- 2026SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models29 Jun 2026
- 2026Revealing Training Data Exposure in Vision Language Large Models via Parameter Gradients23 Jun 2026
- 2026Trade-offs in Medical LLM Adaptation: An Empirical Study in French QA17 Jun 2026
- 2026MC-PDD: Masked Corpus-Level Pretraining Data Detection for Black-Box Large Language Models6 Jun 2026
- 2026Toxic HallucinAItions: Perturbing Prompts and Tracing LLM Circuits29 May 2026
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Models28 May 2026
- 2026Provable Joint Decontamination for Benchmarking Multiple Large Language Models20 May 2026
- 2026DistractMIA: Black-Box Membership Inference on Vision-Language Models via Semantic Distraction12 May 2026
- 2026Pretraining Exposure Explains Popularity Judgments in Large Language Models12 May 2026
38 more
- 2026Filling the Gaps: Selective Knowledge Augmentation for LLM Recommenders9 Apr 2026
- 2026Detecting Non-Membership in LLM Training Data via Rank Correlations24 Mar 2026
- 2026From Unfamiliar to Familiar: Detecting Pre-training Data via Gradient Deviations in Large Language Models5 Mar 2026
- 2026When Reasoning Leaks Membership: Membership Inference Attack on Black-box Large Reasoning Models20 Jan 2026
- 2026Membership Inference on LLMs in the Wild16 Jan 2026
- 2026Generative AI collective behavior needs an interactionist paradigm15 Jan 2026
- 2026Do LLMs Really Memorize Personally Identifiable Information? Revisiting PII Leakage with a Cue-Controlled Memorization Framework7 Jan 2026
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Models6 Jan 2026
- 2025Perturb Your Data: Paraphrase-Guided Training Data Watermarking18 Dec 2025
- 2025In-Context Probing for Membership Inference in Fine-Tuned Language Models18 Dec 2025
- 2025On the Effectiveness of Membership Inference in Targeted Data Extraction from Large Language Models15 Dec 2025
- 2025BudgetLeak: Membership Inference Attacks on RAG Systems via the Generation Budget Side Channel15 Nov 2025
- 2025Forgetting-MarI: LLM Unlearning via Marginal Information Regularization14 Nov 2025
- 2025Critical Confabulation: Can LLMs Hallucinate for Social Good?11 Nov 2025
- 2025LLM generation novelty through the lens of semantic similarity31 Oct 2025
- 2025RECAP: Reproducing Copyrighted Data from LLMs Training with an Agentic Pipeline29 Oct 2025
- 2025Fast-MIA: Efficient and Scalable Membership Inference for LLMs27 Oct 2025
- 2025Machine Text Detectors are Membership Inference Attacks22 Oct 2025
- 2025Provable Training Data Identification for Large Language Models10 Oct 2025
- 2025Detecting Data Contamination from Reinforcement Learning Post-training for Large Language Models10 Oct 2025
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMs7 Oct 2025
- 2025LogitTrace: Detecting Benchmark Contamination via Layerwise Logit Trajectories25 Sep 2025
- 2025Do LLMs Align Human Values Regarding Social Biases? Judging and Explaining Social Biases with LLMs17 Sep 2025
- 2025Beyond Data Privacy: New Privacy Risks for Large Language Models16 Sep 2025
- 2025Empirical Analysis of Decoding Biases in Masked Diffusion Models18 Aug 2025
- 2025Are AI Coders Snitches? An Empirical Study of Pretraining Data Detection on Code Large Language Models23 Jul 2025
- 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigation8 Jul 2025
- 2025ICAS: Detecting Training Data from Autoregressive Image Generative Models7 Jul 2025
- 2025Automated Detection of Pre-training Text in Black-box LLMs24 Jun 2025
- 2025An Analysis of Datasets, Metrics and Models in Keyphrase Generation12 Jun 2025
- 2025Hey, That's My Data! Token-Only Dataset Inference in Large Language Models6 Jun 2025
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets5 Jun 2025
- 2025Self-Reflective Planning with Knowledge Graphs: Enhancing LLM Reasoning Reliability for Question Answering26 May 2025
- 2025RN-F: A Novel Approach for Mitigating Contaminated Data in Large Language Models19 May 2025
- 2025A Systematic Analysis of Base Model Choice for Reward Modeling16 May 2025
- 2025Automatic Calibration for Membership Inference Attack on Large Language Models6 May 2025
- 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasings18 Apr 2025
- 2025Evidencing Unauthorized Training Data from AI Generated Content using Information Isotopes24 Mar 2025
50 newest of 55 All 55 (JSON)
- 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigationcited by 10
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Modelscited by 7
- 2025ICAS: Detecting Training Data from Autoregressive Image Generative Modelscited by 6
- 2025Tag&Tab: Pretraining Data Detection in Large Language Models Using Keyword-Based Membership Inference Attackcited by 5
- 2025In-Context Probing for Membership Inference in Fine-Tuned Language Modelscited by 3
- 2026Membership Inference on LLMs in the Wildcited by 3
- 2025Automatic Calibration for Membership Inference Attack on Large Language Modelscited by 2
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMscited by 2
- 2025Machine Text Detectors are Membership Inference Attackscited by 2
- 2026When Reasoning Leaks Membership: Membership Inference Attack on Black-box Large Reasoning Modelscited by 2
- 2025Forgetting-MarI: LLM Unlearning via Marginal Information Regularizationcited by 1
- 2025Fast-MIA: Efficient and Scalable Membership Inference for LLMscited by 0
12 most cited of 13 All 13 (JSON)
- 2026When Reasoning Leaks Membership: Membership Inference Attack on Black-box Large Reasoning Models20 Jan 2026
- 2026Membership Inference on LLMs in the Wild16 Jan 2026
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Models6 Jan 2026
- 2025In-Context Probing for Membership Inference in Fine-Tuned Language Models18 Dec 2025
- 2025On the Effectiveness of Membership Inference in Targeted Data Extraction from Large Language Models15 Dec 2025
- 2025Forgetting-MarI: LLM Unlearning via Marginal Information Regularization14 Nov 2025
- 2025Fast-MIA: Efficient and Scalable Membership Inference for LLMs27 Oct 2025
- 2025Machine Text Detectors are Membership Inference Attacks22 Oct 2025
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMs7 Oct 2025
- 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigation8 Jul 2025
- 2025ICAS: Detecting Training Data from Autoregressive Image Generative Models7 Jul 2025
- 2025Automatic Calibration for Membership Inference Attack on Large Language Models6 May 2025
12 newest of 13 All 13 (JSON)
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 20
- 2025Do LLMs Align Human Values Regarding Social Biases? Judging and Explaining Social Biases with LLMscited by 3
- 2025A Systematic Analysis of Base Model Choice for Reward Modelingcited by 0
- 2025Do LLMs Align Human Values Regarding Social Biases? Judging and Explaining Social Biases with LLMs17 Sep 2025
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets5 Jun 2025
- 2025A Systematic Analysis of Base Model Choice for Reward Modeling16 May 2025
- 2025A Survey on Data Contamination for Large Language Modelscited by 35
- 2025Quantification of Large Language Model Distillationcited by 9
- 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasingscited by 8
- 2025Automated Detection of Pre-training Text in Black-box LLMscited by 6
- 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
- 2025Detecting Data Contamination from Reinforcement Learning Post-training for Large Language Modelscited by 6
- 2026Generative AI collective behavior needs an interactionist paradigmcited by 6
- 2025Hey, That's My Data! Token-Only Dataset Inference in Large Language Modelscited by 3
- 2026Do LLMs Really Memorize Personally Identifiable Information? Revisiting PII Leakage with a Cue-Controlled Memorization Frameworkcited by 3
- 2024C2LEVA: Toward Comprehensive and Contamination-Free Language Model Evaluationcited by 2
- 2025LogitTrace: Detecting Benchmark Contamination via Layerwise Logit Trajectoriescited by 2
- 2025Critical Confabulation: Can LLMs Hallucinate for Social Good?cited by 2
12 most cited of 33 All 33 (JSON)
- 2026Detecting Pretraining Data in Large Language Models from a Free-Energy Perspective18 Sep 2026
- 2026Calibrating Post-Training Feature Shifts for LLM Data Contamination Detection11 Aug 2026
- 2026Zero Gap Is Not Restoration: Stratified Per-Question Probability Evaluation and Step-wise Mitigation of Benchmark Contamination7 Aug 2026
- 2026SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models29 Jun 2026
- 2026Revealing Training Data Exposure in Vision Language Large Models via Parameter Gradients23 Jun 2026
- 2026Trade-offs in Medical LLM Adaptation: An Empirical Study in French QA17 Jun 2026
- 2026MC-PDD: Masked Corpus-Level Pretraining Data Detection for Black-Box Large Language Models6 Jun 2026
- 2026Toxic HallucinAItions: Perturbing Prompts and Tracing LLM Circuits29 May 2026
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Models28 May 2026
- 2026Provable Joint Decontamination for Benchmarking Multiple Large Language Models20 May 2026
- 2026Pretraining Exposure Explains Popularity Judgments in Large Language Models12 May 2026
- 2026Filling the Gaps: Selective Knowledge Augmentation for LLM Recommenders9 Apr 2026
12 newest of 33 All 33 (JSON)