Accelerating Diffusion LLM Inference via Local Determinism Propagation
Fanheng Kong, Jingyuan Zhang, Yahui Liu, Zirui Wu, Yu Tian, Victoria W., Guorui Zhou
TL;DR
Diffusion LLMs enable parallel token decoding but suffer from delayed decoding due to conservative per-step commitments. The authors analyze decoding dynamics and derive two empirical principles: local determinism propagation around high-confidence anchors and spatial consistency decay. They propose LocalLeap, a training-free, anchor-guided, localized parallel decoding strategy that reduces decoding steps and boosts throughput with negligible quality loss. Across multiple benchmarks and two open-source dLLMs, LocalLeap achieves up to 6.94x throughput and reduces inference steps to about 14% of the original, demonstrating practical acceleration for diffusion-based text generation. The work provides a plug-and-play approach with theoretical backing and extensive ablations.
Abstract
Diffusion large language models (dLLMs) represent a significant advancement in text generation, offering parallel token decoding capabilities. However, existing open-source implementations suffer from quality-speed trade-offs that impede their practical deployment. Conservative sampling strategies typically decode only the most confident token per step to ensure quality (i.e., greedy decoding), at the cost of inference efficiency due to repeated redundant refinement iterations--a phenomenon we term delayed decoding. Through systematic analysis of dLLM decoding dynamics, we characterize this delayed decoding behavior and propose a training-free adaptive parallel decoding strategy, named LocalLeap, to address these inefficiencies. LocalLeap is built on two fundamental empirical principles: local determinism propagation centered on high-confidence anchors and progressive spatial consistency decay. By applying these principles, LocalLeap identifies anchors and performs localized relaxed parallel decoding within bounded neighborhoods, achieving substantial inference step reduction through early commitment of already-determined tokens without compromising output quality. Comprehensive evaluation on various benchmarks demonstrates that LocalLeap achieves 6.94$\times$ throughput improvements and reduces decoding steps to just 14.2\% of the original requirement, achieving these gains with negligible performance impact. The source codes are available at: https://github.com/friedrichor/LocalLeap.
