PRP:传播通用扰动以攻击大语言模型护栏
PRP: Propagating Universal Perturbations to Attack Large Language Model Guard-Rails
AI总结:
本文提出PRP攻击策略,通过构造通用对抗前缀并传播至响应,成功攻破多种开源和闭源大语言模型护栏,揭示现有防御机制仍存在严重不足。
摘要:
大语言模型(LLMs)通常被对齐为对人类无害。不幸的是,近期研究表明,这类模型容易受到自动化越狱攻击的影响,从而被诱导生成有害内容。较新的大语言模型往往引入了一层额外的防御机制,即护栏模型(Guard Model),这是一个第二LLM,旨在检查并调节主LLM的输出响应。我们的核心贡献是提出一种新颖的攻击策略PRP,该策略能够成功攻击多个开源(如Llama 2)和闭源(如GPT 3.5)的护栏模型实现。PRP利用一种基于前缀的两步攻击方法,其操作方式是:(a) 为护栏模型构造一个通用对抗前缀,以及 (b) 将该前缀传播到响应中。我们发现这一过程在多种威胁模型下均有效,包括对手完全无法访问护栏模型的情形。我们的工作表明,在防御和护栏模型被认为有效之前,还需要进一步的改进。
英文摘要:
Large language models (LLMs) are typically aligned to be harmless to humans. Unfortunately, recent work has shown that such models are susceptible to automated jailbreak attacks that induce them to generate harmful content. More recent LLMs often incorporate an additional layer of defense, a Guard Model, which is a second LLM that is designed to check and moderate the output response of the primary LLM. Our key contribution is to show a novel attack strategy, PRP, that is successful against several open-source (e.g., Llama 2) and closed-source (e.g., GPT 3.5) implementations of Guard Models. PRP leverages a two step prefix-based attack that operates by (a) constructing a universal adversarial prefix for the Guard Model, and (b) propagating this prefix to the response. We find that this procedure is effective across multiple threat models, including ones in which the adversary has no access to the Guard Model at all. Our work suggests that further advances are required on defenses and Guard Models before they can be considered effective.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。