LLM Dataset Inference: Did you train on my dataset?
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
The proliferation of large language models (LLMs) in the real world has come with a rise in copyright cases against companies for training their models on unlicensed data from the internet. Recent works have presented methods to identify if individual text sequences were members of the model's training data, known as membership inference attacks (MIAs). We demonstrate that the apparent success of these MIAs is confounded by selecting non-members (text sequences not used for training) belonging to a different distribution from the members (e.g., temporally shifted recent Wikipedia articles compared with ones used to train the model). This distribution shift makes membership inference appear successful. However, most MIA methods perform no better than random guessing when discriminating between members and non-members from the same distribution (e.g., in this case, the same period of time). Even when MIAs work, we find that different MIAs succeed at inferring membership of samples from different distributions. Instead, we propose a new dataset inference method to accurately identify the datasets used to train large language models. This paradigm sits realistically in the modern-day copyright landscape, where authors claim that an LLM is trained over multiple documents (such as a book) written by them, rather than one particular paragraph. While dataset inference shares many of the challenges of membership inference, we solve it by selectively combining the MIAs that provide positive signal for a given distribution, and aggregating them to perform a statistical test on a given dataset. Our approach successfully distinguishes the train and test sets of different subsets of the Pile with statistically significant p-values < 0.1, without any false positives.
Key facts. Cited by 107 papers in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 22 of its 43 references that are in the map. First posted on arXiv 10 Jun 2024.
Builds on
22 of 43 references.
Closest ancestors · 5
Same direction, newest first
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
- 2021Membership Inference Attacks From First Principles7 Dec
- 2021Dataset Inference: Ownership Resolution in Machine Learning21 Apr
- 2021Membership Inference Attacks are Easier on Difficult Problems15 Feb
Other references · 17
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 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
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
- 2023Detecting Pretraining Data from Large Language Modelscited by 375
- 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 278
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
- 2023Privacy Auditing with One (1) Training Runcited by 119
5 more
- 2023Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Modelscited by 80
- 2021NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentationcited by 72
- 2023SILO Language Models: Isolating Legal Risk In a Nonparametric Datastorecited by 71
- 2023Unveiling Security, Privacy, and Ethical Concerns of ChatGPTcited by 53
- 2022Dataset Inference for Self-Supervised Modelscited by 36
Built on by
Citing papers per year: 2024: 16; 2025: 53; 2026: 38.
107 papers.
Sort:
By area:
- 2025Measuring what Matters: Construct Validity in Large Language Model Benchmarkscited by 102
- 2024LLM Unlearning via Loss Adjustment with Only Forget Datacited by 71
- 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
- 2025How much do language models memorize?cited by 53
- 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Datacited by 49
- 2025Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generationcited by 26
- 2024Generating Is Believing: Membership Inference Attacks against Retrieval-Augmented Generationcited by 25
- 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignmentcited by 24
- 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Modelscited by 21
- 2024Context-Aware Membership Inference Attacks against Pre-trained Large Language Modelscited by 20
- 2025Language Models May Verbatim Complete Text They Were Not Explicitly Trained Oncited by 20
38 more
- 2025Membership Inference Attacks on Large-Scale Models: A Surveycited by 17
- 2025GUARD: Generation-time LLM Unlearning via Adaptive Restriction and Detectioncited by 17
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarkscited by 15
- 2025Privacy Attacks on Image AutoRegressive Modelscited by 15
- 2024Detecting Training Data of Large Language Models via Expectation Maximizationcited by 13
- 2025How Contaminated Is Your Benchmark? Quantifying Dataset Leakage in Large Language Models with Kernel Divergencecited by 13
- 2025AlphaDecay: Module-wise Weight Decay for Heavy-Tailed Balancing in LLMscited by 12
- 2025Dataset Protection via Watermarked Canaries in Retrieval-Augmented LLMscited by 11
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attackscited by 9
- 2024Towards More Realistic Extraction Attacks: An Adversarial Perspectivecited by 8
- 2025Robust Data Watermarking in Language Models by Injecting Fictitious Knowledgecited by 8
- 2025Information-Guided Identification of Training Data Imprint in (Proprietary) Large Language Modelscited by 8
- 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasingscited by 8
- 2025DATABench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspectivecited by 8
- 2025On The Fragility of Benchmark Contamination Detection in Reasoning Modelscited by 8
- 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agentscited by 8
- 2024Fine-tuning can Help Detect Pretraining Data from Large Language Modelscited by 7
- 2025Unlocking Post-hoc Dataset Inference with Synthetic Datacited by 7
- 2025Detecting Data Contamination in LLMs via In-Context Learningcited by 7
- 2024Self-Comparison for Dataset-Level Membership Inference in Large (Vision-)Language Modelscited by 6
- 2025Winter Soldier: Backdooring Language Models at Pre-Training with Indirect Data Poisoningcited by 6
- 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
- 2026From Data to Behavior: Predicting Unintended Model Behaviors Before Trainingcited by 6
- 2025Tag&Tab: Pretraining Data Detection in Large Language Models Using Keyword-Based Membership Inference Attackcited by 5
- 2025Automated Detection of Pre-training Text in Black-box LLMscited by 5
- 2025Leave No TRACE: Black-box Detection of Copyrighted Dataset Usage in Large Language Models via Watermarkingcited by 5
- 2024Measuring Fingerprints of Web-filtered Text Datasets and Fingerprint Propagation Through Trainingcited by 4
- 2025The Heap: A Contamination-Free Multilingual Code Dataset for Evaluating Large Language Modelscited by 4
- 2025Facts Fade Fast: Evaluating Memorization of Outdated Medical Knowledge in Large Language Modelscited by 4
- 2026VidLeaks: Membership Inference Attacks Against Text-to-Video Modelscited by 4
- 2025Synthetic Data Can Mislead Evaluations: Membership Inference as Machine Text Detectioncited by 3
- 2025PoisonedParrot: Subtle Data Poisoning Attacks to Elicit Copyright-Infringing Content from Large Language Modelscited by 3
- 2025The Feasibility of Topic-Based Watermarking on Academic Peer Reviewscited by 3
- 2025Hey, That's My Data! Token-Only Dataset Inference in Large Language Modelscited by 3
- 2025Neural Breadcrumbs: Membership Inference Attacks on LLMs Through Hidden State and Attention Pattern Analysiscited by 3
- 2025Membership Inference Attacks on Tokenizers of Large Language Modelscited by 3
- 2025Data Provenance Auditing of Fine-Tuned Large Language Models with a Text-Preserving Techniquecited by 3
- 2025What Really is a Member? Discrediting Membership Inference via Poisoningcited by 2
50 most cited of 107 All 107 (JSON)
- 2026The Null Is the Hard Part: Exact Tests for Memorization in Generative Models23 Sep 2026
- 2026Extracting Forgotten Prompts from Targeted Unlearned Models3 Sep 2026
- 2026Excess Separability: Nuisance-Controlled Residual-Stream Probing for Benchmark Contamination Detection12 Aug 2026
- 2026Calibrating Post-Training Feature Shifts for LLM Data Contamination Detection11 Aug 2026
- 2026When Is Benchmark Contamination Detectable? Information Limits and Power-Calibrated Audits8 Aug 2026
- 2026Not All 4-bit Quantizers Are Equal: Deployment-Time Mitigation of PII Leakage in Fine-Tuned Small Language Models2 Aug 2026
- 2026Leak It: Per-Document Extraction Beyond Aggregate Membership Inference31 Jul 2026
- 2026Extractable Memorization From First Principles14 Jul 2026
- 2026WARP: Weight-Space Analysis for Recovering Training Data Portfolios2 Jul 2026
- 2026Anchored or Drifting: What Recursive Self-Generation Reveals About Training Data30 Jun 2026
- 2026Why Trust Your Agent? Empirical Security Gains from TRiSM-Guided Agentic Workflows in Healthcare27 Jun 2026
- 2026Natural Identifiers for Privacy and Data Audits in Large Language Models23 Jun 2026
38 more
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Models22 Jun 2026
- 2026Reference-Based Distillation Detection in LLMs19 Jun 2026
- 2026DIPBox: A Multi-scale Testing Framework for Tracking Dataset Regeneration19 Jun 2026
- 2026OVIG: Optimistic Verification of AI Training Integrity via Gradient Signals19 Jun 2026
- 2026The Reliability Gap in Benchmark Auditing: Distribution Shift and Scale as Failure Modes of Contamination Detection2 Jun 2026
- 2026Implicit Identity Technologies for LLMs: Fingerprinting and Watermarking across Datasets, Models, and Generated Content28 May 2026
- 2026Models That Know How Evaluations Are Designed Score Safer27 May 2026
- 2026Provable Joint Decontamination for Benchmarking Multiple Large Language Models20 May 2026
- 2026Black-box model classification under the discriminative factorization8 May 2026
- 2026Behavioral Canaries: Auditing Private Retrieved Context Usage in RL Fine-Tuning24 Apr 2026
- 2026Membership Inference Attacks against Large Audio Language Models30 Mar 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
- 2026Detecting Non-Membership in LLM Training Data via Rank Correlations24 Mar 2026
- 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agents13 Mar 2026
- 2026Learning to Detect Language Model Training Data via Active Reconstruction22 Feb 2026
- 2026From Data to Behavior: Predicting Unintended Model Behaviors Before Training4 Feb 2026
- 2026From Competition to Collaboration: Designing Sustainable Mechanisms Between LLMs and Online Forums4 Feb 2026
- 2026Causal Evaluation of Membership Inference Attacks2 Feb 2026
- 2026EvoMU: Evolutionary Machine Unlearning2 Feb 2026
- 2026Assessing Domain-Level Susceptibility to Emergent Misalignment from Narrow Finetuning30 Jan 2026
- 2026The Limits of AI Data Transparency Policy: Three Disclosure Fallacies26 Jan 2026
- 2026Responsible AI for General-Purpose Systems: Overview, Challenges, and A Path Forward19 Jan 2026
- 2026On the Evidentiary Limits of Membership Inference for Copyright Auditing19 Jan 2026
- 2026VidLeaks: Membership Inference Attacks Against Text-to-Video Models16 Jan 2026
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluations7 Jan 2026
- 2026Shadow Unlearning: A Neuro-Semantic Approach to Fidelity-Preserving Faceless Forgetting in LLMs7 Jan 2026
- 2025Perturb Your Data: Paraphrase-Guided Training Data Watermarking18 Dec 2025
- 2025Membership and Dataset Inference Attacks on Large Audio Generative Models10 Dec 2025
- 2025Memories Retrieved from Many Paths: A Multi-Prefix Framework for Robust Detection of Training Data Leakage in Large Language Models25 Nov 2025
- 2025Observational Auditing of Label Privacy18 Nov 2025
- 2025Critical Confabulation: Can LLMs Hallucinate for Social Good?11 Nov 2025
- 2025Measuring what Matters: Construct Validity in Large Language Model Benchmarks3 Nov 2025
- 2025EL-MIA: Quantifying Membership Inference Risks of Sensitive Entities in LLMs31 Oct 2025
- 2025Detecting Data Contamination in LLMs via In-Context Learning30 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
- 2025Data Provenance Auditing of Fine-Tuned Large Language Models with a Text-Preserving Technique7 Oct 2025
- 2025Membership Inference Attacks on Tokenizers of Large Language Models7 Oct 2025
50 newest of 107 All 107 (JSON)
- 2024LLM Unlearning via Loss Adjustment with Only Forget Datacited by 71
- 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
- 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Datacited by 49
- 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Modelscited by 21
- 2024Context-Aware Membership Inference Attacks against Pre-trained Large Language Modelscited by 20
- 2025GUARD: Generation-time LLM Unlearning via Adaptive Restriction and Detectioncited by 17
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarkscited by 15
- 2024Detecting Training Data of Large Language Models via Expectation Maximizationcited by 13
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attackscited by 9
- 2025Robust Data Watermarking in Language Models by Injecting Fictitious Knowledgecited by 8
- 2025Winter Soldier: Backdooring Language Models at Pre-Training with Indirect Data Poisoningcited by 6
12 most cited of 40 All 40 (JSON)
- 2026Extracting Forgotten Prompts from Targeted Unlearned Models3 Sep 2026
- 2026Excess Separability: Nuisance-Controlled Residual-Stream Probing for Benchmark Contamination Detection12 Aug 2026
- 2026Leak It: Per-Document Extraction Beyond Aggregate Membership Inference31 Jul 2026
- 2026WARP: Weight-Space Analysis for Recovering Training Data Portfolios2 Jul 2026
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Models22 Jun 2026
- 2026Implicit Identity Technologies for LLMs: Fingerprinting and Watermarking across Datasets, Models, and Generated Content28 May 2026
- 2026Membership Inference Attacks against Large Audio Language Models30 Mar 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
- 2026Learning to Detect Language Model Training Data via Active Reconstruction22 Feb 2026
- 2026Causal Evaluation of Membership Inference Attacks2 Feb 2026
- 2026EvoMU: Evolutionary Machine Unlearning2 Feb 2026
- 2026Assessing Domain-Level Susceptibility to Emergent Misalignment from Narrow Finetuning30 Jan 2026
12 newest of 40 All 40 (JSON)
- 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agentscited by 8
- 2025RECAP: Reproducing Copyrighted Data from LLMs Training with an Agentic Pipelinecited by 0
- 2026Behavioral Canaries: Auditing Private Retrieved Context Usage in RL Fine-Tuningcited by 0
- 2026Why Trust Your Agent? Empirical Security Gains from TRiSM-Guided Agentic Workflows in Healthcarecited by 0
- 2026Why Trust Your Agent? Empirical Security Gains from TRiSM-Guided Agentic Workflows in Healthcare27 Jun 2026
- 2026Behavioral Canaries: Auditing Private Retrieved Context Usage in RL Fine-Tuning24 Apr 2026
- 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agents13 Mar 2026
- 2025RECAP: Reproducing Copyrighted Data from LLMs Training with an Agentic Pipeline29 Oct 2025
- 2025Measuring what Matters: Construct Validity in Large Language Model Benchmarkscited by 102
- 2025How much do language models memorize?cited by 53
- 2025Language Models May Verbatim Complete Text They Were Not Explicitly Trained Oncited by 20
- 2025How Contaminated Is Your Benchmark? Quantifying Dataset Leakage in Large Language Models with Kernel Divergencecited by 13
- 2025AlphaDecay: Module-wise Weight Decay for Heavy-Tailed Balancing in LLMscited by 12
- 2024Towards More Realistic Extraction Attacks: An Adversarial Perspectivecited by 8
- 2025Information-Guided Identification of Training Data Imprint in (Proprietary) Large Language Modelscited by 8
- 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasingscited by 8
- 2025DATABench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspectivecited by 8
- 2024Fine-tuning can Help Detect Pretraining Data from Large Language Modelscited by 7
- 2025Detecting Data Contamination in LLMs via In-Context Learningcited by 7
- 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
12 most cited of 50 All 50 (JSON)
- 2026The Null Is the Hard Part: Exact Tests for Memorization in Generative Models23 Sep 2026
- 2026Calibrating Post-Training Feature Shifts for LLM Data Contamination Detection11 Aug 2026
- 2026When Is Benchmark Contamination Detectable? Information Limits and Power-Calibrated Audits8 Aug 2026
- 2026Not All 4-bit Quantizers Are Equal: Deployment-Time Mitigation of PII Leakage in Fine-Tuned Small Language Models2 Aug 2026
- 2026Extractable Memorization From First Principles14 Jul 2026
- 2026Anchored or Drifting: What Recursive Self-Generation Reveals About Training Data30 Jun 2026
- 2026Natural Identifiers for Privacy and Data Audits in Large Language Models23 Jun 2026
- 2026Reference-Based Distillation Detection in LLMs19 Jun 2026
- 2026DIPBox: A Multi-scale Testing Framework for Tracking Dataset Regeneration19 Jun 2026
- 2026OVIG: Optimistic Verification of AI Training Integrity via Gradient Signals19 Jun 2026
- 2026The Reliability Gap in Benchmark Auditing: Distribution Shift and Scale as Failure Modes of Contamination Detection2 Jun 2026
- 2026Models That Know How Evaluations Are Designed Score Safer27 May 2026
12 newest of 50 All 50 (JSON)