0

A Shared Future-Attention Direction in Key Space for KV Cache Eviction

Long-context inference is increasingly constrained by the memory and computation of the key-value (KV) cache. We show that cumulative future attention can be accurately approximated by a single linear direction in key space.

Preview
Year
2026
Hosting
Full text hostedCC-BY-4.0

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2611.40486CC-BY-4.0
TL;DR
Semantic Scholar
Attribution policy →

Abstract

Long-context inference is increasingly constrained by the memory and computation of the key-value (KV) cache. We show that cumulative future attention can be accurately approximated by a single linear direction in key space. After correcting for RoPE-induced rotations, this direction exhibits a dominant component shared across inputs within each model, layer, and KV head. Based on this finding, we propose FAS-KV, which learns a shared future-attention direction offline and scores cached tokens using a single key-space projection at runtime. At inference time, the method requires neither future queries nor access to attention matrices, making it lightweight and compatible with FlashAttention. Across LongBench, RULER, and Needle-in-a-Haystack, FAS-KV achieves the best or near-best performance among eviction methods, while maintaining low scoring overhead.