English

Accelerating Diffusion LLMs via Adaptive Parallel Decoding

Computation and Language 2025-11-03 v2 Artificial Intelligence Machine Learning Performance

Abstract

The generation speed of LLMs are bottlenecked by autoregressive decoding, where tokens are predicted sequentially one by one. Alternatively, diffusion large language models (dLLMs) theoretically allow for parallel token generation, but in practice struggle to achieve the speed of autoregressive models without significantly sacrificing quality. We therefore introduce adaptive parallel decoding (APD), a novel method that dynamically adjusts the number of tokens sampled in parallel. We achieve this by defining a multiplicative mixture between the dLLM marginal probabilities and the joint probability of sequences under a small auxiliary autoregressive model. This inverts the standard setup of speculative decoding, where the goal is to sample from a large autoregressive verifier by drafting from a smaller model. We further optimize APD by enabling KV caching and limiting the size of the masked input. Altogether, our method puts forward three tunable parameters to flexibly tradeoff throughput and quality. We show that APD provides markedly higher throughput with minimal quality degradations on downstream benchmarks.

Keywords

Cite

@article{arxiv.2506.00413,
  title  = {Accelerating Diffusion LLMs via Adaptive Parallel Decoding},
  author = {Daniel Israel and Guy Van den Broeck and Aditya Grover},
  journal= {arXiv preprint arXiv:2506.00413},
  year   = {2025}
}

Comments

10 pages, 5 figures