arXiv cs.CL· Tho Mai, Joo-Young Kim·· 11 小时前AI 评分35
LaProx:将 KV Cache 驱逐重构为输出感知的层级矩阵乘法近似问题
Reformulating KV Cache Eviction Problem for Long-Context LLM Inference
AI 导读
研究者提出 LaProx,将 KV Cache 驱逐从逐头权重平均重构为输出感知的层级矩阵乘法近似问题,显式建模注意力图与投影 value 状态之间的乘性交互,并给出首个为 token 分配全局可比重要性分数的统一驱逐策略。
正文 · 原文
Abstract:Large language models (LLMs) support long-context inference but suffer from substantial memory and runtime overhead due to Key-Value (KV) Cache growth. Existing KV Cache eviction methods primarily rely on local attention weights, neglecting the influence of value representations, output projection, and inter-head interactions. In this work, we reformulate KV Cache eviction from a conventional head-wise, weight-averaging approach into an output-aware, layer-wise matrix multiplication approximation problem. We introduce LaProx, a novel eviction strategy that explicitly models the multiplicative interaction between attention maps and projected value states to accurately quantify token contributions while accounting for inter-head dependencies. Building on this metric, we propose the first unified eviction strategy that assigns globally comparable importance scores to tokens, enabling model-wide selection instead of local, head-wise decisions. Experimental results across 19 datasets on long-context benchmarks LongBench and Needle-In-A-Haystack demonstrate that our approach maintains model performance with only 5% of the KV cache and consistently outperforms prior works across all configurations. Notably, our method achieves up to 2$\times$ accuracy loss reduction under extreme compression scenarios compared to existing state-of-the-art baselines with minimal overhead. Our code is available at this https URL.
| Comments: | Accepted to NeurIPS 2026 |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2605.07234 [cs.CL] |
| (or arXiv:2605.07234v2 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2605.07234 arXiv-issued DOI via DataCite |
Submission history
From: Tho Mai [view email]
[v1]
Fri, 8 May 2026 04:37:22 UTC (422 KB)
[v2]
Fri, 6 Nov 2026 14:10:30 UTC (423 KB)
来源:arXiv cs.CL · arxiv.org