Accelerating Diffusion LLMs via Adaptive Parallel Decoding

Daniel Mingyi Israel, Guy Van den Broeck, Aditya Grover

arXiv:2506.00413 · 2026-08-15 공개 · arXiv · PDF

autoregressive-models speculative-decoding throughput-optimization token-generation kv-caching diffusion-llms adaptive-parallel-decoding quality-throughput-tradeoff

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.

한국어 요약

한 줄 요약

Adaptive Parallel Decoding(APD)는 dLLM에서 토큰 생성 속도를 향상시키며 품질 저하를 최소화하는 새로운 병렬 생성 알고리즘이다.

핵심 기여도

핵심 아이디어

기존의 dLLM은 병렬 생성을 이론적으로 가능하지만, 실제 성능은 품질 저하를 동반하는 반면 autoregressive 모델은 속도가 느리다. APD는 이 문제를 해결하기 위해 dLLM을 left-to-right autoregressive 방식으로 재구성하고, 병렬 생성된 토큰의 결합 확률을 작은 autoregressive 모델로 검증한다. 이는 기존의 speculative decoding과 반대되는 방향으로, 큰 dLLM에서 샘플링한 후 작은 모델로 검증하는 방식을 채택한다. 이 과정에서 multiplicative mixture를 사용하여 dLLM의 주변 확률과 autoregressive 모델의 결합 확률을 결합함으로써 토큰 간 의존성을 유지한다.

기술적 접근법

주요 결과

의의 및 한계

APD는 dLLM의 병렬 생성 가능성을 실질적으로 활용할 수 있는 첫 번째 알고리즘으로, LLM의 추론 속도 향상에 기여한다. 특히, autoregressive 모델과의 결합 확률을 활용한 multiplicative mixture는 기존 decoding 접근과 차별화된 기술적 기여를 한다. 다만, APD는 dLLM이 기본적으로 autoregressive 방식으로 재구성되어야 하므로, 기존의 순수 병렬 생성 모델과는 호환성이 제한될 수 있다. 또한, tunable parameter 조정은 사용자 경험에 따라 최적화가 필요하다는 점이 한계로 작용할 수 있다.

실용적 활용

APD는 대규모 언어 모델의 실시간 응답이 필요한 산업(예: 챗봇, 고객 지원, 번역)에서 유용하게 활용될 수 있다. 특히, 품질과 속도를 유연하게 조절해야 하는 상황에서 R, W, M 파라미터를 활용한 APD는 다양한 애플리케이션 요구사항에 맞춘 최적화가 가능하다.