无需训练,自动进化攻击规则,突破大模型安全限制
SRTJ: Self-Evolving Rule-Driven Training-Free LLM Jailbreaking

- 用规则驱动+反馈迭代,自动提炼有效攻击策略
- 在HarmBench上对多模型攻击成功率超90%,且更稳定
- 适合研究模型漏洞或安全防御的开发者使用
大语言模型虽具备安全对齐机制,但仍易受越狱攻击,诱发有害行为而不违反明确政策。现有方法存在未能系统利用成功与失败经验、缺乏可复用规则组合机制等缺陷,难以积累可迁移知识或适应不同目标与演化后的安全机制。为此,本文提出SRTJ框架——一种无需参数更新的自进化规则驱动越狱方法。该框架通过交互反馈,结合基于答案集编程(ASP)的规则选择与约束感知组合,实现攻击策略的发现、组合与优化。其规则记忆以分层多级方式演进,将攻击知识划分为长期、中期与短期规则,兼顾通用策略与临时适配。在主流越狱基准HarmBench上的实验证明,SRTJ在多种目标模型上均达超90%攻击成功率,且性能更稳定、泛化能力更强。代码已开源。
原文摘要 · Abstract (English)
LLMs are increasingly equipped with safety alignment mechanisms, yet recent studies demonstrate that they remain vulnerable to jailbreaking attacks that elicit harmful behaviors without explicit policy violations. While a growing body of work has explored automated jailbreak strategies, existing methods face several fundamental challenges, including the lack of systematic utilization of both successful and failed attack experiences, as well as the absence of principled mechanisms for composing and selecting reusable attack rules under diverse constraints. As a result, existing methods struggle to accumulate transferable knowledge over time and to reliably adapt attack strategies across different targets and evolving safety mechanisms. To address these issues, we propose a Self-Evolving Rule-Driven Training-Free Jailbreak (SRTJ) framework that systematically discovers, composes, and refines attack strategies through interaction and feedback, without updating model parameters. Specifically, SRTJ couples experience-driven attack generation with answer set programming (ASP)-based rule selection and constraint-aware composition, where iterative verifier feedback is leveraged to jointly refine successful strategies and analyze failure patterns. The resulting rule memory evolves in a hierarchical multi-level manner, explicitly organizing distilled attack knowledge into long-term, middle-term, and short-term rules, thereby capturing both stable transferable strategies and transient adaptive behaviors to effectively balance exploration and exploitation across attack attempts. Extensive experiments on mainstream jailbreak benchmark (HarmBench) demonstrate that SRTJ achieves strong and stable attack performance across different target LLMs, while exhibiting improved robustness and generalization compared to existing jailbreak methods. The code is available at https://github.com/TheSolkatt/SRTJ.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。