NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DMax: Aggressive Parallel Decoding for dLLMs

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

TL;DR

DMax is a new paradigm for diffusion language models (dLLMs) that unlocks aggressive parallel decoding without sacrificing text generation quality. By shifting from a rigid, binary "mask-to-token" decoding process to a continuous, self-revising trajectory in embedding space, DMax achieves up to a 2.7× speedup in tokens per forward pass while maintaining near-lossless accuracy on complex reasoning and coding tasks.

What Problem Does This Paper Address?

Autoregressive Large Language Models (AR-LLMs) generate text token-by-token, creating a notorious computational bottleneck during inference. Diffusion Language Models (dLLMs) offer a promising alternative by predicting multiple tokens in parallel.

However, standard Masked Diffusion Language Models (MDLMs) suffer from a fatal flaw: error accumulation. In a typical MDLM, decoding is a one-way street. Once a masked position is filled with a token, that choice is set in stone and used as context for subsequent steps. If the model makes an early mistake under highly parallel decoding, that error corrupts all future predictions, leading to semantic collapse. While Uniform Diffusion Models (UDLMs) can theoretically correct errors by replacing arbitrary tokens, they typically start from completely random noise, making their generation highly unstable. DMax bridges this gap to combine the stability of masked initialization with the self-correcting power of uniform diffusion.

Methods

DMax introduces two core innovations to enable robust, parallel self-correction:

  1. On-Policy Uniform Training (OPUT): Traditional uniform diffusion models are trained by replacing tokens with completely random words from the vocabulary. However, random words look nothing like natural language, creating a massive gap between training and actual inference. OPUT solves this by generating noisy training sequences on-policy—meaning it uses the model's own imperfect intermediate predictions. This teaches the model exactly how to recover from its own typical mistakes.
  2. Soft Parallel Decoding (SPD): Instead of forcing the model to make hard, discrete token choices at each step, SPD represents intermediate states as hybrid soft embeddings. As shown below, each token position is an interpolation between the predicted token embedding ($e_y$) and the mask embedding ($e_m$), weighted by the model's confidence ($\pi$). Because the mask embedding naturally represents maximum uncertainty, it acts as a continuous carrier of doubt, allowing the model to smoothly revise low-confidence tokens in later iterations.
Figure 3: Overview of the Soft Parallel Decoding procedure in DMax.

Datasets

The authors evaluated DMax using models fine-tuned via self-distillation (using responses generated by the base model, LLaDA-2.0-mini).

  • Training Data: 0.7 million mathematical reasoning samples (drawn from GSM8K, PRM12K, Numina-Math, and OpenThoughts) and 1.0 million code generation samples (from OpenCodeInstruct).
  • Evaluation Benchmarks:
  • Math & Reasoning: GSM8K, MATH500, Minerva-Algebra, and ASDIV.
  • Code Generation: HumanEval-Instruct and MBPP-Instruct.

Key Insights and Ideas

  • The Power of Continuous Uncertainty: Hard token commitments are the enemy of parallel decoding. By treating intermediate states as soft mixtures of tokens and masks, the model can defer final decisions until context clarifies, effectively implementing a "soft rewrite" mechanism.
  • On-Policy Training is a Prerequisite: You cannot simply apply soft decoding to a standard dLLM. Without OPUT, a standard model experiences catastrophic collapse when fed hybrid embeddings because it has never learned to interpret a state that is "partially a mask and partially a token."
  • Contiguous Prefix Promotion: During decoding, DMax scans confidence scores from left to right and only unmasks the longest contiguous prefix that passes the confidence threshold. This prevents highly unreliable future tokens on the right from corrupting the more predictable tokens on the left.

Key Results

DMax was evaluated against the state-of-the-art open-source dLLM, LLaDA-2.0-mini, across multiple benchmarks using two H200 GPUs:

  • Aggressive Speedups: On the GSM8K math benchmark, DMax increased the Tokens Per Forward (TPF) pass from 2.04 to 5.48 while maintaining an accuracy of 92.1% (compared to the baseline's 92.6%).
  • Coding Efficiency: On MBPP, it boosted TPF from 2.71 to 5.86 with negligible performance degradation.
  • High Throughput: DMax achieved a practical inference throughput of 1,338 Tokens Per Second (TPS) at batch size 1.

As shown in the efficiency-performance trade-off curves, while the baseline model's accuracy plummets as parallel decoding aggressiveness increases, DMax maintains remarkably stable performance.

Accuracy vs. Tokens Per Forward trade-off curve on HumanEval, demonstrating DMax's stability under high parallelism compared to the baseline.

Limitations and Future Work

While DMax significantly advances parallel decoding for dLLMs, some limitations remain:

  • Block-Size Constraints: The method currently operates within a semi-autoregressive block-wise framework (using a block size of 32). Scaling this effectively to fully non-autoregressive generation across massive sequence lengths remains an open challenge.
  • Dependence on Post-Training: DMax requires an additional on-policy fine-tuning phase (OPUT) to achieve its self-correcting capabilities, meaning it cannot be applied purely as a plug-and-play inference trick on arbitrary pretrained masked dLLMs.

Summary updated

BibTeX
@misc{chen2026dmax,
  author = {Zigeng Chen and Gongfan Fang and Xinyin Ma and Ruonan Yu and Xinchao Wang},
  title = {{DMax: Aggressive Parallel Decoding for dLLMs}},
  year = {2026},
  eprint = {2604.08302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.08302},
}
Figure