[KongchangAI]
ConceptFAS-KV缓存淘汰方法

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)

Dec 1

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.

Unverified50%
Dec 1

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.

Unverified50%
Dec 1

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.

Unverified50%
Dec 1

FAS-KV is compatible with FlashAttention and can be seamlessly integrated into inference stacks that use FlashAttention.

Unverified50%
Dec 1

FAS-KV achieves the best or near-best performance on the three long-context benchmarks LongBench, RULER and Needle-in-a-Haystack.

Unverified50%
Dec 1

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.

Unverified50%

All Facts (6)

Source Articles