arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.14513cs.LGcs.CRstat.ML
收藏

LLM成员推理的数量级速度提升

Order of Magnitude Speedups for LLM Membership Inference

AWS AI(亚马逊云科技人工智能部门);University of Pennsylvania(宾夕法尼亚大学)

Rongting Zhang, Martin Bertran, Aaron Roth

AI总结:

本文提出一种基于小型分位数回归模型集成的低成本成员推理攻击方法,在保持或提升准确率的同时仅需6%计算预算,并具备架构误设鲁棒性。

摘要:

大型语言模型(LLMs)有望广泛颠覆计算领域,但其复杂性和海量训练数据也暴露出显著的隐私漏洞。与LLMs相关的最简单隐私风险之一是其易受成员推理攻击(MIAs)的影响,在MIA中,对手旨在确定特定数据点是否属于模型的训练集。尽管这是一种已知风险,但目前最先进的MIA方法依赖于训练多个计算成本高昂的影子模型,使得大型模型的风险评估变得不可行。在此,我们采用了一系列近期使用分位数回归来发起成员推理攻击的研究;我们扩展了这项工作,提出了一种低成本的MIA,利用小型分位数回归模型的集成来确定文档是否属于模型的训练集。我们在不同系列(OPT、Pythia、Llama)的微调LLMs和多个数据集上证明了该方法的有效性。在所有场景中,与最先进的影子模型方法相比,我们获得了相当或更高的准确率,且仅使用了其6%的计算预算。我们证明了在多轮训练的目标模型上有效性的提升,以及架构误设的鲁棒性,即我们可以使用不同的分词器和架构对模型发起有效攻击,而无需了解目标模型。

英文摘要:

Large Language Models (LLMs) have the promise to revolutionize computing broadly, but their complexity and extensive training data also expose significant privacy vulnerabilities. One of the simplest privacy risks associated with LLMs is their susceptibility to membership inference attacks (MIAs), wherein an adversary aims to determine whether a specific data point was part of the model's training set. Although this is a known risk, state of the art methodologies for MIAs rely on training multiple computationally costly shadow models, making risk evaluation prohibitive for large models. Here we adapt a recent line of work which uses quantile regression to mount membership inference attacks; we extend this work by proposing a low-cost MIA that leverages an ensemble of small quantile regression models to determine if a document belongs to the model's training set or not. We demonstrate the effectiveness of this approach on fine-tuned LLMs of varying families (OPT, Pythia, Llama) and across multiple datasets. Across all scenarios we obtain comparable or improved accuracy compared to state of the art shadow model approaches, with as little as 6% of their computation budget. We demonstrate increased effectiveness across multi-epoch trained target models, and architecture miss-specification robustness, that is, we can mount an effective attack against a model using a different tokenizer and architecture, without requiring knowledge on the target model.

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

↑