arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.06443cs.LGcs.CLcs.CR
收藏

LLM数据集推断:你是否在我的数据集上进行了训练?

LLM Dataset Inference: Did you train on my dataset?

DatologyAI;Vector Institute(向量研究所);University of Toronto(多伦多大学);CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Carnegie Mellon University(卡内基梅隆大学)

Pratyush Maini, Hengrui Jia, Nicolas Papernot, Adam Dziedzic

AI总结:

本文揭示现有成员推断攻击因分布偏移而虚高,并提出一种新的数据集推断方法,通过选择性聚合多个MIA信号并执行统计检验,准确识别LLM的训练数据集,在Pile子集上实现p值<0.1且无假阳性。

摘要:

大型语言模型(LLMs)在现实世界中的普及伴随着针对公司的版权案件增加,这些公司被指控在未经许可的情况下使用互联网数据训练其模型。最近的研究提出了识别单个文本序列是否属于模型训练数据成员的方法,即成员推断攻击(MIAs)。我们证明,这些MIAs表面上的成功受到了选择非成员(未用于训练的文本序列)与成员来自不同分布(例如,与用于训练模型的文章相比,时间上偏移的近期维基百科文章)的混淆影响。这种分布偏移使得成员推断看起来是成功的。然而,当在来自相同分布(例如,在本例中为同一时间段)的成员和非成员之间进行区分时,大多数MIA方法的表现并不比随机猜测更好。即使MIAs有效,我们发现不同的MIAs在推断来自不同分布的样本成员资格方面各有成功之处。相反,我们提出了一种新的数据集推断方法,以准确识别用于训练大型语言模型的数据集。这一范式切合现代版权环境的实际情况,即作者声称某个LLM是在他们撰写的多个文档(例如一本书)上进行训练的,而不是某一个特定段落。虽然数据集推断与成员推断面临许多相同的挑战,但我们通过选择性地结合为给定分布提供正向信号的MIAs,并将其聚合以对给定数据集执行统计检验来解决这一问题。我们的方法成功地区分了Pile数据集中不同子集的训练集和测试集,且具有统计显著的p值<0.1,且没有任何假阳性。

英文摘要:

The proliferation of large language models (LLMs) in the real world has come with a rise in copyright cases against companies for training their models on unlicensed data from the internet. Recent works have presented methods to identify if individual text sequences were members of the model's training data, known as membership inference attacks (MIAs). We demonstrate that the apparent success of these MIAs is confounded by selecting non-members (text sequences not used for training) belonging to a different distribution from the members (e.g., temporally shifted recent Wikipedia articles compared with ones used to train the model). This distribution shift makes membership inference appear successful. However, most MIA methods perform no better than random guessing when discriminating between members and non-members from the same distribution (e.g., in this case, the same period of time). Even when MIAs work, we find that different MIAs succeed at inferring membership of samples from different distributions. Instead, we propose a new dataset inference method to accurately identify the datasets used to train large language models. This paradigm sits realistically in the modern-day copyright landscape, where authors claim that an LLM is trained over multiple documents (such as a book) written by them, rather than one particular paragraph. While dataset inference shares many of the challenges of membership inference, we solve it by selectively combining the MIAs that provide positive signal for a given distribution, and aggregating them to perform a statistical test on a given dataset. Our approach successfully distinguishes the train and test sets of different subsets of the Pile with statistically significant p-values < 0.1, without any false positives.

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

↑