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

DevFeed: [Harmful Responses Are Jailbreak Templates: Transferring Autoregressive Jailbreaks to Diffusion Language Models](<https://devfeed.tech/articles/harmful-responses-are-jailbreak-templates-transferring-autoregressive-jailbreaks-to-diffusion-language-models-97053.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31331>)

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

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>)

Tags: [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [jailbreak](<https://devfeed.tech/tags/jailbreak.md>), [jailbreaks](<https://devfeed.tech/tags/jailbreaks.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [templates](<https://devfeed.tech/tags/templates.md>)

## AI overview

The paper reports that harmful responses generated by autoregressive (AR) jailbreaks can act as templates for eliciting harmful content from diffusion language models (dLLMs). Its RMT-Jailbreak framework uniformly retains some tokens while masking others to create a high-mask-ratio template, then uses prompt-based safety filtering to mask remaining visible harmful content before the target dLLM reconstructs it bidirectionally. Experiments across multiple AR jailbreak methods and dLLMs reportedly show effective, general cross-paradigm transfer. The supplied text is an abstract and does not provide detailed results or limitations.

## Source excerpt

arXiv:2610.31331v1 Announce Type: new Abstract: 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.