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

Hierarchy Decoding: A Training-free Parallel Decoding Strategy for Diffusion Large Language Models

Xiaojing Qi, Lun Du, Xinyuan Zhang, Lanning Wei, Tao Jin, Da ZhengICLR 2026

TL;DR

Researchers have introduced Hierarchy-dLLM, a training-free decoding strategy that accelerates Diffusion Large Language Models (dLLMs) by up to 17× compared to vanilla methods. By employing a "divide-and-conquer" approach to recursively partition and decode text, it overcomes the "curse of parallel decoding." This method maintains high accuracy while significantly outperforming existing acceleration techniques like Fast-dLLM.

The Challenge of Parallel Decoding

Standard Large Language Models (LLMs) are autoregressive (AR), generating text one token at a time from left to right. This sequential process is inherently slow. Discrete Diffusion Large Language Models (dLLMs) offer a promising alternative by using bidirectional attention to refine an entire sequence of "masked" tokens simultaneously.

In theory, dLLMs should be substantially faster because they can decode multiple tokens in a single parallel step. However, they face the "curse of parallel decoding": predicting too many contiguous tokens at once causes the model to lose semantic consistency. For instance, instead of generating "Alice arranged pens, papers, and books," a naive parallel decoder might output "pens, pens, and pens" due to a lack of context between simultaneously predicted tokens. To avoid this degradation, most open-source dLLMs default to "greedy" decoding (one token at a time), which unfortunately negates their theoretical speed advantage.

Key Insight: Spatial Distribution Matters

A pivotal discovery in the paper is that the spatial distribution of masked tokens heavily influences decoding quality. Specifically, scattered (sparse) masks are much easier for dLLMs to handle than contiguous blocks.

Comparison of Consecutive vs. Sparse Masking and their impact on KL Divergence.

When masked tokens are separated by known "anchor" tokens, the bidirectional attention mechanism can effectively "triangulate" the correct word from both sides. This drastically reduces distributional drift (measured as KL divergence) compared to predicting a long sequence of consecutive masks.

The Hierarchy-dLLM Method

To capitalize on this insight, the authors propose Hierarchy-dLLM, a hierarchical framework inspired by the divide-and-conquer principle. Instead of treating all masked positions as a single block, the method operates in stages:

  1. Initialization: The process begins with a contiguous span of masked tokens.
  2. Confidence-Based Decoding: The model identifies and decodes only the most "confident" tokens—those exceeding a high probability threshold ($\tau_{high}$).
  3. Recursive Partitioning: These newly decoded tokens act as "anchors," splitting the remaining masked areas into smaller, independent sub-problems. This effectively mimics the advantageous sparse mask distribution.
  4. Adaptive Fallback: If no tokens meet the high threshold, the model relaxes its requirements to a lower threshold ($\tau_{low}$) or selects the single most confident token globally to ensure continuous progress.
  5. Remasking: Before the subsequent iteration, the model re-evaluates previously decoded tokens. If their confidence drops due to newly generated context, they are "re-masked" and predicted again, preventing error accumulation.

Crucially, Hierarchy-dLLM is a training-free strategy, meaning it can be applied to existing dLLMs out-of-the-box without any additional fine-tuning.

Experimental Setup and Key Results

The researchers evaluated Hierarchy-dLLM across five diverse benchmarks—including GSM8K and Math500 (mathematical reasoning), HumanEval and MBPP (Python code generation), and IF-Eval (instruction following)—using three open-source models: LLaDA-Instruct-8B, LLaDA-1.5-8B, and Dream-7B.

The results demonstrate significant improvements in both speed and performance:

  • Massive Speedups: Hierarchy-dLLM achieved up to 17× faster throughput (Tokens Per Second) than vanilla greedy decoding.
  • Outperforming Baselines: It proved to be approximately 1.5× faster than the previous state-of-the-art acceleration method, Fast-dLLM, while often achieving higher accuracy.
  • Accuracy Gains: On reasoning tasks like GSM8K, the method actually improved accuracy over baselines (e.g., LLaDA-1.5-8B improved from 83.17 to 83.70). This suggests that the remasking mechanism and hierarchical structure help the model maintain stronger logical coherence.
  • Negligible Overhead: Profiling revealed that the hierarchical selection logic accounts for only 1.2% of total inference time. The speed gains are almost entirely derived from reducing the number of costly model forward passes.

Limitations and Future Work

While highly effective, the approach has a few limitations. The authors noted that models originally derived from AR bases (like Dream-7B) exhibited smaller performance gains compared to native diffusion models (like LLaDA). This implies that the underlying pre-training architecture still dictates how much parallelism can be safely extracted.

Additionally, the current implementation relies on predefined block lengths. Future optimizations could introduce dynamic block sizing based on content complexity. Finally, while Hierarchy-dLLM is currently training-free, future work could involve explicitly "teaching" models to operate within a hierarchical decoding framework during pre-training or fine-tuning to further maximize efficiency and coherence.

Summary updated

BibTeX
@inproceedings{qi2026hierarchy,
  author = {Xiaojing Qi and Lun Du and Xinyuan Zhang and Lanning Wei and Tao Jin and Da Zheng},
  title = {{Hierarchy Decoding: A Training-free Parallel Decoding Strategy for Diffusion Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ZsIQUjQtdW},
}
Figure