arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.09910cs.CLcs.LG
收藏

DE-COP:检测语言模型训练数据中的受版权保护内容

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

INESC-ID;Instituto Superior Técnico(高等技术学院);University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);Carnegie Mellon University(卡内基梅隆大学)

André V. Duarte, Xuandong Zhao, Arlindo L. Oliveira, Lei Li

AI总结:

提出DE-COP方法,通过多项选择题探测语言模型,检测其训练数据中是否包含受版权保护内容,在AUC上超越先前方法9.6%,并在黑盒模型上达到72%准确率。

摘要:

考虑到训练数据通常不公开,我们如何检测语言模型的训练过程中是否使用了受版权保护的内容?我们的动机基于这样一个前提:语言模型很可能识别出其训练文本中的逐字摘录。我们提出DE-COP,一种用于确定某段受版权保护的内容是否被包含在训练中的方法。DE-COP的核心方法是向大型语言模型提出多项选择题,其选项包括逐字文本及其改写版本。我们构建了BookTection基准,包含165本书籍的摘录及其改写版本,这些书籍的出版时间分别在模型训练截止日期之前和之后。我们的实验表明,在可获得logits的模型上,DE-COP的检测性能(AUC)比先前最佳方法高出9.6%。此外,在完全黑盒模型上,DE-COP检测可疑书籍的平均准确率达到72%,而先前方法仅约为4%。代码和数据集可在https://github.com/LeiLiLab/DE-COP获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑