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

迈向更现实的提取攻击:一个对抗性视角

Towards More Realistic Extraction Attacks: An Adversarial Perspective

McGill University(麦吉尔大学);Mila(Mila研究所)

Yash More, Prakhar Ganesh, Golnoosh Farnadi

AI总结:

本文从对抗性视角重新审视语言模型的提取攻击,发现结合多种攻击手段(如修改提示、针对小模型和早期检查点)可将提取风险加倍,并在多个案例中超越现有对手。

摘要:

语言模型容易记忆其训练数据,使其容易受到提取攻击。虽然现有研究通常检查孤立设置,例如单一模型或固定提示,但现实世界的对手拥有大得多的攻击面,因为他们可以访问不同大小和检查点的模型,并进行重复提示。在本文中,我们从对抗性视角重新审视提取攻击——对底层数据进行多方面的访问。我们发现提取趋势存在显著变动,即即使对提示进行不直观的更改,或针对较小的模型和较早的检查点,也可以提取出不同的信息。通过结合多种攻击,我们的对手将提取风险加倍(2倍),即使在数据去重等缓解策略下这种风险仍然存在。最后,我们以四个案例研究作为结论,包括检测预训练数据、版权侵权、提取个人身份信息以及攻击闭源模型,展示了我们更现实的对手如何超越文献中现有的对手。

英文摘要:

Language models are prone to memorizing their training data, making them vulnerable to extraction attacks. While existing research often examines isolated setups, such as a single model or a fixed prompt, real-world adversaries have a considerably larger attack surface due to access to models across various sizes and checkpoints, and repeated prompting. In this paper, we revisit extraction attacks from an adversarial perspective -- with multi-faceted access to the underlying data. We find significant churn in extraction trends, i.e., even unintuitive changes to the prompt, or targeting smaller models and earlier checkpoints, can extract distinct information. By combining multiple attacks, our adversary doubles ($2 \times$) the extraction risks, persisting even under mitigation strategies like data deduplication. We conclude with four case studies, including detecting pre-training data, copyright violations, extracting personally identifiable information, and attacking closed-source models, showing how our more realistic adversary can outperform existing adversaries in the literature.

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

↑