arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.09798cs.CLcs.AIcs.CY

全在于你如何提问:针对越狱攻击的简单黑盒方法

All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks

Kyushu Institute of Technology(九州工业大学)

Kazuhiro Takemoto

AI总结:

针对大型语言模型的越狱挑战,本文提出一种直接利用目标模型迭代转化有害提示的简单黑盒攻击方法,在ChatGPT和Gemini-Pro上平均五次迭代内实现超80%攻击成功率,揭示了黑盒越狱攻击的高风险。

摘要:

大型语言模型(LLMs),如ChatGPT,面临“越狱”挑战,即安全防护被绕过以生成伦理上有害的提示。本研究引入了一种简单的黑盒方法,用于高效构造越狱提示,以解决传统方法带来的显著复杂性和计算成本。我们的技术直接利用目标LLM,将有害提示迭代地转化为良性表达,其基于LLMs能够自主生成规避安全防护的表达这一假设。通过在ChatGPT(GPT-3.5和GPT-4)以及Gemini-Pro上进行的实验,我们的方法在针对禁止问题时,平均在五次迭代内持续实现了超过80%的攻击成功率,并证明对模型更新具有鲁棒性。生成的越狱提示不仅措辞自然、简洁,而且难以防御。这些发现表明,构造有效的越狱提示比之前认为的更简单,凸显了黑盒越狱攻击带来的高度风险。

英文摘要:

Large Language Models (LLMs), such as ChatGPT, encounter `jailbreak' challenges, wherein safeguards are circumvented to generate ethically harmful prompts. This study introduces a straightforward black-box method for efficiently crafting jailbreak prompts, addressing the significant complexity and computational costs associated with conventional methods. Our technique iteratively transforms harmful prompts into benign expressions directly utilizing the target LLM, predicated on the hypothesis that LLMs can autonomously generate expressions that evade safeguards. Through experiments conducted with ChatGPT (GPT-3.5 and GPT-4) and Gemini-Pro, our method consistently achieved an attack success rate exceeding 80% within an average of five iterations for forbidden questions and proved robust against model updates. The jailbreak prompts generated were not only naturally-worded and succinct but also challenging to defend against. These findings suggest that the creation of effective jailbreak prompts is less complex than previously believed, underscoring the heightened risk posed by black-box jailbreak attacks.

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

↑