跳到正文
arXiv cs.CL· Minsoo Cheong, Donghyun Son, Woosang Lim, Sungjoo Yoo·· 11 小时前AI 评分35

EntropyCache:用解码 Token 熵引导扩散语言模型 KV 缓存

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

AI 导读

EntropyCache 是一种免训练的 KV 缓存方法,以新解码 token 分布的最大熵作为恒定开销信号,决定何时重算缓存,每步仅需 O(V) 计算,与上下文长度和模型规模无关。

正文 · 原文

View PDF HTML (experimental)

Abstract:Diffusion-based large language models (dLLMs) rely on bidirectional attention, which prevents lossless KV caching and requires a full forward pass at every denoising step. Existing approximate KV caching methods reduce this cost by selectively updating cached states, but their decision overhead scales with context length or model depth. We propose EntropyCache, a training-free KV caching method that uses the maximum entropy of newly decoded token distributions as a constant-cost signal for deciding when to recompute. Our design is grounded in two empirical observations: (1) decoded token entropy correlates with KV cache drift, providing a cheap proxy for cache staleness, and (2) feature volatility of decoded tokens persists for multiple steps after unmasking, motivating recomputation of the $k$ most recently decoded tokens. The skip-or-recompute decision requires only $O(V)$ computation per step, independent of context length and model scale. Experiments on LLaDA-8B-Instruct and Dream-7B-Instruct show that EntropyCache achieves $15.2\times$-$26.4\times$ speedup on standard benchmarks and $22.4\times$-$24.1\times$ on chain-of-thought benchmarks, with competitive accuracy and decision overhead accounting for only $0.5\%$ of inference time. Code is available at this https URL.
Comments: NeurIPS 2026
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2603.18489 [cs.CL]
  (or arXiv:2603.18489v2 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2603.18489

arXiv-issued DOI via DataCite

Submission history

From: Minsoo Cheong [view email]
[v1] Thu, 19 Mar 2026 04:46:34 UTC (1,584 KB)
[v2] Mon, 2 Nov 2026 04:39:18 UTC (1,591 KB)

来源:arXiv cs.CL · arxiv.org