Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Accelerating Diffusion LLMs via Adaptive Parallel Decoding

About

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.

Daniel Israel, Guy Van den Broeck, Aditya Grover• 2025

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
HellaSwag Accuracy71.3
897
Mathematical ReasoningMATH 500
Accuracy36.8
589
Multitask Language UnderstandingMMLU
Accuracy61.3
568
Multi-task Language UnderstandingMMLU
Top-1 Accuracy61.3
46
ReasoningLiveBench
Accuracy8.2
40
Code GenerationMBPP
Accuracy57.8
36
Code GenerationLiveCodeBench v2
Accuracy9
27
Code GenerationLCB V2
Accuracy9
17
General Language ModelingLiveBench
Accuracy8.2
17
Code GenerationHumanEval
Accuracy55.5
8
Showing 10 of 11 rows

Other info

Follow for update