arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.03191cs.LGcs.CR
收藏

DeepInception:诱导大型语言模型成为越狱者

DeepInception: Hypnotize Large Language Model to Be Jailbreaker

Hong Kong Baptist University(香港浸会大学);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);The University of Sydney(悉尼大学)

Xuan Li, Zhanke Zhou, Jianing Zhu, Jiangchao Yao, Tongliang Liu, Bo Han

AI总结:

针对大型语言模型(LLMs)易受对抗性越狱攻击的问题,本文受米尔格拉姆实验启发提出轻量级方法DeepInception,通过构建虚拟嵌套场景诱导LLMs自适应规避安全控制,在开源和闭源模型上实现领先危害率与持续越狱,揭示其自我认知丧失弱点。

摘要:

大型语言模型(LLMs)在各类应用中取得显著成功,但仍易受对抗性越狱攻击影响,导致其安全护栏失效。此前利用这些漏洞的尝试常依赖高成本计算外推,可能不实用或低效。本文受米尔格拉姆实验中权威影响力的启发,提出一种轻量级方法,利用LLMs的拟人化能力构建一个虚拟嵌套场景,使其在正常场景中实现自适应规避使用控制的方式。实验表明,我们的方法诱导生成的内容与现有方法相比可达到领先的危害率,并在后续交互中实现持续越狱,揭示了开源和闭源LLMs(如Llama-2、Llama-3、GPT-3.5、GPT-4和GPT-4o)在自我认知丧失方面的关键弱点。代码和数据可在https://github.com/tmlr-group/DeepInception获取。

英文摘要:

Large language models (LLMs) have succeeded significantly in various applications but remain susceptible to adversarial jailbreaks that void their safety guardrails. Previous attempts to exploit these vulnerabilities often rely on high-cost computational extrapolations, which may not be practical or efficient. In this paper, inspired by the authority influence demonstrated in the Milgram experiment, we present a lightweight method to take advantage of the LLMs' personification capabilities to construct $\textit{a virtual, nested scene}$, allowing it to realize an adaptive way to escape the usage control in a normal scenario. Empirically, the contents induced by our approach can achieve leading harmfulness rates with previous counterparts and realize a continuous jailbreak in subsequent interactions, which reveals the critical weakness of self-losing on both open-source and closed-source LLMs, $\textit{e.g.}$, Llama-2, Llama-3, GPT-3.5, GPT-4, and GPT-4o. The code and data are available at: https://github.com/tmlr-group/DeepInception.

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

↑