arXiv:2605.02921cs.NEcs.AI2026-05中稿 · publication in Inf…被引 1

进化式生成多样越狱指令,高效突破大模型安全防护。

EvoJail: Evolutionary Diverse Jailbreak Prompt Generation for Large Language Models

论文配图:EvoJail: Evolutionary Diverse Jailbreak Prompt Generation for Large Language Models
图 1 · 摘自论文原文
  • 基于进化算法构建迭代优化框架,动态适应模型更新。
  • 攻击成功率超93%,多样性指标提升5.6%以上。
  • 适合安全测试与模型鲁棒性评估的研究者使用。

随着大语言模型在现实应用中的普及,自动化越狱指令生成对于揭示安全漏洞并指导模型改进至关重要。现有方法尚未充分考虑两个关键问题:对持续演进的安全微调模型的适应性,影响其在新版本上的有效性;以及生成指令的多样性,可能导致攻击模式狭窄或重复。为此,我们提出EvoJail,一个基于指令融合的进化式越狱指令生成框架,将越狱指令生成形式化为多目标黑盒优化问题,并利用进化算法搜索能跨模型版本自适应且具有多样化攻击模式的指令。具体而言,EvoJail将生成过程融入迭代进化循环,每轮候选指令直接在目标模型上评估,并根据响应选择和变异,实现对模型更新的持续适应。为增强多样性,EvoJail引入面向字段的指令融合构造多样化起点,并在进化适应度函数中加入多样性导向目标,引导搜索向语义更丰富的提示方向;同时设计多层次基于LLM的变异算子,在不同粒度上修改提示结构,促进整个进化过程中结构多样性。实验表明,EvoJail具备更强适应性,攻击成功率超过93%,多样性指标相比最先进方法提升超过5.6%。

原文摘要 · Abstract (English)

As LLMs continue to shape real-world applications, automated jailbreak generation becomes essential to reveal safety weaknesses and guide model improvement. Existing automatic jailbreak generation methods have not yet fully considered two important aspects: adaptability to evolving safety-finetuned models, which affects their effectiveness on newer model versions, and diversity in generated prompts, which can cause narrow or repetitive attack patterns. To address these issues, we propose EvoJail, an instruction-fusion-driven evolutionary jailbreak generation framework that formalizes jailbreak prompt generation as a multi-objective black-box optimization problem and leverages the principles of evolutionary algorithms to search for jailbreak prompts that can adapt across different model versions and exhibit diverse attack patterns. Specifically, EvoJail integrates jailbreak prompt generation into an iterative evolutionary loop, where at each iteration candidate prompts are evaluated directly against the target model and then selected and varied based on the target model's responses, enabling the generation process to continuously adapt to model updates. To enhance diversity, EvoJail introduces field-aware instruction fusion to construct diverse starting points and incorporates diversity-aware objectives into the evolutionary fitness function, guiding the search toward prompts with richer semantic variation, while further designing multi-level LLM-based mutation operators that modify prompt structures at different granularities to promote structural diversity throughout the evolutionary process. Results demonstrate that EvoJail has stronger adaptability and can achieve over $93\%$ attack success rate and more than $5.6\%$ improvement in diversity metrics over state-of-the-art methods.

越狱攻击进化算法多样性生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。