arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.10438cs.CRcs.AIcs.LG
收藏

在数分钟内向大型语言模型注入通用越狱后门

Injecting Universal Jailbreak Backdoors into LLMs in Minutes

Guangdong University of Foreign Studies(广东外语外贸大学);Cornell University(康奈尔大学);University of Massachusetts Boston(马萨诸塞大学波士顿分校)

Zhuowei Chen, Qiannan Zhang, Shichao Pei

AI总结:

本文提出 JailbreakEdit,利用模型编辑和多节点目标估计在数分钟内向安全对齐 LLM 注入通用越狱后门,实现高成功率且保持正常性能。

摘要:

针对大型语言模型(LLM)的越狱后门攻击因其有效性和隐蔽性而受到关注。然而,现有方法依赖于构造投毒数据集以及耗时的微调过程。在本工作中,我们提出 JailbreakEdit,这是一种新颖的越狱后门注入方法,利用模型编辑技术,以最小干预在数分钟内向经过安全对齐的 LLM 注入通用越狱后门。JailbreakEdit 集成了多节点目标估计以估计越狱空间,从而创建从后门到该估计越狱空间的捷径,诱导越狱行为。我们的攻击通过为后门附加强语义,有效转移模型注意力,使其能够绕过内部安全机制。实验结果表明,JailbreakEdit 在越狱提示上实现了很高的越狱成功率,同时保持生成质量,并在正常查询上保持安全性能。我们的发现强调了 JailbreakEdit 的有效性、隐蔽性和可解释性,也强调了 LLM 需要更先进的防御机制。

英文摘要:

Jailbreak backdoor attacks on LLMs have garnered attention for their effectiveness and stealth. However, existing methods rely on the crafting of poisoned datasets and the time-consuming process of fine-tuning. In this work, we propose JailbreakEdit, a novel jailbreak backdoor injection method that exploits model editing techniques to inject a universal jailbreak backdoor into safety-aligned LLMs with minimal intervention in minutes. JailbreakEdit integrates a multi-node target estimation to estimate the jailbreak space, thus creating shortcuts from the backdoor to this estimated jailbreak space that induce jailbreak actions. Our attack effectively shifts the models' attention by attaching strong semantics to the backdoor, enabling it to bypass internal safety mechanisms. Experimental results show that JailbreakEdit achieves a high jailbreak success rate on jailbreak prompts while preserving generation quality, and safe performance on normal queries. Our findings underscore the effectiveness, stealthiness, and explainability of JailbreakEdit, emphasizing the need for more advanced defense mechanisms in LLMs.

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

↑