跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2602.08005 (cs)
[提交于 2026年2月8日 (v1),最后修订于 2026年9月30日 (此版本, v2)]

标题:ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inference

作者:Jitai Hao, Qiang Huang, Yaowei Wang, Min Zhang, Jun Yu
查看论文《ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inference》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Efficient long-context inference faces two coupled bottlenecks: KV-cache memory grows linearly with context length, while attention computation grows quadratically. Existing approaches typically address one at the expense of irreversible token eviction, full-cache retention, or full-history reconstruction, limiting their effectiveness for multi-turn interaction and long-form reasoning. Motivated by two empirical properties, Long-Range Inter-Token Similarity and Smooth Residual Distribution, we propose ResidualKV, which factorizes the KV cache into a sparse set of globally retrieved references and compact, quantized residual codes for the remaining tokens. This representation preserves token-specific information without permanent eviction and, when combined with sparse attention, reconstructs only the selected states on demand. Dynamic-stride scheduling further reduces reference growth from linear to approximately logarithmic at ultra-long contexts. Across Llama, Qwen, LLaVA-OV, and Qwen3-VL backbones, ResidualKV maintains near-full-cache performance using only 13%-16% KV storage and 30% attention computation on LongBench, and 8%-10% storage and 10% computation in matched-budget multimodal evaluation. It also accelerates decoding by up to $1.5\times$ with KV-cache quantization and $3.4\times$ without it. These results show that global cross-token redundancy supports accurate, memory-efficient, and computation-efficient long-context inference. The source code is available at https://github.com/CURRENTF/ResidualKV.
评论: preprint
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI)
引用方式: arXiv:2602.08005 [cs.CL]
  (或者 arXiv:2602.08005v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2602.08005

提交历史

来自:Jitai Hao
[v1] 2026年2月8日 星期日 15:14:36 UTC (2,020 KB)
[v2] 2026年9月30日 星期三 06:17:08 UTC (6,150 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-10
切换浏览方式为:
cs
cs.CL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站