Lune

ICLR2026Top-tier venue

Attention Is All You Need for KV Cache in Diffusion LLMs

Quan Nguyen-Tri, Mukul Ranjan, Zhiqiang Shen

Abstract

This work studies how to adaptively recompute key–value (KV) caches for diffusion large language models (DLMs) to maximize prediction accuracy while minimizing decoding latency. Prior methods' decoders recompute QKV for all tokens at every denoising step and layer, despite KV states changing little across most steps, especially in shallow layers, leading to substantial redundancy. We make three observations: (1) distant MASK tokens primarily act as a length-bias and can be cached block-wise beyond the active prediction window; (2) KV dynamics increase with depth, suggesting that selective refresh starting from deeper layers is sufficient; and (3) the most-attended token exhibits the smallest KV drift, providing a conservative lower bound on cache change for other tokens. Building on these, we propose Elastic-Cache, a training-free, architecture-agnostic strategy that jointly decides when{when} to refresh (via an attention-aware drift test on the most-attended token) and where{where} to refresh (via a depth-aware schedule that recomputes from a chosen layer onward while reusing shallow-layer caches and off-window MASK caches). Unlike fixed-period schemes, Elastic-Cache performs adaptive, layer-aware cache updates for diffusion LLMs, reducing redundant computation and accelerating decoding with negligible loss in generation quality. Experiments on LLaDA-Instruct, LLaDA-1.5, and LLaDA-V across mathematical reasoning and code generation tasks demonstrate consistent speedups: 8.7×8.7\times on GSM8K (256 tokens), 45.1×45.1\times on longer sequences, and 4.8×4.8\times on HumanEval, while consistently maintaining higher accuracy than the baseline. Our method achieves significantly higher throughput (6.8×6.8\times on GSM8K) than existing confidence-based approaches while preserving generation quality, enabling practical deployment of diffusion LLMs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Towards Efficient and Effective Diffusion Language Model Inference via Semantic-Aware Adaptive Denoising cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Towards Efficient and Effective Diffusion Language Model Inference via Semantic-Aware Adaptive Denoising cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Towards Efficient and Effective Diffusion Language Model Inference via Semantic-Aware Adaptive Denoising cites Denoising Diffusion Probabilistic Models
  • Set Diffusion: Interpolating Token Orderings between Autoregression and Diffusion for Fast and Flexible Decoding cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Set Diffusion: Interpolating Token Orderings between Autoregression and Diffusion for Fast and Flexible Decoding cites Denoising Diffusion Probabilistic Models
  • Structured Denoising Diffusion Models in Discrete State-Spaces cites Denoising Diffusion Probabilistic Models
  • Singular Proxies for Adaptive Caching in Diffusion Language Models cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Video Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • Video Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Focus-dLLM: Accelerating Long-Context Diffusion LLM Inference via Confidence-Guided Context Focusing cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • DyLLM: Efficient Diffusion LLM Inference via Saliency-based Token Selection and Partial Attention cites Structured Denoising Diffusion Models in Discrete State-Spaces
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Focus-dLLM: Accelerating Long-Context Diffusion LLM Inference via Confidence-Guided Context FocusingLingkun Long, Yushi Huang, Shihao Bai, Ruihao Gong et al.ACL 2026 · 3 citations
  2. Set Diffusion: Interpolating Token Orderings between Autoregression and Diffusion for Fast and Flexible DecodingMarianne Arriola, Volodymyr KuleshovICML 2026 · 2 citations
  3. DyLLM: Efficient Diffusion LLM Inference via Saliency-based Token Selection and Partial AttentionYounjoo Lee, Seungkyun Dan, Junghoo Lee, Jaiyoung Park et al.ICML 2026 · 2 citations
  4. Towards Efficient and Effective Diffusion Language Model Inference via Semantic-Aware Adaptive DenoisingFan Li, Yu Gu, Zhigang Wang, Fangling Leng et al.ACL 2026
  5. Singular Proxies for Adaptive Caching in Diffusion Language ModelsWenhao SUN, Rong-Cheng Tu, Yifu Ding, Zhao Jin et al.ICML 2026

Builds on33

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Video Diffusion ModelsJonathan Ho, Tim Salimans, Alexey A. Gritsenko, William Chan et al.NeurIPS 2022 · 2,948 citations
  5. Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations

Related papers

  1. d2^2Cache: Accelerating Diffusion-Based LLMs via Dual Adaptive CachingYuchu Jiang, Yue Cai, Xiangzhong Luo, Jiale Fu et al.ICLR 2026 · 16 citations
  2. Dynamic-dLLM: Dynamic Cache-Budget and Adaptive Parallel Decoding for Training-Free Acceleration of Diffusion LLMTianyi Wu, Xiaoxi Sun, Yanhua Jiao, Yulin Li et al.ICLR 2026 · 6 citations
  3. dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive CachingZhiyuan Liu, Yicun Yang, Yaojie Zhang, Junjie Chen et al.ICML 2026 · 156 citations
  4. Sparse-dLLM: Accelerating Diffusion LLMs with Dynamic Cache EvictionYuerong Song, Xiaoran Liu, Ruixiao Li, Zhigeng Liu et al.AAAI 2026 · 43 citations
  5. Mask Tokens as Prophet: Fine-Grained Cache Eviction for Efficient dLLM InferenceJianuo Huang, Yaojie Zhang, Yicun Yang, Benhao Huang et al.ACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines