MaskForge:面向扩散大语言模型越狱的结构感知自适应攻击 MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Models 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-01
👁️ 预览文献
💡 AI 中文简介
扩散大语言模型(dLLM)通过迭代去噪掩码序列生成文本,其安全面与自回归模型不同:掩码是原生输入,且token按置信度而非位置提交,因此攻击者可利用填充能力绕过前缀监控。现有越狱方法忽视这一特性,或使用低多样性模板。本文提出MaskForge,一种全黑盒自适应攻击,将dLLM红队测试建模为对结构模式库的优化搜索,利用UCB bandit选择模式,失败时启用评分引导回退,成功经验蒸馏回库。在五个公开dLLM和三个基准上,平均攻击成功率79.3%,相对最强基线提升17.6%;模式库无需更新即可迁移至AdvBench,成功率达88.2%,相对提升67%。
领域自然语言处理 / 大语言模型安全
适合谁读需要一定专业背景(了解大语言模型、扩散模型与对抗攻击基础)
核心贡献1. 首次系统利用dLLM原生填充能力进行黑盒越狱,将攻击建模为结构模式库的优化搜索;2. 提出基于UCB bandit的模式选择与评分引导回退机制,实现跨目标经验积累与迁移。
关键数据在5个公开dLLM和3个基准上平均攻击成功率79.3%,相对最强dLLM基线提升17.6%;模式库零更新迁移至AdvBench,攻击成功率88.2%,相对最强基线提升67%。
推荐理由如果你关心大模型安全,这篇工作用巧妙的模式库搜索把扩散语言模型的越狱成功率推到了近80%,还展示了强大的迁移能力,值得一读。
关键词["扩散大语言模型", "越狱攻击", "黑盒自适应攻击", "结构模式库", "UCB bandit", "红队测试"]

原文摘要

查看英文原文摘要

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.