跳到正文
arXiv cs.AI· Zhikun Tao, Fangyong Jin, Junping Zhao·· 3 小时前AI 评分46

KV cache 能否跨模型版本复用?以 DeepSeek-V4-Flash 为例的研究

Can KV Cache Be Reused Across Model Updates? A DeepSeek-V4-Flash Case Study

AI 导读

一项 arXiv 研究考察语言模型更新后 KV cache 的直接复用,重点分析 DeepSeek-V4-Flash 到 Flash-0731 的更新,共涉及四次模型更新。

正文 · 原文

View PDF HTML (experimental)

Abstract:Reusing key--value (KV) caches across language model updates could avoid repeated computation of shared context, but changes in model weights raise a fundamental question about what these caches preserve. We investigate direct cache reuse across four model updates, with a detailed study of DeepSeek-V4-Flash to Flash-0731. Our central finding is that caches can retain useful task information without faithfully reproducing the updated model's behavior. Retrieval accuracy varies substantially across updates, ranging from near-native performance to large losses. With source caches already available, reuse achieves median time-to-first-token speedups of $2.10$--$5.08\times$ on three longer-prefix QA benchmarks. To characterize the behavioral differences behind these outcomes, we introduce Functional Cache Divergence, which compares next-token distributions under reused and native caches. Direct KV cache reuse better preserves native model behavior in natural-text continuation, whereas compatibility degrades with increasing prefix length in single-token retrieval tasks. Answer-margin analyses help explain how correct retrieval decisions survive substantial internal state changes. Yet even agreement on the first generated token does not ensure agreement in answer content or stopping behavior. These findings establish task utility and fidelity to native inference as distinct criteria for evaluating cross-version KV cache reuse.
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI)
Cite as: arXiv:2611.14051 [cs.DC]
  (or arXiv:2611.14051v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2611.14051

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Zeke Tao [view email]
[v1] Tue, 10 Nov 2026 13:17:04 UTC (213 KB)

来源:arXiv cs.AI · arxiv.org