ai.hackcv
论文精选 82arXiv

ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression· ResKV:用于固定预算 KV 缓存压缩的残差注意力恢复

KV cache compression is essential for efficient long-context inference. Existing eviction methods permanently discard unselected tokens and consequently remove their aggregate contribution to attention. Merging-based alternatives preserve more information but can perturb retained keys and values that should remain exact. We observe that the information omitted by cache eviction can be formulated as residual statistics in both the numerator and denominator of softmax attention. Based on this observation, we propose ResKV, which divides a fixed KV budget into an exact main cache and a compact residual cache that reconstructs the contribution of omitted tokens. ResKV lets main-cache tokens and residual entries participate in the same softmax normalization, so residual entries restore both att

领域:cs.CL作者:Yuhang Zhan、Lisi Chen、Shuo Shang
相关推荐

本站内容由 LLM 精选聚合,原文版权归 arXiv 所有 · 摘录仅供参考