[论文解读] JAILJUDGE: A Comprehensive Jailbreak Judge Benchmark with Multi-Agent Enhanced Explanation Evaluation Framework
本文提出了 JAILJUDGE,一个全面的越狱攻击基准,包含 4.5k 个以上的风险场景和 6k 个以上的多语言测试实例,以及一个基于多智能体的解释性框架(JailJudge MultiAgent),可实现细粒度、可解释的越狱检测。该方法在闭源模型和安全过滤模型上均达到最先进性能,其中 JAILJUDGE Guard 将防御模型的攻击成功率(ASR)从 40.46% 降低至 0.15%,而 JailBoost 在零样本设置下将攻击成功率提升了 29.24%。
Despite advancements in enhancing LLM safety against jailbreak attacks, evaluating LLM defenses remains a challenge, with current methods often lacking explainability and generalization to complex scenarios, leading to incomplete assessments (e.g., direct judgment without reasoning, low F1 score of GPT-4 in complex cases, bias in multilingual scenarios). To address this, we present JAILJUDGE, a comprehensive benchmark featuring diverse risk scenarios, including synthetic, adversarial, in-the-wild, and multilingual prompts, along with high-quality human-annotated datasets. The JAILJUDGE dataset includes over 35k+ instruction-tune data with reasoning explainability and JAILJUDGETEST, a 4.5k+ labeled set for risk scenarios, and a 6k+ multilingual set across ten languages. To enhance evaluation with explicit reasoning, we propose the JailJudge MultiAgent framework, which enables explainable, fine-grained scoring (1 to 10). This framework supports the construction of instruction-tuning ground truth and facilitates the development of JAILJUDGE Guard, an end-to-end judge model that provides reasoning and eliminates API costs. Additionally, we introduce JailBoost, an attacker-agnostic attack enhancer, and GuardShield, a moderation defense, both leveraging JAILJUDGE Guard. Our experiments demonstrate the state-of-the-art performance of JailJudge methods (JailJudge MultiAgent, JAILJUDGE Guard) across diverse models (e.g., GPT-4, Llama-Guard) and zero-shot scenarios. JailBoost and GuardShield significantly improve jailbreak attack and defense tasks under zero-shot settings, with JailBoost enhancing performance by 29.24% and GuardShield reducing defense ASR from 40.46% to 0.15%.
研究动机与目标
- 为解决大语言模型越狱检测中缺乏可解释性、泛化能力和细粒度评估的问题。
- 克服现有基准的局限性,如泛化能力差、多语言覆盖不足以及缺乏推理解释。
- 开发一种可靠、低成本且可解释的越狱检测模型,支持攻击与防御应用。
- 实现跨多样化越狱场景(包括对抗性、真实世界及多语言提示)的零样本迁移性能。
- 提供统一框架,用于评估、增强和防御越狱攻击,基于人工标注的高质量数据。
提出的方法
- JAILJUDGE 基准包含 35,000 多个指令微调的训练样本,附带推理解释,以及两个测试集:4.5k 多个广泛风险场景和 6k 多个涵盖 10 种语言的多语言场景。
- 多智能体框架 JailJudge MultiAgent 通过模拟专业智能体之间的协作与透明决策过程,生成基于推理的判断。
- 该框架输出 1 至 10 的细粒度越狱得分,并提供可验证的人工标注推理过程,显著提升可解释性与可靠性。
- 端到端的越狱检测模型 JAILJUDGE Guard 通过在多智能体输出上进行指令微调训练,实现无需 API 调用的高精度推理。
- JailBoost 是一种与攻击者无关的攻击增强工具,通过利用 JAILJUDGE Guard 的推理与评分机制,提升越狱成功率。
- GuardShield 是一种安全过滤防御方法,利用 JAILJUDGE Guard 检测并阻断越狱响应,显著降低攻击成功率。
实验结果
研究问题
- RQ1与单个大语言模型裁判相比,多智能体框架是否能提升越狱检测的可解释性与准确性?
- RQ2JAILJUDGE 基准在复杂、对抗性、真实世界及多语言越狱场景中的泛化能力如何?
- RQ3JAILJUDGE Guard 在无需依赖昂贵 API 调用的前提下,能否在零样本越狱检测中实现最先进性能?
- RQ4JailBoost 是否能显著提升多种零样本基准下的越狱攻击成功率?
- RQ5GuardShield 在真实世界防御场景中是否能有效降低越狱攻击的成功率?
主要发现
- JAILJUDGE Guard 在四个测试数据集上的人工评估一致率达到 95.29%,证明其高度可靠且与人类判断高度一致。
- 在复杂场景中,GPT-4 裁判的 F1 分数下降至 55%,而 JAILJUDGE Guard 保持高性能,证明其鲁棒性。
- JailBoost 在零样本设置下使平均攻击成功率提升 29.24%,显著优于基线攻击方法。
- GuardShield 将平均防御攻击成功率(ASR)从 40.46% 降低至 0.15%,展现出强大的防御能力。
- 多智能体解释框架生成的推理过程高度一致且可解释,人工评估者认为其解释准确且全面。
- JAILJUDGE Guard 在闭源模型(如 GPT-4)和安全过滤模型(如 Llama-Guard、ShieldGemma)上,在分布内与分布外设置下均达到最先进性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。