[Paper Review] DE-COP: Detecting Copyrighted Content in Language Models Training Data
DE-COP is a novel black-box method that detects copyrighted content in language model training data by probing models with multiple-choice questions pitting verbatim text against AI-generated paraphrases. It achieves 9.6% higher AUC than prior methods on models with logits and 72% accuracy on fully black-box models, outperforming baselines by over 17x in detection accuracy.
How can we detect if copyrighted content was used in the training process of a language model, considering that the training data is typically undisclosed? We are motivated by the premise that a language model is likely to identify verbatim excerpts from its training text. We propose DE-COP, a method to determine whether a piece of copyrighted content was included in training. DE-COP's core approach is to probe an LLM with multiple-choice questions, whose options include both verbatim text and their paraphrases. We construct BookTection, a benchmark with excerpts from 165 books published prior and subsequent to a model's training cutoff, along with their paraphrases. Our experiments show that DE-COP surpasses the prior best method by 9.6% in detection performance (AUC) on models with logits available. Moreover, DE-COP also achieves an average accuracy of 72% for detecting suspect books on fully black-box models where prior methods give approximately 4% accuracy. The code and datasets are available at https://github.com/LeiLiLab/DE-COP.
Motivation & Objective
- To address the challenge of detecting copyrighted content in language model training data when training data is undisclosed.
- To develop a method applicable to both logit-accessible and fully black-box LLMs.
- To create a benchmark for evaluating detection of copyrighted content in LLMs.
- To provide a practical tool for identifying potential copyright infringement in LLM training data.
- To support accountability and legal compliance in AI development by detecting unauthorized use of copyrighted material.
Proposed method
- DE-COP uses multiple-choice question answering, where options include verbatim excerpts and their AI-generated paraphrases.
- It probes a language model to identify which option is the original passage, leveraging the model's superior performance on known training data.
- A calibration method adjusts for label prior bias by estimating and correcting for uniform label probability distribution on non-training data.
- The method constructs BookTection, a benchmark with 165 books (including pre- and post-training cutoff works) and their paraphrases.
- It also introduces arXivTection, a benchmark using recent and older arXiv papers to validate detection on standard training data.
- The approach is designed to be robust to model updates and internal safety filters by avoiding direct prompts for memorized content.
Experimental results
Research questions
- RQ1Can a language model reliably distinguish verbatim training data from paraphrased versions, indicating prior exposure?
- RQ2How effective is DE-COP in detecting copyrighted content in LLMs when only black-box access is available?
- RQ3To what extent does model performance on verbatim vs. paraphrased content correlate with actual training data inclusion?
- RQ4How does the origin of paraphrases (e.g., model-generated vs. human-written) affect detection performance?
- RQ5Can human evaluators perform as well as language models on the same detection task, or does model performance reflect memorization?
Key findings
- DE-COP improves detection performance by 9.6% in AUC compared to the best prior method on models with available logits.
- On fully black-box models, DE-COP achieves an average accuracy of 72% in detecting suspect copyrighted books, compared to approximately 4% for prior methods.
- Human evaluators perform poorly on the same task, with an average accuracy of 34%, suggesting that model performance stems from memorization rather than reasoning.
- The method shows a slight performance drop (7% decrease in AUC) when paraphrases are generated by a different model (e.g., ChatGPT), indicating possible model-specific memorization effects.
- The calibration method effectively reduces label prior bias, improving detection reliability across diverse model families.
- All four tested model families show significantly higher performance on suspect (likely trained-on) books than on recent, non-trained-on books, indicating widespread exposure to copyrighted content.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.