mlsanityData to 14 Oct 2026

Language Models May Verbatim Complete Text They Were Not Explicitly Trained On

arXiv 2503.17514 ↗First posted 21 Mar 2025cs.CL cs.AI cs.CRcited by 21

Not on the map. Why?

Abstract (arXiv)

An important question today is whether a given text was used to train a large language model (LLM). A completion test is often employed: check if the LLM completes a sufficiently complex text. This, however, requires a ground-truth definition of membership; most commonly, it is defined as a member based on the n-gram overlap between the target text and any text in the dataset. In this work, we demonstrate that this n-gram based membership definition can be effectively gamed. We study scenarios where sequences are non-members for a given n and we find that completion tests still succeed. We find many natural cases of this phenomenon by retraining LLMs from scratch after removing all training samples that were completed; these cases include exact duplicates, near-duplicates, and even short overlaps. They showcase that it is difficult to find a single viable choice of n for membership definitions. Using these insights, we design adversarial datasets that can cause a given target sequence to be completed without containing it, for any reasonable choice of n. Our findings highlight the inadequacy of n-gram membership, suggesting membership definitions fail to account for auxiliary information available to the training algorithm.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 49 of its 71 references that are in the map. First posted on arXiv 21 Mar 2025.

Builds on

49 of 71 references.

References · 49

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  6. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  8. 2020Extracting Training Data from Large Language Modelscited by 2,189
  9. 2024Qwen2 Technical Reportcited by 2,120
  10. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  11. 2023PaLM 2 Technical Reportcited by 1,162
  12. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
37 more
  1. 2019Machine Unlearningcited by 1,061
  2. 2021Membership Inference Attacks From First Principlescited by 878
  3. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
  4. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  5. 2023Extracting Training Data from Diffusion Modelscited by 732
  6. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  7. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 498
  8. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
  9. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 424
  10. 2020Label-Only Membership Inference Attackscited by 388
  11. 2023Detecting Pretraining Data from Large Language Modelscited by 387
  12. 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
  13. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
  14. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 271
  15. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
  16. 2024Rethinking Machine Unlearning for Large Language Modelscited by 257
  17. 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
  18. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
  19. 2024Do Membership Inference Attacks Work on Large Language Models?cited by 195
  20. 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 181
  21. 2021On the Necessity of Auditable Algorithmic Definitions for Machine Unlearningcited by 171
  22. 2023Emergent and Predictable Memorization in Large Language Modelscited by 148
  23. 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 116
  24. 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
  25. 2024Investigating Data Contamination for Pre-training Language Modelscited by 91
  26. 2024Blind Baselines Beat Membership Inference Attacks for Foundation Modelscited by 69
  27. 2024Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMscited by 50
  28. 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Datacited by 50
  29. 2023Data Contamination Quiz: A Tool to Detect and Estimate Contamination in Large Language Modelscited by 47
  30. 2023User Inference Attacks on Large Language Modelscited by 36
  31. 2023Students Parrot Their Teachers: Membership Inference on Model Distillationcited by 33
  32. 2024Evaluation data contamination in LLMs: how do we measure it and (when) does it matter?cited by 32
  33. 2024Evading Data Contamination Detection for Language Models is (too) Easycited by 30
  34. 2023MoPe: Model Perturbation-based Privacy Attacks on Language Modelscited by 25
  35. 2024Exploring Memorization and Copyright Violation in Frontier LLMs: A Study of the New York Times v. OpenAI 2023 Lawsuitcited by 18
  36. 2024Language model developers should report train-test overlapcited by 16
  37. 2023Can Membership Inferencing be Refuted?cited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 9; 2026: 12.

21 papers.

Sort:

By area:

  1. 2025How much do language models memorize?cited by 61
  2. 2025FlexOlmo: Open Language Models for Flexible Data Usecited by 15
  3. 2025Train Once, Answer All: Many Pretraining Experiments for the Cost of Onecited by 6
  4. 2026Antidistillation Fingerprintingcited by 6
  5. 2025Distributional Machine Unlearning via Selective Data Removalcited by 5
  6. 2025What Really is a Member? Discrediting Membership Inference via Poisoningcited by 2
  7. 2025A Unified Framework for Adversary-Aware Differential Privacy Boundscited by 2
  8. 2026Quantifying the Effect of Test Set Contamination on Generative Evaluationscited by 2
  9. 2026A Prior-Aware Metric for Efficiently Distinguishing Memorization from Generalization in Large Language Modelscited by 2
  10. 2026Beyond Indistinguishability: Measuring Extraction Risk in LLM APIscited by 1
  11. 2026Statistical Unlearning of Distributions: A Hypothesis Testing Approachcited by 1
  12. 2025Nine Ways to Break Copyright Law and Why Our LLM Won't: A Fair Use Aligned Generation Frameworkcited by 0
9 more
  1. 2025FictionalQA: A Dataset for Studying Memorization and Knowledge Acquisitioncited by 0
  2. 2025Counterfactual Influence as a Distributional Quantitycited by 0
  3. 2026The Limits of AI Data Transparency Policy: Three Disclosure Fallaciescited by 0
  4. 2026Learning to Detect Language Model Training Data via Active Reconstructioncited by 0
  5. 2026Watermarking for Proprietary Dataset Protectioncited by 0
  6. 2026FindMyText: Robust, Scalable Detection of Text Containment in Large Web-Crawled Corporacited by 0
  7. 2026Extractable Memorization From First Principlescited by 0
  8. 2026What to Forget in Unlearning? Forget Set Curation for Language Modelscited by 0
  9. 2026Learning What to Forget: Distributional Unlearning for LLM Representation Spacescited by 0