Language Models May Verbatim Complete Text They Were Not Explicitly Trained On
Ken Liu, Christopher A. Choquette-Choo, Matthew Jagielski, Peter Kairouz, Sanmi Koyejo, Percy Liang, Nicolas Papernot
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Distributional Machine Unlearning via Selective Data Removal 引用了 Membership Inference Attacks Against Machine Learning Models
- What Really is a Member? Discrediting Membership Inference via Poisoning 引用了 Membership Inference Attacks Against Machine Learning Models
- ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models 引用了 Membership Inference Attacks Against Machine Learning Models
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles 引用了 Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
- Membership Inference Attacks From First Principles 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Train Once, Answer All: Many Pretraining Experiments for the Cost of One 引用了 Membership Inference Attacks Against Machine Learning Models
- Train Once, Answer All: Many Pretraining Experiments for the Cost of One 引用了 Membership Inference Attacks From First Principles
- Antidistillation Fingerprinting 引用了 Membership Inference Attacks Against Machine Learning Models
引用它的顶会 Paper10
- FlexOLMo: Open Language Models for Flexible Data UseWeijia Shi, Akshita Bhagia, Kevin Farhat, Niklas Muennighoff 等NeurIPS 2025 · 16 次引用
- What Really is a Member? Discrediting Membership Inference via PoisoningNeal Mangaokar, Ashish Hooda, Zhuohang Li, Bradley A. Malin 等NeurIPS 2025 · 6 次引用
- Train Once, Answer All: Many Pretraining Experiments for the Cost of OneSebastian Bordt, Martin PawelczykICLR 2026 · 6 次引用
- Distributional Machine Unlearning via Selective Data RemovalYoussef Allouah, Rachid Guerraoui, Sanmi KoyejoICLR 2026 · 5 次引用
- Antidistillation FingerprintingYixuan Xu, John Kirchenbauer, Yash Savani, Asher Trockman 等ICML 2026 · 4 次引用
它引用的 Paper23
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
- ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning ModelsAhmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang 等NDSS 2019 · 1,141 次引用
- Membership Inference Attacks From First PrinciplesNicholas Carlini, Steve Chien, Milad Nasr, Shuang Song 等S&P 2022 · 1,049 次引用
相关 Paper
- LLM Dataset Inference: Did you train on my dataset?Pratyush Maini, Hengrui Jia, Nicolas Papernot, Adam DziedzicNeurIPS 2024 · 162 次引用
- Watermarking Makes Language Models RadioactiveTom Sander, Pierre Fernandez, Alain Durmus, Matthijs Douze 等NeurIPS 2024 · 68 次引用
- Context-Aware Membership Inference Attacks against Pre-trained Large Language ModelsHongyan Chang, Ali Shahin Shamsabadi, Kleomenis Katevas, Hamed Haddadi 等EMNLP 2025 · 19 次引用
- Sampling-based Pseudo-Likelihood for Membership Inference AttacksMasahiro Kaneko, Youmi Ma, Yuki Wata, Naoaki OkazakiACL Findings 2025 · 6 次引用
- Deduplicating Training Data Mitigates Privacy Risks in Language ModelsNikhil Kandpal, Eric Wallace, Colin RaffelICML 2022 · 395 次引用
