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

神经语言模型中的反事实记忆

Counterfactual Memorization in Neural Language Models

Google Research(谷歌研究院);Carnegie Mellon University(卡内基梅隆大学);Google DeepMind(谷歌DeepMind);ETH Zürich(苏黎世联邦理工学院)

Chiyuan Zhang, Daphne Ippolito, Katherine Lee, Matthew Jagielski, Florian Tramèr, Nicholas Carlini

AI总结:

提出反事实记忆概念,通过省略文档观察预测变化,识别标准数据集中的记忆示例,并估计其对验证集和生成文本的影响,为测试时记忆来源提供直接证据。

摘要:

现代神经语言模型广泛应用于各种自然语言处理任务,存在从训练数据中记忆敏感信息的风险。理解这种记忆在现实应用和理论学习视角下均具有重要意义。以往语言模型记忆研究中的一个开放问题是如何过滤掉“常见”记忆。事实上,大多数记忆标准与训练集中的出现次数强相关,捕获了记忆的常见短语、公共知识、模板文本或其他重复数据。我们提出了反事实记忆的概念,该概念刻画了如果在训练期间省略某个特定文档,模型预测将如何变化。我们在标准文本数据集中识别并研究了反事实记忆的训练示例。我们估计了每个被记忆的训练示例对验证集和生成文本的影响,展示了这如何为测试时的记忆来源提供直接证据。

英文摘要:

Modern neural language models that are widely used in various NLP tasks risk memorizing sensitive information from their training data. Understanding this memorization is important in real world applications and also from a learning-theoretical perspective. An open question in previous studies of language model memorization is how to filter out "common" memorization. In fact, most memorization criteria strongly correlate with the number of occurrences in the training set, capturing memorized familiar phrases, public knowledge, templated texts, or other repeated data. We formulate a notion of counterfactual memorization which characterizes how a model's predictions change if a particular document is omitted during training. We identify and study counterfactually-memorized training examples in standard text datasets. We estimate the influence of each memorized training example on the validation set and on generated texts, showing how this can provide direct evidence of the source of memorization at test time.

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

↑