[论文解读] Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Models
本研究系统化了越狱提示,衡量它们在三大商业大型语言模型上的效果,进行了92人用户研究了解提示的创建方式,并展示了一个半自动化的AI辅助越狱生成器。
Recent advancements in generative AI have enabled ubiquitous access to large language models (LLMs). Empowered by their exceptional capabilities to understand and generate human-like text, these models are being increasingly integrated into our society. At the same time, there are also concerns on the potential misuse of this powerful technology, prompting defensive measures from service providers. To overcome such protection, jailbreaking prompts have recently emerged as one of the most effective mechanisms to circumvent security restrictions and elicit harmful content originally designed to be prohibited. Due to the rapid development of LLMs and their ease of access via natural languages, the frontline of jailbreak prompts is largely seen in online forums and among hobbyists. To gain a better understanding of the threat landscape of semantically meaningful jailbreak prompts, we systemized existing prompts and measured their jailbreak effectiveness empirically. Further, we conducted a user study involving 92 participants with diverse backgrounds to unveil the process of manually creating jailbreak prompts. We observed that users often succeeded in jailbreak prompts generation regardless of their expertise in LLMs. Building on the insights from the user study, we also developed a system using AI as the assistant to automate the process of jailbreak prompt generation.
研究动机与目标
- 表征现有越狱提示的潜在策略及其有效性。
- 通过用户研究理解人类如何开发语义上有意义的越狱提示。
- 探索使用AI助手自动生成越狱提示的可行性。
提出的方法
- 从网络来源收集了448个真实世界的越狱提示,并通过主题分析推导出161个恶意查询。
- 开发了两种基于人工标注的度量指标EMH和JSR,用于量化越狱有效性。
- 在GPT-3.5、GPT-4和PaLM-2上评估提示,每个提示生成五次,并进行人工标注。
- 进行了消融研究,以识别有效提示转换的关键要素。
- 构建了一个交互式AI辅助框架,迭代地变更提示并在766个起始提示上测试对越狱有效性的影响。

实验结果
研究问题
- RQ1RQ1:现有越狱提示的潜在策略及其有效性是什么?
- RQ2RQ2:在现实世界中,人类开发和执行语义上有意义的越狱攻击的过程是什么?
- RQ3RQ3:人类和AI是否可以协作实现语义上有意义的越狱提示的自动生成?
主要发现
- 越狱提示可聚类为五类和十种模式,其中两种策略在各模型上最为有效。
- 在包含92名参与者的用户研究中,即使是经验不足的参与者也能构建成功的越狱。
- GPT-4对越狱尝试表现出比GPT-3.5和PaLM-2更强的鲁棒性,EMH和JSR分值更低。
- 混合策略和虚拟AI仿真是最有效的模式,而结构化响应则较不有效。
- 存在在GPT-3.5、GPT-4和PaLM-2上都能产生越狱的通用越狱提示。
- 更长且更复杂的提示与更高的EMH和JSR分数正相关。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。