NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching

Zhiyuan Liu, Yicun Yang, Yaojie Zhang, Junjie Chen, Chang Zou, Qingyan Wei, Shaobo Wang, Yichen Zhu, Linfeng Zhang

The Latency Paradox of Diffusion LLMs

Autoregressive Models (ARMs) like GPT-4 have long dominated the generative AI landscape. However, their token-by-token generation process can lead to structural limitations, such as the "reversal curse"—an inability to effectively reason backward. Diffusion Large Language Models (dLLMs) have emerged as a powerful alternative, generating text by iteratively denoising an entire sequence simultaneously.

Despite their potential, dLLMs suffer from a severe "latency paradox." Because they rely on bidirectional attention (where every token attends to every other token) across multiple denoising steps, their computational complexity scales to a staggering $O(N^3)$. Traditional acceleration techniques like Key-Value (KV) caching, which bring ARM efficiency down to $O(N^2)$, are incompatible with dLLMs because the "future" context is constantly shifting during the denoising process.

Introducing dLLM-Cache

To solve this bottleneck, researchers have introduced dLLM-Cache, a training-free, adaptive caching framework. The architecture is built on a crucial observation: during dLLM inference, the input prompt remains entirely static, while the generated response is only partially dynamic.

By treating prompts and responses with differentiated caching strategies, dLLM-Cache drastically reduces redundant computations without requiring any model fine-tuning. The framework relies on three core mechanisms:

1. Long-Interval Prompt Caching

Because the input prompt is "quasi-static," its internal representations—Key (K), Value (V), Attention Output, and Feed-Forward Network (FFN) Output—remain highly stable. dLLM-Cache computes these features at sparse intervals (e.g., every 100 steps) and reuses them during the intermediate denoising steps.

2. Adaptive Short-Interval Response Caching

The generated response exhibits "sparse evolution"; it is dynamic, but not all tokens change at the same rate. To accommodate this, the framework refreshes the full response cache at shorter intervals (e.g., every 10 steps) to maintain generation quality.

3. The V-Verify Mechanism

The core innovation of dLLM-Cache is the V-verify mechanism, which dictates what happens between the full response refreshes. The researchers discovered that changes in a token's Value (V) vector are highly correlated with changes in its final Attention and FFN outputs. V-verify uses the cosine similarity of the V vector across steps as a lightweight proxy to identify the most rapidly evolving tokens. Only the most "dynamic" tokens (typically the top 25%) undergo full recomputation, while the remaining 75% simply reuse cached features.

Experimental Setup and Key Results

The researchers evaluated dLLM-Cache on representative models, including LLaDA 8B and Dream 7B (Base and Instruct versions), across a rigorous suite of benchmarks (GSM8K, MATH, GPQA, MMLU, HumanEval, LongBench, etc.).

  • Massive Efficiency Gains: On the LongBench-HotpotQA task—which features long, static prompts—the method achieved an unprecedented 9.1× reduction in FLOPs.
  • Dramatic Speedups: On the GPQA benchmark, LLaDA Instruct experienced an 8.08× FLOPs speedup, slashing computational costs from 22.07T to just 2.73T.
  • Quality Preservation: Output quality remained highly competitive. In some instances, scores on benchmarks like GSM8K slightly improved (from 69.06 to 70.66), likely because the caching mechanism acts as a stabilizer that suppresses minor noise during denoising.
  • Low Overhead: The system requires only about 1GB of additional GPU memory (a ~5% increase for an 8B model) to store the cached features.

Furthermore, theoretical analysis confirms that the periodic "full refreshes" act as an error-control reset, preventing approximation errors from compounding. The technique is also orthogonal to other acceleration methods like SlowFast Sampling, meaning speedups can be stacked.

Limitations and Future Directions

While dLLM-Cache successfully brings diffusion model latency closer to that of ARMs, a few challenges remain:

  1. Memory Scaling for Long Sequences: Caching four distinct intermediate features per layer is manageable for standard tasks but could become a bottleneck for extremely long-context windows. Integrating memory management systems like PagedAttention is a logical next step.
  2. Approximation vs. Lossless: Unlike ARM KV-caching, which is mathematically exact, dLLM-Cache is an approximation. Though quality loss is minimal, it is not strictly lossless.
  3. Hardware Optimization: The current implementation incurs fixed system-level latencies during selective updates due to GPU kernel management. Developing lower-level, custom CUDA kernels will be necessary to fully realize the theoretical speedups in wall-clock time.

By successfully adapting caching to bidirectional attention, dLLM-Cache represents a major leap forward in making Diffusion LLMs practical, efficient, and ready for real-world deployment.

Summary updated

BibTeX
@inproceedings{liu2026dllm,
  author = {Zhiyuan Liu and Yicun Yang and Yaojie Zhang and Junjie Chen and Chang Zou and Qingyan Wei and Shaobo Wang and Yichen Zhu and Linfeng Zhang},
  title = {{dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=guLrgDb2jB},
}
Figure