SRTJ:自演化规则驱动的无训练LLM jailbreaking
SRTJ: Self-Evolving Rule-Driven Training-Free LLM Jailbreaking
AI总结:
SRTJ通过交互反馈系统发现、组合和优化攻击策略,无需更新模型参数,有效平衡探索与利用,提升攻击鲁棒性和泛化能力。
摘要:
LLMs日益配备安全对齐机制,但最近研究表明它们仍易受jailbreaking攻击,此类攻击可引发有害行为而不违反显式政策。尽管已有大量工作探索自动化jailbreak策略,但现有方法面临根本性挑战,包括未能系统利用成功和失败的攻击经验,以及缺乏在不同约束下组合和选择可重用攻击规则的原理性机制。为此,我们提出一种自演化规则驱动的无训练jailbreak(SRTJ)框架,通过交互和反馈系统发现、组合和优化攻击策略,无需更新模型参数。具体而言,SRTJ结合经验驱动的攻击生成与基于答案集编程(ASP)的规则选择和约束感知组合,利用迭代验证器反馈共同优化成功策略并分析失败模式。最终的规则记忆以分层多级方式进化,显式地将提炼的攻击知识组织为长期、中期和短期规则,从而捕捉稳定可转移的策略和瞬时适应行为,有效平衡探索与利用。在主流jailbreak基准(HarmBench)上的广泛实验表明,SRTJ在不同目标LLM上实现了强且稳定的攻击性能,同时相比现有jailbreak方法表现出改进的鲁棒性和泛化能力。代码可在https://github.com/TheSolkatt/SRTJ获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。