arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.31331cs.LG
收藏

有害响应即越狱模板:将自回归越狱方法迁移至扩散语言模型

Harmful Responses Are Jailbreak Templates: Transferring Autoregressive Jailbreaks to Diffusion Language Models

State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);Nanjing University of Posts and Telecommunications(南京邮电大学)

Jinwei Gan, Zifeng Cheng, Zhiwei Jiang, Ran Sun, Shiping Ge, Qing Gu

AI总结:

该研究提出 RMT-Jailbreak 框架,将自回归越狱攻击产生的有害响应作为模板,通过掩码部分 token 诱导扩散语言模型生成有害内容,验证了越狱攻击的跨范式可迁移性。

摘要:

扩散大语言模型(dLLM)通过双向上下文建模实现灵活的掩码生成能力,但该能力也引入了独特的越狱攻击面。我们发现,针对给定查询的有害响应天然可作为有效的越狱模板:仅需掩码其部分 token,即可诱导 dLLM 重建有害内容。基于此观察,我们提出 RMT-Jailbreak,这是一种通过现有自回归(AR)越狱攻击产生的有害响应,将其迁移至 dLLM 的通用框架。RMT-Jailbreak 通过均匀 token 保留将 AR 生成的有害响应转换为高掩码率模板,并进一步应用基于提示的安全过滤以掩码任何剩余可见的有害内容,随后将优化后的模板提供给目标 dLLM 进行双向重建。针对多种 AR 越狱方法和目标 dLLM 的大量实验证明了 RMT-Jailbreak 的有效性和通用性,揭示了越狱攻击的强跨范式可迁移性。

英文摘要:

Diffusion large language models (dLLMs) enable flexible masked generation through bidirectional context modeling, but this capability also introduces a distinct jailbreak attack surface. We find that a harmful response to a given query naturally serves as an effective jailbreak template: simply masking a subset of its tokens can induce a dLLM to reconstruct harmful content. Based on this observation, we propose RMT-Jailbreak, a general framework that transfers existing autoregressive (AR) jailbreak attacks to dLLMs through their induced harmful responses. RMT-Jailbreak converts an AR-generated harmful response into a high-mask-ratio template using uniform token retention, and further applies prompt-based safety filtering to mask any remaining visible harmful content. The refined template is then provided to the target dLLM for bidirectional reconstruction. Extensive experiments across multiple AR jailbreak methods and target dLLMs demonstrate the effectiveness and generality of RMT-Jailbreak, revealing strong cross-paradigm transferability of jailbreak attacks.

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

↑