NeurIPS 2026QuestionsPapersAreasAboutMarkdown

EntropyCache: Decoded Token Entropy Guided KV Caching for Diffusion Language Models

Minsoo Cheong, Donghyun Son, Woosang Lim, Sungjoo Yoo

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Efficient LLM Inference · Type: new method · Keywords: diffusion language models, KV caching, token entropy, cache staleness, inference speedup

Areas: Memory › Model Memory Optimization › KV Cache Optimization

Summary

EntropyCache is a training-free KV caching method that uses decoded token entropy to decide when to recompute cached states, achieving large speedups for diffusion language models.

Explained to a 5-year-old

Large language models that work like drawing pictures step by step need to remember old words to speed things up. But remembering everything is slow. The paper finds a simple way to decide when to forget old memories and when to refresh them, using how surprised the model is about new words. This helps the model run much faster while staying accurate. It lets smaller computers do the work more quickly.

Explained to a 5-year-old, longer

Diffusion language models are like AI assistants that generate text one piece at a time, similar to how an artist adds details to a picture. To work well, they keep a memory of earlier words so they can refer back to them. Keeping this memory for every step can be very slow and use a lot of computer power. The paper looks at how surprised the model is when it predicts each new word. When the surprise is high, it means the old memory might be outdated. When the surprise is low, the old memory is still good. Using this surprise signal, the method decides whether to keep the old memory or to update it with fresh information. It only needs a tiny amount of extra work, no matter how long the text is. This makes the model run much faster, giving speedups of about fifteen to twenty times on normal tests. On more complex reasoning tests, the speed improvement is even bigger, around twenty-four times. The method still keeps the model’s answers accurate and only uses a tiny fraction of time for the decision. As a result, smaller machines can now run powerful language models more efficiently, opening them up for more uses.

For a technical reader

The paper addresses the high memory and compute cost of bidirectional attention in diffusion LLMs during inference. It proposes a training-free KV caching scheme that leverages the maximum entropy of newly decoded token distributions as a low-cost indicator of cache staleness. Based on this signal, the system decides to skip updates or recompute the k most recent tokens, requiring only O(V) work per step independent of context length. Experiments on LLaDA-8B-Instruct and Dream-7B-Instruct show speedups of 15×-26× on standard benchmarks and 22×-24× on chain-of-thought tasks, with decision overhead under 0.5% of total inference time. This approach enables efficient deployment of diffusion language models on existing hardware without sacrificing accuracy.

Problem

Diffusion-based language models require full forward passes at each denoising step because bidirectional attention prevents lossless KV caching, leading to high inference cost. Existing approximate caching methods incur decision overhead that scales with context length or model depth, limiting efficiency.

Method

The approach uses the maximum entropy of newly decoded token distributions as a constant-cost proxy for cache staleness, and recomputes the k most recently decoded tokens when the entropy exceeds a threshold. This skip-or-recompute decision requires only O(V) computation per step, independent of context length and model scale.

Results

The approach yields speedups of 15.2×-26.4× on standard benchmarks and 22.4×-24.1× on chain-of-thought benchmarks, while decision overhead remains under 0.5% of inference time.

Contributions

A training-free KV caching scheme that leverages token entropy as a cheap indicator of cache staleness, enabling constant-cost skip-or-recompute decisions independent of context length and model scale.

Practical relevance

Enables faster inference of diffusion language models on existing hardware, reducing computational cost for deployment.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction