Dynamic-dLLM: Dynamic Cache-Budget and Adaptive Parallel Decoding for Training-Free Acceleration of Diffusion LLM

Tianyi Wu, Xiaoxi Sun, Yanhua Jiao, Yulin Li, Yixin Chen, Yun-Hao Cao, Yi-Qi Hu, Zhuotao Tian

TL;DR

Dynamic-dLLM is a training-free, plug-and-play framework that accelerates Diffusion Large Language Models (dLLMs) by over 3× without sacrificing generation quality. By replacing static inference rules with layer-wise "Dynamic Cache Updating" and step-wise "Adaptive Parallel Decoding," it overcomes the massive $\mathcal{O}(L^3)$ computational bottleneck inherent in non-autoregressive diffusion models.

The Challenge with Diffusion LLMs

While standard autoregressive models (like GPT-4) generate text one token at a time, Diffusion LLMs (dLLMs)—such as LLaDA and Dream—take a different path. They start with a sequence of mask tokens and refine the entire sequence simultaneously over multiple denoising steps. This bidirectional approach allows them to capture complex contextual dependencies better than their one-way counterparts.

However, dLLMs have a major "speed tax." Because they refine the whole sequence at every step, their computational complexity scales cubically ($\mathcal{O}(L^3)$) with sequence length $L$, compared to the quadratic ($\mathcal{O}(L^2)$) scaling of autoregressive models. Furthermore, they are traditionally incompatible with Key-Value (KV) caching because every token's representation changes at every step. Existing acceleration attempts use static strategies—applying the same caching or decoding rules to every layer and every step—which ignores the fact that different parts of a model "settle" on an answer at different speeds.

Methods: Smarter, Not Just Faster

The authors introduce two core components that make dLLM inference more intelligent:

1. Dynamic Cache Updating (DCU) Instead of updating every token in every layer, DCU identifies which layers are "stable." The authors discovered that input similarity is a reliable proxy for feature similarity. By measuring how much a layer's input changes between steps, DCU adaptively allocates an "update budget."

Attention output variance across different layers over denoising steps.

As shown above, shallow layers (e.g., Layer 0) stabilize faster and get a smaller budget, while deeper, more volatile layers (e.g., Layer 24) get more. To prevent tokens from getting "stuck in the mud" (never being updated because they look stable), they implement a Mandatory Update Window around the most confident tokens.

2. Adaptive Parallel Decoding (APD) Previous methods unmasked tokens based on a fixed confidence threshold. APD replaces this with a dynamic threshold that considers two factors:

  • Confidence Concentration: Is the top predicted token significantly more likely than the runner-up?
  • Temporal Instability: How much did the prediction for this token shift since the last denoising step?

If a prediction is both "peaky" (high concentration) and "calm" (low instability), the threshold lowers to allow for earlier unmasking.

Key Insights

  • Input as a Proxy: One of the most elegant solutions is using the cosine similarity of layer inputs to decide whether to update the cached features (Key, Value, etc.). This avoids the heavy lifting of recomputing and comparing the features themselves.
  • Heterogeneous Layer Dynamics: The paper proves that a "one size fits all" caching strategy is wasteful. Shallow layers reach a consensus early in the denoising process, while deep layers continue to fluctuate.
  • Confidence is Relative: A token with 0.7 confidence might be a "sure thing" if the next best guess is 0.05, but it's a "coin flip" if the next guess is 0.65. APD captures this nuance.

Key Results and Benchmarks

The researchers evaluated Dynamic-dLLM across several standard LLM benchmarks, including MMLU (general knowledge), GSM8K (math), HumanEval (code), and ARC-C/GPQA (reasoning). They tested these on state-of-the-art dLLM architectures like LLaDA-8B-Instruct and Dream-v0-7B-Instruct.

Radar chart comparing generation speed (tokens/second) across various benchmarks.
  • Speedup: Dynamic-dLLM achieved an average speedup exceeding 3× across all tasks. On the GSM8K math benchmark using LLaDA-8B, it reached a peak speedup of 4.48× (37.29 tokens per second vs. the 8.32 baseline), clearly outperforming other caching methods.
  • Performance Preservation: Across almost all benchmarks, the accuracy remained within ~1% of the baseline models. In some cases, such as GSM8K on LLaDA-1.5, it actually slightly improved performance.
  • Hardware Accessibility: The authors demonstrated that these gains are achievable on consumer-grade hardware like the NVIDIA RTX 4090, making dLLMs much more viable for local deployment.

Limitations and Future Work

While Dynamic-dLLM excels at standard text tasks, its performance in multi-modal settings (vision, audio) and extremely complex, long-form reasoning is still largely unexplored. Future work will likely focus on extending these adaptive principles to cross-modal alignment—ensuring that the "dynamic budget" logic holds up when the model processes images and text simultaneously. There is also room to explore how these training-free methods might interact with model quantization or distillation.

Summary updated

BibTeX
@inproceedings{wu2026dynamic,
  author = {Tianyi Wu and Xiaoxi Sun and Yanhua Jiao and Yulin Li and Yixin Chen and Yun-Hao Cao and Yi-Qi Hu and Zhuotao Tian},
  title = {{Dynamic-dLLM: Dynamic Cache-Budget and Adaptive Parallel Decoding for Training-Free Acceleration of Diffusion LLM}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=SdnkB5pGbq},
}
Figure