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

重新掩码和引导:利用去噪不可逆性在扩散语言模型中进行攻击

Re-Mask and Redirect: Exploiting Denoising Irreversibility in Diffusion Language Models

National Institute of Technology Agartala(阿加尔塔拉国立理工学院)

Arth Singh

AI总结:

本文提出TrajHijack攻击,通过重新掩码已承诺的拒绝标记并注入短的肯定前缀,显著提升ASR性能,揭示了扩散语言模型的安全性漏洞及防御机制的不足。

摘要:

扩散语言模型(dLLMs)的安全对齐依赖于一个单一的承重假设:已承诺的标记是永久的。我们证明,通过违反这一假设,重新掩码已承诺的拒绝标记并注入短的肯定前缀,可以在 HarmBench 上实现 74-82% 的 ASR,使用通用的 8 个标记合规前缀可提升至 92-98%。我们称这种攻击为 TrajHijack;它是首个针对 dLLMs 的轨迹级攻击,无需梯度计算,并能跨 SFT 和偏好优化(VRPO)模型泛化。三个发现浮现。首先,漏洞本质上是双组件的:仅重新掩码(4.4%)或仅前缀(5.7%)均失败。其次,通过可微 Gumbel-softmax 链进行梯度优化会降低 ASR(41.5% vs. 76.1%),因为连续扰动会将标记分布推离流形。第三,A2D(已发表的最强 dLLM 防御)对 TrajHijack 的易受攻击性(89.9%)比未防御模型(76.1%)更高:其沉默拒绝训练去除了轨迹级攻击必须克服的上下文阻力,我们称之为防御倒置效应。

英文摘要:

Safety alignment in diffusion language models (dLLMs) relies on a single load-bearing assumption: that committed tokens are permanent. We show that violating this assumption, by re-masking committed refusal tokens and injecting a short affirmative prefix, achieves 74-82% ASR on HarmBench across all three publicly available safety-tuned dLLMs, rising to 92-98% with a generic 8-token compliance prefix. We call this attack TrajHijack; it is the first trajectory-level attack on dLLMs, requires no gradient computation, and generalizes across SFT and preference-optimized (VRPO) models. Three findings emerge. First, the vulnerability is irreducibly two-component: re-masking alone (4.4%) and prefix alone (5.7%) both fail. Second, gradient optimization via a differentiable Gumbel-softmax chain consistently degrades ASR (41.5% vs. 76.1%), because continuous perturbations push token distributions off-manifold. Third, A2D (the strongest published dLLM defense) is more vulnerable to TrajHijack (89.9%) than the undefended model (76.1%): its silent-refusal training removes the contextual resistance that trajectory-level attacks must overcome, an effect we call the Defense Inversion Effect.

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

↑