FAS-KV uses a shared attention signal to trim long-context caches
In an arXiv preprint, Hikaru Shijo and Yutaka Yoshihama propose FAS-KV, a method for deciding which tokens to keep in a language model's key-value cache. After accounting for positional rotations, the authors found that a single direction in key space could approximate how much future attention a token would receive, with a dominant component shared across inputs within each model, layer, and cache head. FAS-KV learns that direction offline and uses it to score cached tokens during inference. The authors report low scoring overhead and competitive results against other eviction methods on LongBench, RULER, and Needle-in-a-Haystack.
Why it matters
FAS-KV can score cached tokens without future queries or access to attention matrices, making it compatible with FlashAttention.
Sources
- PrimaryarXiv · Computation and LanguageSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.