Protecting Copyrighted Material with Unique Identifiers in Large Language Model Training
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
A primary concern regarding training large language models (LLMs) is whether they abuse copyrighted online text. With the increasing training data scale and the prevalence of LLMs in daily lives, two problems arise: 1) false positive membership inference results misled by similar examples; 2) membership inference methods are usually too complex for end users to understand and use. To address these issues, we propose an alternative textitinsert-and-detect methodology, advocating that web users and content platforms employ textbftextitunique identifiers for reliable and independent membership inference. Users and platforms can create their identifiers, embed them in copyrighted text, and independently detect them in future LLMs. As an initial demonstration, we introduce textitghost sentences and a user-friendly last-k words test, allowing end users to chat with LLMs for membership inference. Ghost sentences consist primarily of unique passphrases of random natural words, which can come with customized elements to bypass possible filter rules. The last-k words test requires a significant repetition time of ghost sentences~(≥10). For cases with fewer repetitions, we designed an extra perplexity test, as LLMs exhibit high perplexity when encountering unnatural passphrases. We also conduct a comprehensive study on the memorization and membership inference of ghost sentences, examining factors such as training data scales, model sizes, repetition times, insertion positions, wordlist of passphrases, alignment, textitetc. Our study shows the possibility of applying ghost sentences in real scenarios and provides instructions for the potential application.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 45 of its 66 references that are in the map. First posted on arXiv 23 Mar 2024.
Builds on
45 of 66 references.
Closest ancestors · 4
Same direction, newest first
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
- 2023Did the Neurons Read your Book? Document-level Membership Inference for Large Language Models23 Oct
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
- 2021Membership Inference Attacks From First Principles7 Dec
Other references · 41
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
29 more
- 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
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 726
- 2023A Watermark for Large Language Modelscited by 725
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 2023Detecting Pretraining Data from Large Language Modelscited by 387
- 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 379
- 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 325
- 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 287
- 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 181
- 2021Counterfactual Memorization in Neural Language Modelscited by 156
- 2023What's In My Big Data?cited by 129
- 2023LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructionscited by 124
- 2023Foundation Models and Fair Usecited by 116
- 2023A Semantic Invariant Robust Watermark for Large Language Modelscited by 112
- 2023A Survey of Text Watermarking in the Era of Large Language Modelscited by 112
- 2023Copyright Violations and Large Language Modelscited by 108
- 2024WAVES: Benchmarking the Robustness of Image Watermarkscited by 97
- 2023On the Learnability of Watermarks for Language Modelscited by 81
- 2022Do Language Models Plagiarize?cited by 73
- 2019Membership Inference Attacks on Sequence-to-Sequence Models: Is My Data In Your Machine Translation System?cited by 71
- 2023Training Data Extraction From Pre-trained Language Models: A Surveycited by 45
- 2024Proving membership in LLM pretraining data via data watermarkscited by 40
- 2024Copyright Traps for Large Language Modelscited by 37
- 2024Digger: Detecting Copyright Content Mis-usage in Large Language Model Trainingcited by 25
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
- 2025Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Datacited by 4
- 2024ExpShield: Safeguarding Web Text from Unauthorized Crawling and LLM Exploitationcited by 3
- 2026Pretraining Data Exposure in Large Language Models: A Survey of Membership Inference, Data Contamination, and Security Implicationscited by 1
- 2026Pretraining Data Exposure in Large Language Models: A Survey of Membership Inference, Data Contamination, and Security Implications21 May 2026
- 2025Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data14 Apr 2025
- 2024ExpShield: Safeguarding Web Text from Unauthorized Crawling and LLM Exploitation30 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024Can Watermarking Large Language Models Prevent Copyrighted Text Generation and Hide Training Data?
- 2025As If We've Met Before: LLMs Exhibit Certainty in Recognizing Seen Files
- 2024LLM Dataset Inference: Did you train on my dataset?
- 2026Detecting Data Contamination in Large Language Models
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Models
- 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models
- 2025A Statistical Hypothesis Testing Framework for Data Misappropriation Detection in Large Language Models
- 2024Sampling-based Pseudo-Likelihood for Membership Inference Attacks