KV Cache Quantization for Diffusion Language Models

Yan Tai, Yunan Ding, Guangzhao Li, Siqi Luo, Chaoyang Zhang +3 more
10/29/2026
cs.CL
diffusion-flowquantization-pruning

No confident code implementation found for this paper.

Abstract

KV cache quantization is well studied for autoregressive language models, where cached prefix states are exact under causal attention and quantization is mainly a cache reconstruction problem. Diffusion language models (dLLMs) break this assumption.

Show full abstract

Fast dLLM inference reuses KV states across denoising steps, but bidirectional token representations can change as masked tokens are revealed, so the reused cache may already differ from full recomputation before quantization is applied. We study KV cache quantization under this cache-reuse error. We adapt KIVI and KVQuant to Fast-dLLM-style prefix and dual cache reuse, and introduce TRACE and dLLM-KVQ. TRACE reconstructs feasible dLLM reveal trajectories from prompt-answer pairs, providing calibration states that match iterative masked decoding. dLLM-KVQ uses these trajectories to choose per-layer K-cache entries that remain in high precision according to output- and attention-level behavior metrics, while applying standard low-bit value quantization. Across LLaDA and Dream evaluations on GSM8K, HumanEval, MATH, and MBPP, dLLM-KVQ achieves the highest average score among quantized methods across the reported 4-bit and 2-bit prefix/dual cache settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tai2026cache,
  title  = {KV Cache Quantization for Diffusion Language Models},
  author = {Yan Tai and Yunan Ding and Guangzhao Li and Siqi Luo and Chaoyang Zhang and Guangtao Zhai and Guodong Guo and Xiaohong Liu},
  year   = {2026},
  eprint = {2610.39853},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.39853v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.39853.svg)](https://codeofpaper.com/paper/2610.39853)

Discussion