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

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

计算机科学 > 机器学习

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

标题:Near-Oracle KV Selection via Pre-hoc Sparsity for Long-Context Inference

作者:Yifei Gao, Lei Wang, Rong-Cheng Tu, Qixin Zhang, Jun Cheng, Dacheng Tao
查看论文《Near-Oracle KV Selection via Pre-hoc Sparsity for Long-Context Inference》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:A core bottleneck in large language model (LLM) inference is the cost of attending over the ever-growing key-value (KV) cache. Although near-oracle top-k KV selection can preserve the quality of dense attention while sharply reducing computation and bandwidth, existing sparse methods generally rely on posterior heuristics, i.e., selectors conditioned on observed attention or proxy scores. Such conditioning introduces posterior bias: it tends to distort true token importance and miss salient tokens, thereby impairing long-range reasoning. To tackle this problem, we propose Pre-hoc Sparsity (PrHS), which selects KV entries before attention scoring and provides explicit accuracy control. Let the attention mass of discarded entries be delta (the dropped mass). Through a marginal-to-mutual-information analysis, we derive an upper bound on the mutual-information loss that depends only on the dropped mass. This relation explains failure modes of posterior heuristics and enables verifiable guarantees by controlling the dropped mass in advance. Within PrHS, we instantiate three orthogonal pre-hoc selectors along the axes of time, depth, and layer. Extensive experiments on LLaMA and Mistral families validate PrHS. Across GSM8K and CoQA, PrHS reduces retrieval overhead by over 90%, achieving 3x higher retrieval sparsity than HShare at matched or better accuracy. It incurs under 1% average degradation on LongBench, lowers attention FLOPs by about 15% versus prior sparse baselines, and yields a 9.9x speedup in attention-operator latency and 2.8x higher throughput on NVIDIA A100-80GB GPUs than the dense baseline.
评论: An effective method for accelerating LLM's inference via selective KV processing
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 信息论 (cs.IT); 信息论 (math.IT)
引用方式: arXiv:2602.08329 [cs.LG]
  (或者 arXiv:2602.08329v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2602.08329

提交历史

来自:Yifei Gao
[v1] 2026年2月9日 星期一 07:05:23 UTC (2,265 KB)
[v2] 2026年9月23日 星期三 18:37:47 UTC (5,117 KB)
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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