Johnny 如何说服大语言模型越狱:通过人性化大语言模型重新思考说服以挑战 AI 安全
How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs
AI总结:
本文提出将大语言模型视为类人沟通者,利用社会科学说服分类法自动生成可解释的说服性对抗提示(PAP)实现越狱,在多个主流模型上攻击成功率超过92%,并揭示现有防御的根本性不足。
摘要:
大多数传统 AI 安全研究将 AI 模型视为机器,并侧重于由安全专家开发的以算法为中心的攻击。随着大语言模型(LLMs)日益普及且能力不断增强,非专家用户也可能在日常交互中带来风险。本文引入一种新的视角,将大语言模型作为类人沟通者进行越狱,以探索日常语言交互与 AI 安全之间这一被忽视的交汇点。具体而言,我们研究如何说服大语言模型使其越狱。首先,我们基于数十年的社会科学研究提出一种说服分类法。然后,我们应用该分类法自动生成可解释的说服性对抗提示(PAP)以越狱大语言模型。结果表明,说服显著提升了所有风险类别中的越狱性能:PAP 在 10 次试验中对 Llama 2-7b Chat、GPT-3.5 和 GPT-4 持续实现超过 92% 的攻击成功率,超越了近期以算法为中心的攻击。在防御方面,我们探索了针对 PAP 的各种机制,发现现有防御存在显著差距,并倡导对高度交互的大语言模型采取更根本的缓解措施。
英文摘要:
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
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。