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

消除重复训练数据可降低语言模型中的隐私风险

Deduplicating Training Data Mitigates Privacy Risks in Language Models

UNC Chapel Hill(北卡罗来纳大学教堂山分校);UC Berkeley(加州大学伯克利分校)

Nikhil Kandpal, Eric Wallace, Colin Raffel

摘要:

过去的工作表明,大语言模型容易受到隐私攻击,其中对手从训练模型中生成序列,并检测哪些序列是从训练集中记忆的。在这项工作中,我们证明了这些攻击的成功在很大程度上是由于常用的网络抓取训练集的重复。我们首先证明了语言模型重新生成训练序列的速率与训练集中序列的计数超线性相关。例如,在训练数据中出现10次的序列比仅出现一次的序列平均生成频率高约1000倍。我们接下来表明,现有的方法检测记忆序列有近机会的准确性非重复的训练序列。最后,我们发现,在应用方法去重复训练数据后,语言模型对这些类型的隐私攻击更加安全。两者合计,我们的研究结果激励更多的关注重复数据删除在隐私敏感的应用程序和重新评估现有的隐私攻击的实用性。

英文摘要:

Past work has shown that large language models are susceptible to privacy attacks, where adversaries generate sequences from a trained model and detect which sequences are memorized from the training set. In this work, we show that the success of these attacks is largely due to duplication in commonly used web-scraped training sets. We first show that the rate at which language models regenerate training sequences is superlinearly related to a sequence's count in the training set. For instance, a sequence that is present 10 times in the training data is on average generated ~1000 times more often than a sequence that is present only once. We next show that existing methods for detecting memorized sequences have near-chance accuracy on non-duplicated training sequences. Finally, we find that after applying methods to deduplicate training data, language models are considerably more secure against these types of privacy attacks. Taken together, our results motivate an increased focus on deduplication in privacy-sensitive applications and a reevaluation of the practicality of existing privacy attacks.

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

↑