Skip to main content
QUICK REVIEW

[论文解读] How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs

Yi Zeng, Hongpeng Lin|arXiv (Cornell University)|Jan 12, 2024
Ethics and Social Impacts of AISocial Sciences被引用 5
一句话总结

本文提出一个以社会科学为基础的信息化分类法,用于生成可说服性的对抗性提示以越狱LLMs,在多种模型上显示出高攻击成功率,并分析防御。它主张超越算法性越狱的根本安全缓解措施。

ABSTRACT

Most traditional AI safety research has approached AI models as machines and centered on algorithm-focused attacks developed by security experts. As large language models (LLMs) become increasingly common and competent, non-expert users can also impose risks during daily interactions. This paper introduces a new perspective to jailbreak LLMs as human-like communicators, to explore this overlooked intersection between everyday language interaction and AI safety. Specifically, we study how to persuade LLMs to jailbreak them. First, we propose a persuasion taxonomy derived from decades of social science research. Then, we apply the taxonomy to automatically generate interpretable persuasive adversarial prompts (PAP) to jailbreak LLMs. Results show that persuasion significantly increases the jailbreak performance across all risk categories: PAP consistently achieves an attack success rate of over $92\%$ on Llama 2-7b Chat, GPT-3.5, and GPT-4 in $10$ trials, surpassing recent algorithm-focused attacks. On the defense side, we explore various mechanisms against PAP and, found a significant gap in existing defenses, and advocate for more fundamental mitigation for highly interactive LLMs

研究动机与目标

  • 建立一个以社会科学为基础的说服技术分类系统,用于研究日常人类与LLM互动中的AI安全风险。
  • 开发一个 Persuasive Paraphraser,用以自动生成人类可读的具说服性的对抗性提示(PAP)。
  • 利用大规模测试在风险类别和说服技巧上量化越狱成功率。
  • 评估现有对PAP的防御并提出自适应防御。
  • 突显人类般的交流在AI安全中的独特风险及其影响。

提出的方法

  • 创建一个包含40种技术的分类法,分为13种策略,来源于心理学、社会学、市场营销和自然语言处理(NLP)。
  • 训练一个 Persuasive Paraphraser(对GPT-3.5进行微调),使用分类法引导的提示将普通有害查询转换为PAP。
  • 在14个风险类别中进行广泛扫描,将PAP应用于GPT-3.5和Llama-2模型以衡量越狱成功率,且不进行专门的优化。
  • 通过对成功的PAP进行微调并在多个对齐的LLM(GPT-3.5、GPT-4、Claude)以及一个攻击基准(AdvBench)上进行测试,进行深入的迭代探针。
  • 使用 GPT-4 Judge 将有害性评估为1–5分,并将结果归类为越狱或拒绝。
  • 评估基于变异和检测的防御对PAP的防御效果,并提出自适应防御。

实验结果

研究问题

  • RQ1以社会科学为信息的分类法是否能够实现对LLMs越狱的可扩展的说服性提示生成?
  • RQ2PAP在不同风险类别和模型家族(Llama-2、GPT-3.5、GPT-4、Claude)中的有效性如何?
  • RQ3现有的事后防御是否足以缓解PAP,以及自适应防御是否能提高对人类般说服力的安全性?
  • RQ4模型能力如何与单轮与迭代、多技巧交互中的PAP易感性相关。

主要发现

  • PAP在Llama-2 7b Chat、GPT-3.5和GPT-4上,在10次试验内实现超过92%的越狱攻击成功率。
  • 逻辑说服和权威背书是最有效的技巧之一,而威胁效果较弱。
  • PAP在包括GPT-4在内的若干模型上,优于若干以算法为焦点的基线方法。
  • 防御分析显示当前事后防御的有限有效性,变异基防御通常强于检测基防御。
  • 在早期试验中,GPT-4和GPT-3.5对PAP的易感性高于GPT-3.5,表明能力提升带来更高的易感性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。