Tempest:基于树搜索的大语言模型自主多轮越狱
Tempest: Autonomous Multi-Turn Jailbreaking of Large Language Models with Tree Search
AI总结:
提出多轮对抗框架 Tempest,利用树搜索和广度优先策略逐步瓦解 LLM 安全防护,在 JailbreakBench 上对 GPT-3.5-turbo 和 GPT-4 取得极高越狱成功率且查询数少于基线。
摘要:
我们引入了 Tempest,这是一个多轮对抗性框架,通过树搜索的视角对大语言模型(LLM)安全性的逐步瓦解进行建模。与依赖单一精心设计提示词的单轮越狱不同,Tempest 在每一轮以广度优先的方式扩展对话,分支出多个对抗性提示词,以利用先前响应中的部分顺从。通过追踪这些渐进的策略泄露并将其重新注入后续查询中,Tempest 揭示了微小的让步如何累积成完全被禁止的输出。在 JailbreakBench 数据集上的评估表明,Tempest 在单次多轮运行中对 GPT-3.5-turbo 实现了 100% 的成功率,对 GPT-4 达到了 97%,且使用的查询数少于 Crescendo 或 GOAT 等基线方法。这种树搜索方法深入展示了模型安全防护如何在连续对话轮次中退化,凸显了对语言模型进行稳健的多轮测试程序的紧迫性。
英文摘要:
We introduce Tempest, a multi-turn adversarial framework that models the gradual erosion of Large Language Model (LLM) safety through a tree search perspective. Unlike single-turn jailbreaks that rely on one meticulously engineered prompt, Tempest expands the conversation at each turn in a breadth-first fashion, branching out multiple adversarial prompts that exploit partial compliance from previous responses. By tracking these incremental policy leaks and re-injecting them into subsequent queries, Tempest reveals how minor concessions can accumulate into fully disallowed outputs. Evaluations on the JailbreakBench dataset show that Tempest achieves a 100% success rate on GPT-3.5-turbo and 97% on GPT-4 in a single multi-turn run, using fewer queries than baselines such as Crescendo or GOAT. This tree search methodology offers an in-depth view of how model safeguards degrade over successive dialogue turns, underscoring the urgency of robust multi-turn testing procedures for language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。