atlas

Research map / Architectures and efficiency / Attention and transformers

dKV-Cache: The Cache for Diffusion Language Models

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: KV cache eviction and compression · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes delayed KV-Cache (dKV-Cache) for masked diffusion language models, caching key/value states of decoded tokens with a one-step delay, in two variants (Decode and Greedy), giving 2-10x inference speedup training-free.

Problem

Diffusion language models are slow at inference because bidirectional attention and non-sequential decoding order make standard KV-Cache inapplicable, requiring full recomputation at every denoising step.

Approach

Cache key/value states only for decoded tokens with a one-step delay (since K/V change most at decoding step), reorder tokens so cached ones are contiguous (concat_reorder), and optionally refresh the cache periodically; a greedy variant also recomputes the previous decoded token and a local window to reach O(L^2) per-step cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply dKV-Cache-Decode instead of the un-cached base modelLLaDA-8B-Instruct · GSM8Kaccuracy: 72.25 -> 78.85Helped
Apply dKV-Cache-Decode instead of the un-cached base modelLLaDA-8B-Instruct · HumanEvalaccuracy: 19.88 -> 46.34Helped
Apply dKV-Cache-Decode instead of Half-StepsLLaDA-8B-Instruct · GSM8Kaccuracy: 77.91 -> 78.85Helped
Apply dKV-Cache-Decode instead of the un-cached modelLLaDA-8B-Instruct · MMLUtoken/s: 28.27 -> 66.52Helped
Use dKV-Cache-Greedy with a local window rather than without a window (ablation)LLaDA-8B-Instruct · GSM8Kaccuracy: 67.93 -> 68.23Helped
Use dKV-Cache-Greedy with a local window rather than without a window (ablation)LLaDA-8B-Instruct · GPQAaccuracy: 26.79 -> 28.35Helped
Use dKV-Cache-Greedy with a local window rather than without a window (ablation)LLaDA-8B-Instruct · HumanEvalaccuracy: 15.13 -> 15.37Mixed
Use a one-step delay for caching (ablation)dKV-Cache · DLM generationaccuracyHelped
Cache prefill tokens without refreshing (ablation)Dream-Base-7B · GSM8K (8-shot), L=256, T=256token/s: 15.1 -> 53.6 (3.55×)Helped
Use dKV-Cache-PD instead of Half-StepsDream-Base-7B · GSM8K (8-shot), L=256, T=128accuracy: 46.63 -> 63.31Helped
Shift cached representations one position right instead of using unshifted representations (ablation)Dream-Base-7B · MMLUaccuracy: 71.78 -> 64.60Hurt
Condition caching on both input stability and decoding completion instead of unshifted caching (ablation)Dream-Base-7B · GSM8Kaccuracy: 76.34 -> 77.71Helped

Surprising findings

Limitations

Experimental setup

Datasets: MMLU GPQA GSM8K Math500 HumanEval MBPP

Benchmarks: MMLU GPQA GSM8K Math500 HumanEval MBPP

Metrics: accuracy pass@1 tokens per second speedup cache ratio

Baselines: Few-Steps (random remasking) Half-Steps (confidence remasking) Dream-7B base decoding

Builds on: KV-Cache RoPE masked diffusion language models

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy