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

Noisy Neighbors:针对大语言模型的高效成员推断攻击

Noisy Neighbors: Efficient membership inference attacks against LLMs

Scuola Normale Superiore(比萨高等师范学校);Meta Inc.(元公司)

Filippo Galli, Luca Melis, Tommaso Cucinotta

AI总结:

针对大语言模型的隐私风险评估需求,提出一种仅需模型推理、通过嵌入空间加噪生成噪声邻居的高效成员推断攻击方法,效果媲美影子模型方法,适用于实际隐私审计。

摘要:

基于Transformer的大语言模型(LLM)依赖大规模数据集(可能包含敏感信息),其发展潜力或因隐私担忧受阻。GDPR、CCPA等监管法规要求使用可靠的审计工具应对潜在隐私问题,成员推断攻击(MIA)是评估LLM隐私风险的主要方法。传统MIA方法通常需要训练额外模型,计算成本高昂;本文提出一种高效方法,仅需在目标模型的推理模式下运行,通过在嵌入空间添加随机噪声为目标样本生成“noisy neighbors(噪声邻居)”。研究结果表明,该方法的效果与使用影子模型的方法相当,可应用于实际隐私审计场景。

英文摘要:

The potential of transformer-based LLMs risks being hindered by privacy concerns due to their reliance on extensive datasets, possibly including sensitive information. Regulatory measures like GDPR and CCPA call for using robust auditing tools to address potential privacy issues, with Membership Inference Attacks (MIA) being the primary method for assessing LLMs' privacy risks. Differently from traditional MIA approaches, often requiring computationally intensive training of additional models, this paper introduces an efficient methodology that generates \textit{noisy neighbors} for a target sample by adding stochastic noise in the embedding space, requiring operating the target model in inference mode only. Our findings demonstrate that this approach closely matches the effectiveness of employing shadow models, showing its usability in practical privacy auditing scenarios.

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

↑