FAS-KV
A KV cache eviction method based on a future-attention-shared linear direction. It learns the direction offline and performs a single projection-based scoring pass at inference, achieving efficient long-context cache compression and remaining compatible with FlashAttention.
Timeline (last 90 days)
FAS-KV discovers that future attention has a shared linear direction in key space, requiring only one projection to efficiently score and evict cached tokens.
FAS-KV learns a shared future-attention direction in an offline stage, and at inference projects each cached token's key vector onto this direction to obtain an importance score.
FAS-KV's scoring process does not depend on future queries and requires no access to the attention matrix, so its computational overhead is extremely low.
FAS-KV is compatible with FlashAttention and can be seamlessly integrated into inference stacks that use FlashAttention.
FAS-KV achieves the best or near-best performance on the three long-context benchmarks LongBench, RULER and Needle-in-a-Haystack.
FAS-KV's offline learning is completed in a single pass, and online scoring involves only a simple vector-vector projection, with low computational complexity, making it suitable for practical deployment.
All Facts (6)
FAS-KV discovers that future attention has a shared linear direction in key space, requiring only one projection to efficiently score and evict cached tokens.
50%UnverifiedFAS-KV learns a shared future-attention direction in an offline stage, and at inference projects each cached token's key vector onto this direction to obtain an importance score.
50%UnverifiedFAS-KV's scoring process does not depend on future queries and requires no access to the attention matrix, so its computational overhead is extremely low.
50%UnverifiedFAS-KV is compatible with FlashAttention and can be seamlessly integrated into inference stacks that use FlashAttention.
50%UnverifiedFAS-KV achieves the best or near-best performance on the three long-context benchmarks LongBench, RULER and Needle-in-a-Haystack.
50%UnverifiedFAS-KV's offline learning is completed in a single pass, and online scoring involves only a simple vector-vector projection, with low computational complexity, making it suitable for practical deployment.
50%