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

大型语言模型的隐私审计

Privacy Auditing of Large Language Models

Princeton University(普林斯顿大学);Google DeepMind(谷歌DeepMind)

Ashwinee Panda, Xinyu Tang, Milad Nasr, Christopher A. Choquette-Choo, Prateek Mittal

AI总结:

本文提出更有效的金丝雀样本设计,在无需影子模型或梯度访问的现实威胁模型下显著提升LLM隐私泄露检测能力,并首次在受限条件下实现非平凡的LLM训练隐私审计。

摘要:

当前针对大型语言模型(LLMs)的隐私审计技术效果有限——它们依赖基础方法来生成金丝雀样本,这导致成员推断攻击较弱,进而只能得到关于经验隐私泄露的宽松下界。我们开发了在覆盖一系列现实场景的威胁模型下远比先前工作中使用的金丝雀样本更有效的金丝雀样本。我们通过对多个微调LLM系列的大量实验证明,我们的方法为隐私泄露检测设立了新标准。在测量非隐私训练LLM的记忆率方面,我们设计的金丝雀样本超越了先前方法。例如,在Qwen2.5-0.5B模型上,我们设计的金丝雀样本在1%假阳性率(FPR)下实现了49.6%的真阳性率(TPR),大幅超越了先前方法在1% FPR下4.2%的TPR。我们的方法可用于对理论ε为4的模型训练进行ε≈1的隐私审计。据我们所知,这是首次在攻击者无法训练影子模型、无法插入梯度金丝雀样本或无法在每次迭代时访问模型的环境下,LLM训练的隐私审计取得了非平凡的审计成功。

英文摘要:

Current techniques for privacy auditing of large language models (LLMs) have limited efficacy -- they rely on basic approaches to generate canaries which leads to weak membership inference attacks that in turn give loose lower bounds on the empirical privacy leakage. We develop canaries that are far more effective than those used in prior work under threat models that cover a range of realistic settings. We demonstrate through extensive experiments on multiple families of fine-tuned LLMs that our approach sets a new standard for detection of privacy leakage. For measuring the memorization rate of non-privately trained LLMs, our designed canaries surpass prior approaches. For example, on the Qwen2.5-0.5B model, our designed canaries achieve $49.6\%$ TPR at $1\%$ FPR, vastly surpassing the prior approach's $4.2\%$ TPR at $1\%$ FPR. Our method can be used to provide a privacy audit of $\varepsilon \approx 1$ for a model trained with theoretical $\varepsilon$ of 4. To the best of our knowledge, this is the first time that a privacy audit of LLM training has achieved nontrivial auditing success in the setting where the attacker cannot train shadow models, insert gradient canaries, or access the model at every iteration.

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

↑