2025-02-17 · 专家 · 自然语言处理 · 机器学习

Jailbreaking to Jailbreak

这篇论文提出了“从破解到破解”(J2)的全新方法,利用人类红队员的指导将高级语言模型转化为有效的红队工具,从而系统地评估目标模型,并通过上下文学习改进其性能。

更新于 2025-02-17。作者:Jeremy Kritz、Vaughn Robinson、Robert Vacareanu、Bijan Varjavand、Michael Choi、Bobby Gogov、Scale Red Team、Summer Yue、Willow E. Primack、Zifan Wang。

中文摘要

大型语言模型(LLMs)的拒绝训练可以防止有害输出的产生,但这一防御措施仍然容易受到自动和人工制造的越狱攻击。我们提出了一种创新的LLM作为红队成员的方法,其中人类越狱者越狱一个拒绝训练过的LLM,使其愿意越狱自身或其他LLMs。我们将越狱后的LLMs称为J_2攻击者,它们可以使用各种红队策略系统地评估目标模型,并通过从先前的失败中学习上下文来提高其性能。我们的实验表明,Sonnet 3.5和Gemini 1.5 pro在J_2方面优于其他LLMs,分别在Harmbench上对GPT-4o(以及其他有能力的LLMs)实现了93.0%和91.0%的攻击成功率(ASR)。我们的工作不仅引入了一种可扩展的战略红队方法,并从人类红队成员那里汲取灵感,而且还突出了从越狱到越狱作为安全措施被忽视的故障模式。具体来说,一个LLM可以通过使用愿意协助进一步越狱的越狱版本来绕过自己的安全措施。为了防止J_2的直接滥用,同时推进人工智能安全研究,我们公开分享了我们的方法,同时保留特定的提示细节私密。

英文摘要

Refusal training on Large Language Models (LLMs) prevents harmful outputs, yet this defense remains vulnerable to both automated and human-crafted jailbreaks. We present a novel LLM-as-red-teamer approach in which a human jailbreaks a refusal-trained LLM to make it willing to jailbreak itself or other LLMs. We refer to the jailbroken LLMs as J_2 attackers, which can systematically evaluate target models using various red teaming strategies and improve its performance via in-context learning from the previous failures. Our experiments demonstrate that Sonnet 3.5 and Gemini 1.5 pro outperform other LLMs as J_2, achieving 93.0% and 91.0% attack success rates (ASRs) respectively against GPT-4o (and similar results across other capable LLMs) on Harmbench. Our work not only introduces a scalable approach to strategic red teaming, drawing inspiration from human red teamers, but also highlights jailbreaking-to-jailbreak as an overlooked failure mode of the safeguard. Specifically, an LLM can bypass its own safeguards by employing a jailbroken version of itself that is willing to assist in further jailbreaking. To prevent any direct misuse with J_2, while advancing research in AI safety, we publicly share our methodology while keeping specific prompting details private.

解读

一句话总结

这篇论文提出了“从破解到破解”(J2)的全新方法,利用人类红队员的指导将高级语言模型转化为有效的红队工具,从而系统地评估目标模型,并通过上下文学习改进其性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt