# Trust the Mass: Forced Weights in KV-Cache Eviction

DevFeed: [Trust the Mass: Forced Weights in KV-Cache Eviction](<https://devfeed.tech/articles/trust-the-mass-forced-weights-in-kv-cache-eviction-120478.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2608.25230>)

Author: Jack Shi, Jerry Gu

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [budget](<https://devfeed.tech/tags/budget.md>), [constraint](<https://devfeed.tech/tags/constraint.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [full](<https://devfeed.tech/tags/full.md>), [keys](<https://devfeed.tech/tags/keys.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [masks](<https://devfeed.tech/tags/masks.md>), [memory](<https://devfeed.tech/tags/memory.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [ruler](<https://devfeed.tech/tags/ruler.md>), [score](<https://devfeed.tech/tags/score.md>), [target](<https://devfeed.tech/tags/target.md>), [tensors](<https://devfeed.tech/tags/tensors.md>), [token](<https://devfeed.tech/tags/token.md>), [top-k](<https://devfeed.tech/tags/top-k.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

Keeping the largest attention weights appears near-optimal when a fixed subset of keys is retained and weights are renormalized: the best subset found closes only a median 2-5% of the remaining gap to full attention. The authors report that some KVPress methods mask the full cache to accommodate equal-length dense tensors; physically truncating heads to their target budgets lowered benchmark scores by 14-62 points. Computing token importance with the question in context accounted for 87.6 points in retrieval accuracy. Their training-free ContourKV applies KVzip's score under a physically enforced budget. Across RULER and LongBench, it beat KVzip in 93 of 160 runs using 28-1,078 times less memory, and tied Compactor at equal memory.

## Source excerpt

arXiv:2608.25230v3 Announce Type: replace Abstract: Every deployed KV-cache-eviction rule and every top-$k$ sparse-attention rule keeps a subset of the keys, discards the rest, and renormalizes the attention weights over the kept set. Identifying the exact best subset under that constraint, we find that keeping the largest weights is already near-optimal, since the best subset we find closes only a median $2$ to $5\%$ of the remaining gap to full attention. We evaluate deployed eviction methods in KVPress and find that methods with non-uniform per-head budgets apply attention masks over the full cache because dense cache tensors require equal length across heads. Truncating each head to the target budget lowers benchmark scores by $14$ to $62$ points, and computing token importance with the question in context accounts for $87.6$ points in retrieval accuracy. We propose ContourKV, a training-free rule that applies KVzip's score under a physically enforced budget. It beats KVzip in $93$ of $160$ benchmark runs across RULER and LongBench while using $28$ to $1078$ times less memory, and ties Compactor, the strongest baseline at equal memory.