Divergence Timing and Cumulative Disagreement under KV-Cache Eviction

📅 2026-09-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究KV-cache淘汰对自回归生成的影响,通过首次分歧时间和后续令牌不匹配来确定累积差异,使用最大耦合和条件蒙特卡洛方法分析。
📝 Abstract
KV-cache eviction perturbs the conditional token distributions governing autoregressive generation. We investigate how first-divergence timing and subsequent token mismatch determine cumulative disagreement. We derive an exact decomposition under a specified stepwise maximal coupling: the expected mismatch fraction equals a first-mismatch contribution plus post-divergence exposure multiplied by its mismatch rate. An explicit construction over unrestricted autoregressive kernel pairs realizes the sharp interval of risks compatible with a finite divergence-aligned observation window. Residual-branch conditional Monte Carlo provides unbiased joint estimates of occurrence, occupation, and window/tail contributions, with per-replicate variance dominance for total token loss. Complete trajectories from Meta-Llama-3.1-8B-Instruct and Qwen2.5-7B-Instruct show that SnapKV at 50% retention enters divergence later and less often than SnapKV-512 or recent-token retention with the same 50% prompt-cache budget, while post-divergence total variation (TV) remains high. In an exploratory analysis of 288 documents, post-divergence exposure accounts for 85-90% of four aggregate mismatch gaps. On 288 independent documents at 90% retention, prespecified comparisons show higher branch-aligned TV in the late than in the early window in both models.
Problem

Research questions and friction points this paper is trying to address.

KV-cache eviction
autoregressive generation
divergence timing
token mismatch
cumulative disagreement
Innovation

Methods, ideas, or system contributions that make the work stand out.

KV-cache eviction
autoregressive generation
stepwise maximal coupling
residual-branch conditional Monte Carlo
SnapKV