DMax: Aggressive Parallel Decoding for dLLMs

Zigeng Chen, Gongfan Fang, Xinyin Ma, Ruonan Yu, Xinchao WangNeurIPS 2026

TL;DR

Diffusion Language Models (dLLMs) promise to shatter the one-word-at-a-time speed limit of standard LLMs by generating text in parallel, yet their quality usually collapses when pushed to go fast because early mistakes get permanently locked in. DMax solves this by teaching dLLMs how to "write in pencil"—representing intermediate guesses as soft, revisable blends of words and masks so the model can correct its own errors on the fly. The result is more than double the parallel decoding speed with virtually zero loss in reasoning or coding accuracy.

What Problem Does This Paper Address?

Autoregressive models (like GPT) generate text sequentially, creating a hard bottleneck on inference speed. Masked Diffusion Language Models (MDLMs) offer an intriguing alternative: start with a sequence of [MASK] tokens and unmask chunks of words simultaneously.

Here is the catch: standard MDLM decoding is a binary, one-way street. Once a [MASK] becomes a word, it is carved in stone. If you try to decode aggressively—unmasking many tokens per forward pass—the model inevitably makes simultaneous, uncoordinated guesses. Because it cannot revise committed tokens, a single bad guess poisons the context for subsequent steps, triggering cascading error accumulation and semantic collapse.

Another family of models, Uniform Diffusion Language Models (UDLMs), can revise tokens because they are trained to denoise random vocabulary words rather than just masks. However, starting generation from pure random gibberish makes optimization notoriously unstable. How do you get the clean, stable start of a masked model and the self-editing superpower of a uniform model?

Figure 1: Comparison between the original LLaDA-2.0-mini and our proposed DMax. Unlike the original binary mask-to-token decoding process, DMax introduces a self-revising mask-to-hybrid- embedding-to-token process, enabling highly parallel decoding without accuracy dropping.

Methods

Built on top of the open-source 16B LLaDA-2.0-mini model, DMax bridges these two paradigms using two tightly coupled innovations:

  1. On-Policy Uniform Training (OPUT): Instead of training a model to fix random dictionary words (which look nothing like real model mistakes), OPUT trains the model on its own errors. During fine-tuning, a clean text sequence is partially masked and fed to the model to generate a quick, noisy draft on-policy. The model is then trained to predict the original clean text from both the masked input and its own flawed draft.
Figure 2: Overview of the proposed On-Policy Uniform Training.
  1. Soft Parallel Decoding (SPD): Even a self-correcting model gets overwhelmed if an entire block of bad guesses is committed at once. During block-wise inference, instead of locking in discrete tokens, SPD creates a hybrid embedding—a weighted interpolation between the top-1 predicted token’s embedding and the [MASK] embedding, scaled by the model's confidence (and renormalized to prevent vector norm collapse). If the model is 33% sure the word is "Decode," the next step sees an embedding that is 33% "Decode" and 67% [MASK]. This explicitly carries uncertainty forward, letting the model focus on fixing low-confidence regions until the block stabilizes.
Figure 3: Overview of the Soft Parallel Decoding procedure in DMax.

Datasets

  • Training (Self-Distillation): No external human or superior-model labels were used. The authors took prompts from GSM8K, PRM12K, Numina-Math, and OpenThoughts (for math), plus OpenCodeInstruct (for code), and had the base LLaDA-2.0-mini generate its own target responses—yielding 0.7M math and 1.0M code training samples.
  • Evaluation: Tested zero-shot on math reasoning (GSM8K, MATH500, Minerva-Algebra, ASDIV) and code generation (HumanEval-Instruct, MBPP-Instruct). No new benchmarks were introduced.

Key Insights and Ideas

  • Random noise is the wrong teacher: Standard uniform diffusion training actually hurts performance (dropping GSM8K accuracy from 92.6% to 68.7%). Training on random words creates a severe train-inference mismatch; sampling mistakes on-policy is the secret to stable self-correction.
  • Training and inference are symbiotic: Applying Soft Parallel Decoding to a standard model without OPUT results in 0.0% accuracy. Because a standard model has never learned to denoise predicted tokens, blending token and mask embeddings just feeds it alien geometry. OPUT aligns both spaces toward the same clean target.
  • Self-reflection boosts peak intelligence, not just speed: Allowing the model to rethink earlier tokens at low parallelism actually beats the original base model's accuracy across all benchmarks—using purely self-distilled data!

Key Results

Measuring parallelism in Tokens Per Forward (TPF) and real-world throughput in Tokens Per Second (TPS) at batch size 1 on two H200 GPUs:

  • Doubled Parallelism: Across all benchmarks, DMax increases average TPF from 2.8 to 6.2 while preserving base model accuracy, reaching an average of 1,338 TPS (peaking at 1,557 TPS on HumanEval).
  • Math & Coding Benchmarks: On GSM8K, TPF jumps from 2.04 to 5.48 (92.1% vs. 92.6% base accuracy). On MBPP, TPF rises from 2.71 to 5.86 (79.2% vs. 80.6% accuracy).
  • Graceful Scaling: When pushed to aggressive parallelism (~6.5 TPF), LLaDA-2.0-mini collapses to 15.2% on MATH500 and 2.3% on MBPP, whereas DMax holds steady at 71.6% and 79.2%, respectively.
  • Low-Parallelism Gains: At ~3.1–5.0 TPF, DMax still runs faster than the baseline while improving accuracy by 0.7% to 3.0% across all six benchmarks.
Accuracy vs. Token Per Forward trade-off on MATH500, showing DMax maintaining accuracy while the baseline collapses.

Limitations and Future Work

Due to compute budgets, experiments were capped at a moderate scale: fine-tuning a 16B-parameter model on roughly 1.7M total samples with a generation length of 2048 tokens. The authors highlight scaling DMax to 100B+ parameter regimes, tackling long-context windows, and integrating OPUT directly into pretraining-from-scratch pipelines as exciting next steps.

Summary updated

Abstract

We present DMax, a new paradigm for efficient diffusion language models (dLLMs). It mitigates error accumulation in parallel decoding, enabling aggressive decoding parallelism while preserving generation quality. Unlike conventional masked dLLMs that decode through a binary mask-to-token transition, DMax reformulates decoding as a progressive self-refinement from mask embeddings to token embeddings. At the core of our approach is On-Policy Uniform Training, a novel training strategy that efficiently unifies masked and uniform dLLMs, equipping the model to recover clean tokens from both masked inputs and its own erroneous predictions. Building on this foundation, we further propose Soft Parallel Decoding. We represent each intermediate decoding state as an interpolation between the predicted token embedding and the mask embedding, enabling iterative self-revising in embedding space. Extensive experiments across a variety of benchmarks demonstrate the effectiveness of DMax. Compared with the original LLaDA-2.0-mini, our method improves TPF on GSM8K from 2.04 to 5.48 while preserving accuracy. On MBPP, it increases TPF from 2.71 to 5.86 while maintaining comparable performance. On two H200 GPUs, our model achieves an average of 1,338 TPS at batch size 1. Code is available at: https://github.com/czg1225/DMax
BibTeX
@inproceedings{chen2026dmax,
  author = {Zigeng Chen and Gongfan Fang and Xinyin Ma and Ruonan Yu and Xinchao Wang},
  title = {{DMax: Aggressive Parallel Decoding for dLLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RSM3ZqRlL2},
}
Figure