Beyond Sparse Weights: When Is Attention Compressible?

Chiwun Yang, Xiaoyu Li
8/21/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

KV-cache compression is often justified by attention maps with a few large weights. This is incomplete: large weights may not contain most of the mass, omitted values can cancel, and preserving the attention output may not preserve the task.

Show full abstract

We separate these questions. Global score gaps -- not threshold counts -- determine how many tokens are needed to retain a target mass. For a realized row, the weighted sum of omitted values is the exact missing statistic. A controlled retrieval--aggregation model explains when truncation helps and when it hurts. These results motivate CertKV, a training-free compressor that reserves one tail-summary slot per head and allocates the rest by value dispersion. Under matched budgets, CertKV is top-two in seven of nine LongBench-v2 settings, remains in the leading compressed tier on 128K RULER, and realizes a ten-fold cache budget in a packed Llama prototype. Compressibility depends on the mass, values, future queries, and task -- not on a sparse-looking map alone.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026beyond,
  title  = {Beyond Sparse Weights: When Is Attention Compressible?},
  author = {Chiwun Yang and Xiaoyu Li},
  year   = {2026},
  eprint = {2608.21541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.21541v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.21541.svg)](https://codeofpaper.com/paper/2608.21541)

Discussion