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

大型语言模型中的对抗攻击与防御:旧威胁与新威胁

Adversarial Attacks and Defenses in Large Language Models: Old and New Threats

Technical University of Munich(慕尼黑工业大学);Munich Data Science Institute(慕尼黑数据科学研究所);Université de Montréal(蒙特利尔大学);Mila Quebec AI Institute(米拉魁北克人工智能研究所)

Leo Schwinn, David Dobre, Stephan Günnemann, Gauthier Gidel

AI总结:

本文指出LLM防御评估常因缺陷而高估鲁棒性,提出改进评估的先决条件,并将嵌入空间攻击视为开源模型生成恶意内容的新威胁,强调需建立LLM特定最佳实践以避免误判防御效果。

摘要:

在过去十年中,已有大量研究旨在增强神经网络的鲁棒性,但这一问题仍然远未得到解决。其中一个主要障碍是,由于防御评估存在缺陷,新防御方法的鲁棒性被高估。有缺陷的鲁棒性评估需要在后续工作中进行纠正,这严重拖慢了研究进度,并造成虚假的安全感。在此背景下,我们将面临自然语言处理领域即将到来的对抗军备竞赛所带来的重大挑战,尤其是针对闭源大型语言模型(LLMs),例如ChatGPT、Google Bard或Anthropic的Claude。我们提供了第一组先决条件,以改进新方法的鲁棒性评估并减少有缺陷评估的数量。此外,我们将针对LLMs的嵌入空间攻击确定为另一种可行的威胁模型,用于在开源模型中生成恶意内容。最后,我们在最近提出的一种防御方法上证明,如果没有针对LLM的特定最佳实践,就很容易高估新方法的鲁棒性。

英文摘要:

Over the past decade, there has been extensive research aimed at enhancing the robustness of neural networks, yet this problem remains vastly unsolved. Here, one major impediment has been the overestimation of the robustness of new defense approaches due to faulty defense evaluations. Flawed robustness evaluations necessitate rectifications in subsequent works, dangerously slowing down the research and providing a false sense of security. In this context, we will face substantial challenges associated with an impending adversarial arms race in natural language processing, specifically with closed-source Large Language Models (LLMs), such as ChatGPT, Google Bard, or Anthropic's Claude. We provide a first set of prerequisites to improve the robustness assessment of new approaches and reduce the amount of faulty evaluations. Additionally, we identify embedding space attacks on LLMs as another viable threat model for the purposes of generating malicious content in open-sourced models. Finally, we demonstrate on a recently proposed defense that, without LLM-specific best practices in place, it is easy to overestimate the robustness of a new approach.

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

↑