DE-COP: Detecting Copyrighted Content in Language Models Training Data

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Duarte, André V., Zhao, Xuandong, Oliveira, Arlindo L., Li, Lei
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909230886289408
author Duarte, André V.
Zhao, Xuandong
Oliveira, Arlindo L.
Li, Lei
author_facet Duarte, André V.
Zhao, Xuandong
Oliveira, Arlindo L.
Li, Lei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_09910
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DE-COP: Detecting Copyrighted Content in Language Models Training Data
Duarte, André V.
Zhao, Xuandong
Oliveira, Arlindo L.
Li, Lei
Computation and Language
Machine Learning
I.2
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.
title DE-COP: Detecting Copyrighted Content in Language Models Training Data
topic Computation and Language
Machine Learning
I.2
url https://arxiv.org/abs/2402.09910