Copyright Traps for Large Language Models
Matthieu Meeus, Igor Shilov, Manuel Faysse, Yves-Alexandre de Montjoye
摘要
Questions of fair use of copyright-protected content to train Large Language Models (LLMs) are being actively debated. Document-level inference has been proposed as a new task: inferring from black-box access to the trained model whether a piece of content has been seen during training. SOTA methods however rely on naturally occurring memorization of (part of) the content. While very effective against models that memorize significantly, we hypothesize--and later confirm--that they will not work against models that do not naturally memorize, e.g. medium-size 1B models. We here propose to use copyright traps, the inclusion of fictitious entries in original content, to detect the use of copyrighted materials in LLMs with a focus on models where memorization does not naturally occur. We carefully design a randomized controlled experimental setup, inserting traps into original content (books) and train a 1.3B LLM from scratch. We first validate that the use of content in our target model would be undetectable using existing methods. We then show, contrary to intuition, that even medium-length trap sentences repeated a significant number of times (100) are not detectable using existing methods. However, we show that longer sequences repeated a large number of times can be reliably detected (AUC=0.75) and used as copyright traps. Beyond copyright applications, our findings contribute to the study of LLM memorization: the randomized controlled setup enables us to draw causal relationships between memorization and certain sequence properties such as repetition in model training data and perplexity.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Exploring the limits of strong membership inference attacks on large language models 引用了 Membership Inference Attacks Against Machine Learning Models
- Exploring the limits of strong membership inference attacks on large language models 引用了 Membership Inference Attacks From First Principles
- Exploring the limits of strong membership inference attacks on large language models 引用了 Extracting Training Data from Large Language Models
- Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory Probing 引用了 Membership Inference Attacks Against Machine Learning Models
- Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory Probing 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory Probing 引用了 Membership Inference Attacks From First Principles
- Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory Probing 引用了 Extracting Training Data from Large Language 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 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Membership Inference Attacks From First Principles 引用了 Extracting Training Data from Large Language Models
- Dual-Space Smoothness for Robust and Balanced LLM Unlearning 引用了 Membership Inference Attacks Against Machine Learning Models
- Extracting Training Data from Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Extracting Training Data from Large Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Extracting Training Data from Large Language Models 引用了 Language Models are Few-Shot Learners
- Winter Soldier: Backdooring Language Models at Pre-Training with Indirect Data Poisoning 引用了 Membership Inference Attacks Against Machine Learning Models
- Winter Soldier: Backdooring Language Models at Pre-Training with Indirect Data Poisoning 引用了 Extracting Training Data from Large Language Models
引用它的顶会 Paper15
- Exploring the limits of strong membership inference attacks on large language modelsJamie Hayes, Ilia Shumailov, Christopher A. Choquette-Choo, Matthew Jagielski 等NeurIPS 2025 · 26 次引用
- Winter Soldier: Backdooring Language Models at Pre-Training with Indirect Data PoisoningWassim Bouaziz, Mathurin Videau, Nicolas Usunier, El-Mahdi El-MhamdiICLR 2026 · 8 次引用
- Free and Fair Hardware: A Pathway to Copyright Infringement-Free Verilog Generation using LLMsSam Bush, Matthew DeLorenzo, Phat Tieu, Jeyavijayan RajendranDAC 2025 · 5 次引用
- Dual-Space Smoothness for Robust and Balanced LLM UnlearningHan Yan, Zheyuan Liu, Meng JiangICLR 2026 · 5 次引用
- Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory ProbingJinhua Yin, Peiru Yang, Chen Yang, Huili Wang 等NeurIPS 2025 · 4 次引用
它引用的 Paper19
- 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 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
- Membership Inference Attacks From First PrinciplesNicholas Carlini, Steve Chien, Milad Nasr, Shuang Song 等S&P 2022 · 1,049 次引用
相关 Paper
- DE-COP: Detecting Copyrighted Content in Language Models Training DataAndré V. Duarte, Xuandong Zhao, Arlindo L. Oliveira, Lei LiICML 2024 · 81 次引用
- LLM Dataset Inference: Did you train on my dataset?Pratyush Maini, Hengrui Jia, Nicolas Papernot, Adam DziedzicNeurIPS 2024 · 162 次引用
- Proving membership in LLM pretraining data via data watermarksJohnny Tian-Zheng Wei, Ryan Yixiang Wang, Robin JiaACL Findings 2024 · 12 次引用
- Data Provenance Auditing of Fine-Tuned Large Language Models with a Text-Preserving TechniqueYanming Li, Cédric Eichler, Nicolas Anciaux, Alexandra Bensamoun 等ICML 2026 · 3 次引用
- Did the Neurons Read your Book? Document-level Membership Inference for Large Language ModelsMatthieu Meeus, Shubham Jain, Marek Rei, Yves-Alexandre de MontjoyeUSENIX Security 2024 · 67 次引用
