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

从(生产环境)语言模型中可扩展地提取训练数据

Scalable Extraction of Training Data from (Production) Language Models

Google DeepMind(谷歌DeepMind);University of Washington(华盛顿大学);Cornell(康奈尔大学);CMU(卡内基梅隆大学);UC Berkeley(加州大学伯克利分校);ETH Zurich(苏黎世联邦理工学院)

Milad Nasr, Nicholas Carlini, Jonathan Hayase, Matthew Jagielski, A. Feder Cooper, Daphne Ippolito, Christopher A. Choquette-Choo, Eric Wallace, Florian Tramèr, Katherine Lee

AI总结:

本文提出一种发散攻击方法,可从开源、半开放及封闭语言模型中大规模提取训练数据,并证明现有对齐技术无法消除记忆现象。

摘要:

本文研究可提取记忆:即攻击者在事先不了解训练数据集的情况下,通过查询机器学习模型即可高效提取的训练数据。我们展示攻击者可以从开源语言模型(如 Pythia 或 GPT-Neo)、半开放模型(如 LLaMA 或 Falcon)以及封闭模型(如 ChatGPT)中提取数 GB 的训练数据。文献中已有的技术足以攻击未对齐的模型;为了攻击经过对齐的 ChatGPT,我们开发了一种新的发散攻击,使模型偏离其聊天机器人风格的生成,并以比正常行为时高 150 倍的速率输出训练数据。我们的方法表明,实际攻击能够恢复的数据量远超此前预期,并揭示当前的对齐技术并未消除记忆现象。

英文摘要:

This paper studies extractable memorization: training data that an adversary can efficiently extract by querying a machine learning model without prior knowledge of the training dataset. We show an adversary can extract gigabytes of training data from open-source language models like Pythia or GPT-Neo, semi-open models like LLaMA or Falcon, and closed models like ChatGPT. Existing techniques from the literature suffice to attack unaligned models; in order to attack the aligned ChatGPT, we develop a new divergence attack that causes the model to diverge from its chatbot-style generations and emit training data at a rate 150x higher than when behaving properly. Our methods show practical attacks can recover far more data than previously thought, and reveal that current alignment techniques do not eliminate memorization.

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

↑