arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.04027cs.CRcs.AI
收藏

MaskForge:用于越狱扩散大语言模型的结构感知自适应攻击

MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Models

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Johns Hopkins University(约翰霍普金斯大学);University of Southern California(南加州大学);Responsible AI Research (RAIR) Centre, The University of Adelaide(阿德莱德大学负责任人工智能研究中心)

Yingzi Ma, Zhengyue Zhao, Xiaogeng Liu, Minhui Xue, Yue Zhao, Chaowei Xiao

AI总结:

提出MaskForge,一种全黑盒自适应攻击方法,通过优化结构模式库实现扩散大语言模型的红队测试,平均攻击成功率达79.3%。

摘要:

扩散大语言模型(dLLMs)通过在双向上下文下迭代去噪部分掩码序列来生成文本,展现出与自回归LLMs不同的安全表面。由于掩码令牌是原生输入,且令牌由置信度而非位置决定,因此可以通过填充和在受监控前缀之外诱导有害内容。现有的越狱方法要么忽略了这种原生填充能力,要么依赖于低多样性的掩码模板,这些模板统一应用于所有目标,缺乏结构适应性或累积攻击经验。我们提出MaskForge,一种全黑盒自适应攻击,将dLLM红队测试转化为对不断增长的结构模式库的优化搜索。MaskForge将成功的尝试抽象为可重用的模式,使用UCB bandit选择与目标兼容的模式,并在当前库失败时调用评分器引导的备用方案。成功的尝试被蒸馏回模式库,使得经验能够跨目标累积。在五个公开dLLM和三个基准测试中,MaskForge实现了79.3%的平均攻击成功率,相比最强的竞争dLLM基线相对提升17.6%。成熟的模式库进一步迁移到AdvBench而无需任何更新,实现了88.2%的攻击成功率和相比最强竞争基线67%的相对提升。

英文摘要:

Diffusion large language models (dLLMs) generate text by iteratively denoising partially masked sequences under bidirectional context, exposing a safety surface distinct from autoregressive LLMs. Because mask tokens are native inputs and tokens are committed by confidence rather than position, harmful content can be induced through infilling and outside the monitored prefix. Existing jailbreaks either miss this native infill capability or rely on low-diversity mask-bearing templates applied uniformly across goals, with little structural adaptation or accumulated attack experience. We propose MaskForge, a fully black-box adaptive attack that casts dLLM red-teaming as optimized search over a growing library of structural patterns. MaskForge abstracts successful attempts into reusable schemas, selects goal-compatible patterns with a UCB bandit, and invokes a scorer-guided fallback when the current library fails. Successful attempts are distilled back into the pattern library, enabling experience to accumulate across goals. Across five public dLLMs and three benchmarks, MaskForge achieves an average attack success rate of 79.3%, a 17.6% relative improvement over the strongest competing dLLM baseline. The matured pattern library further transfers to AdvBench without any updates, achieving a 88.2% attack success rate and a 67% relative improvement over the strongest competing baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑