Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
Diffusion language models (DLMs) generate tokens in parallel through iterative denoising, which can reduce latency and enable bidirectional conditioning. However, the safety risks posed by jailbreak attacks that exploit this inference mechanism are not well understood. In this paper, we reveal that DLMs have a critical vulnerability stemming from their iterative denoising process and propose a countermeasure. Specifically, our investigation shows that if an affirmative token for a harmful query appears at an intermediate step, subsequent denoising can be steered toward a harmful response even in aligned models. As a result, simply injecting such affirmative tokens can readily bypass the safety guardrails. Furthermore, we demonstrate that the vulnerability allows existing optimization-based jailbreak attacks to succeed on DLMs. Building on this analysis, we propose a novel safety alignment method tailored to DLMs that trains models to generate safe responses from contaminated intermediate states that contain affirmative tokens. Our experiments indicate that the proposed method significantly mitigates the vulnerability with minimal impact on task performance. Furthermore, our method improves robustness against conventional jailbreak attacks. Our work underscores the need for DLM-specific safety research. Our code is available at https://github.com/mdl-lab/dlm-priming-vulnerability.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 73 of its 83 references that are in the map. First posted on arXiv 1 Oct 2025.
Builds on
73 of 83 references.
Closest ancestors · 1
Same direction, newest first
Other references · 72
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021Program Synthesis with Large Language Modelscited by 3,509
38 more
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
- 2025Large Language Diffusion Modelscited by 872
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2024Simple and Effective Masked Diffusion Language Modelscited by 800
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 712
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 630
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2025Dream 7B: Diffusion Large Language Modelscited by 515
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 494
- 2024Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Modelscited by 467
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 450
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 439
- 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 436
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 364
- 2024A StrongREJECT for Empty Jailbreakscited by 352
- 2022Understanding Diffusion Models: A Unified Perspectivecited by 337
- 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 273
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 268
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easilycited by 242
- 2025MMaDA: Multimodal Large Diffusion Language Modelscited by 241
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 225
- 2025Mercury: Ultra-Fast Language Models Based on Diffusioncited by 225
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
50 most cited of 72 All 72 (JSON)
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026Re-Mask and Redirect: Exploiting Denoising Irreversibility in Diffusion Language Modelscited by 1
- 2026Adversarial Diffusion Across Modalities: A Fusion Survey of Attacks, Defenses, and Evaluation for Text, Vision, and Vision-Language Modelscited by 1
- 2026Adaptive Steering and Remasking for Safe Generation in Diffusion Language Modelscited by 0
- 2026Backdooring Masked Diffusion Language Modelscited by 0
- 2026MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Modelscited by 0
- 2026Beyond the Bidirectional Promise: Re-evaluating the Robustness of Diffusion Language Modelscited by 0
- 2026Diffusion LLMs as Targets and Adversaries: Mechanistic Safety Exploitscited by 0
- 2026Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Modelscited by 0
- 2026DIVA: Exploiting Cross-Step Conditional Propagation for Visual Jailbreaks in Discrete Diffusion Vision-Language Modelscited by 0
- 2026Why Jailbreaks Succeed in Diffusion Language Models: An Energy Landscape Analysiscited by 0
- 2026Why Jailbreaks Succeed in Diffusion Language Models: An Energy Landscape Analysis25 Sep 2026
- 2026DIVA: Exploiting Cross-Step Conditional Propagation for Visual Jailbreaks in Discrete Diffusion Vision-Language Models1 Sep 2026
- 2026Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Models31 Aug 2026
- 2026Diffusion LLMs as Targets and Adversaries: Mechanistic Safety Exploits7 Aug 2026
- 2026Beyond the Bidirectional Promise: Re-evaluating the Robustness of Diffusion Language Models29 Jul 2026
- 2026Adversarial Diffusion Across Modalities: A Fusion Survey of Attacks, Defenses, and Evaluation for Text, Vision, and Vision-Language Models25 Jun 2026
- 2026MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Models1 Jun 2026
- 2026Backdooring Masked Diffusion Language Models19 May 2026
- 2026Adaptive Steering and Remasking for Safe Generation in Diffusion Language Models13 May 2026
- 2026Re-Mask and Redirect: Exploiting Denoising Irreversibility in Diffusion Language Models17 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025A2D: Any-Order, Any-Step Safety Alignment for Diffusion Language Models
- 2026BadDLM: Backdooring Diffusion Language Models with Diverse Targets
- 2026Membership Inference Attacks Against Fine-tuned Diffusion Language Models
- 2026Self-Purification Mitigates Backdoors in Multimodal Diffusion Language Models
- 2024DiffusionAttacker: Diffusion-Driven Prompt Manipulation for LLM Jailbreak
- 2026Stability-Weighted Decoding for Diffusion Language Models
- 2026GPO-V: Jailbreak Diffusion Vision Language Model by Global Probability Optimization
- 2026Know When to Hold 'em: Correct-Token Retention in Uniform-State Diffusion Language Models