MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Models
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 46 of its 57 references that are in the map. First posted on arXiv 1 Jun 2026.
Builds on
46 of 57 references.
Closest ancestors · 17
Same direction, newest first
- 2026Re-Mask and Redirect: Exploiting Denoising Irreversibility in Diffusion Language Models17 Mar
- 2025GCG Attack On A Diffusion LLM30 Dec
- 2025Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability1 Oct
- 2025DiffuGuard: How Intrinsic Safety is Lost and Found in Diffusion Large Language Models29 Sep
- 2025A2D: Any-Order, Any-Step Safety Alignment for Diffusion Language Models27 Sep
- 2025Jailbreaking Large Language Diffusion Models: Revealing Hidden Safety Flaws in Diffusion-Based Text Generation25 Jul
- 2025The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMs15 Jul
- 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoning14 Jul
- 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMs3 Oct
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models28 Mar
- 2024A StrongREJECT for Empty Jailbreaks15 Feb
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
5 more
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 29
- 2023GPT-4 Technical Reportcited by 18,132
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2024Simple and Effective Masked Diffusion Language Modelscited by 800
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 712
- 2024Simplified and Generalized Masked Diffusion for Discrete Datacited by 606
- 2025Dream 7B: Diffusion Large Language Modelscited by 515
17 more
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 404
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 385
- 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 273
- 2025MMaDA: Multimodal Large Diffusion Language Modelscited by 241
- 2025Mercury: Ultra-Fast Language Models Based on Diffusioncited by 225
- 2025DiffuCoder: Understanding and Improving Masked Diffusion Models for Code Generationcited by 184
- 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learningcited by 178
- 2025Seed Diffusion: A Large-Scale Diffusion Language Model with High-Speed Inferencecited by 173
- 2025LLaDA2.0: Scaling Up Diffusion Language Models to 100Bcited by 154
- 2025Fast-dLLM v2: Efficient Block-Diffusion LLMcited by 128
- 2025Dream-Coder 7B: An Open Diffusion Language Model for Codecited by 81
- 2025Reinforcing the Diffusion Chain of Lateral Thought with Diffusion Language Modelscited by 53
- 2024Mercury: A Code Efficiency Benchmark for Code Large Language Modelscited by 34
- 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvascited by 16
- 2025Unveiling the Potential of Diffusion Large Language Model in Controllable Generationcited by 14
- 2025Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Positioncited by 11
Built on by
Not cited yet.