arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14369cs.LGcs.AI
收藏

MoPe:基于模型扰动的语言模型隐私攻击

MoPe: Model Perturbation-based Privacy Attacks on Language Models

Harvard College(哈佛学院);Harvard University(哈佛大学)

Marvin Li, Jason Wang, Jeffrey Wang, Seth Neel

AI总结:

本文提出 Model Perturbations (MoPe) 隐私攻击方法,通过在参数空间添加噪声测量 log-likelihood 下降以近似 Hessian 矩阵的迹,高置信度识别预训练语言模型训练数据,优于现有方法并证明仅凭损失不足以判断记忆。

摘要:

近期研究表明,Large Language Models (LLMs) 可能会无意中泄露其训练数据中的敏感信息。本文提出了 Model Perturbations (MoPe),这是一种新方法。在拥有模型参数的白盒访问权限下,该方法能够高置信度地识别给定文本是否存在于预训练语言模型的训练数据中。MoPe 在参数空间中向模型添加噪声,并测量在给定点 $x$ 处 log-likelihood 的下降值,我们证明该统计量近似于模型参数的 Hessian 矩阵的迹。在参数规模从 $70$M 到 $12$B 的语言模型上,我们表明 MoPe 比现有的基于损失的方法和近期提出的基于扰动的方法更有效。我们还考察了训练点顺序和模型规模对攻击成功率的作用,并从经验上证明 MoPe 在实践中能准确近似 Hessian 矩阵的迹。结果表明,仅凭单个数据点的损失不足以决定其可提取性——有些我们能用该方法恢复的训练点仅具有平均损失。这引发了对先前一些研究的质疑,那些研究将数据点的损失作为记忆或遗忘的证据。

英文摘要:

Recent work has shown that Large Language Models (LLMs) can unintentionally leak sensitive information present in their training data. In this paper, we present Model Perturbations (MoPe), a new method to identify with high confidence if a given text is in the training data of a pre-trained language model, given white-box access to the models parameters. MoPe adds noise to the model in parameter space and measures the drop in log-likelihood at a given point $x$, a statistic we show approximates the trace of the Hessian matrix with respect to model parameters. Across language models ranging from $70$M to $12$B parameters, we show that MoPe is more effective than existing loss-based attacks and recently proposed perturbation-based methods. We also examine the role of training point order and model size in attack success, and empirically demonstrate that MoPe accurately approximate the trace of the Hessian in practice. Our results show that the loss of a point alone is insufficient to determine extractability -- there are training points we can recover using our method that have average loss. This casts some doubt on prior works that use the loss of a point as evidence of memorization or unlearning.

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

↑