arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.17546cs.LGcs.CL
收藏

在语言模型中防止逐字记忆会带来虚假的隐私感

Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacy

Google Research(谷歌研究院);ETH Zurich(苏黎世联邦理工学院);Cornell University(康奈尔大学)

Daphne Ippolito, Florian Tramèr, Milad Nasr, Chiyuan Zhang, Matthew Jagielski, Katherine Lee, Christopher A. Choquette-Choo, Nicholas Carlini

AI总结:

本文指出防止语言模型逐字记忆并不能真正保护隐私,提出并验证了可通过风格转换提示轻易绕过完美过滤器提取训练数据,强调需重新定义记忆以应对隐私风险。

摘要:

研究神经语言模型中的数据记忆有助于我们理解模型复述训练数据所带来的风险(例如隐私或版权风险),并有助于开发对策。许多先前的工作——以及一些最近部署的防御措施——专注于“逐字记忆”,定义为与训练集中子串完全匹配的模型生成内容。我们认为逐字记忆的定义过于严格,未能捕捉更微妙的记忆形式。具体而言,我们设计并实现了一种高效的防御方法,能够完美防止所有逐字记忆。然而,我们证明这种“完美”的过滤器并不能阻止训练数据的泄露。事实上,通过合理且经过最小修改的“风格转换”提示——在某些情况下甚至是未修改的原始提示——就能轻易绕过它,提取出记忆信息。最后,我们讨论了可能的替代定义,以及为什么定义记忆是神经语言模型中一个困难但至关重要的开放性问题。

英文摘要:

Studying data memorization in neural language models helps us understand the risks (e.g., to privacy or copyright) associated with models regurgitating training data and aids in the development of countermeasures. Many prior works -- and some recently deployed defenses -- focus on "verbatim memorization", defined as a model generation that exactly matches a substring from the training set. We argue that verbatim memorization definitions are too restrictive and fail to capture more subtle forms of memorization. Specifically, we design and implement an efficient defense that perfectly prevents all verbatim memorization. And yet, we demonstrate that this "perfect" filter does not prevent the leakage of training data. Indeed, it is easily circumvented by plausible and minimally modified "style-transfer" prompts -- and in some cases even the non-modified original prompts -- to extract memorized information. We conclude by discussing potential alternative definitions and why defining memorization is a difficult yet crucial open question for neural language models.

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

↑