Metraipolis › archive › dc_e8648fb3c5c7
Where Activation Sparsity and KV-Cache Sparsity Cross in LLM Decoding — arXiv:2609.33889
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.33889
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T21:54:08.242Z
- SHA-256 of the archived text
319424f773a4c58c64effd3b56f5b23b804c936aac118c533f78d07a0eba67bf- Stable URL of this page
https://metraipolis.com/documento/dc_e8648fb3c5c7
How to cite
Where Activation Sparsity and KV-Cache Sparsity Cross in LLM Decoding — arXiv:2609.33889 — arXiv (en), https://arxiv.org/abs/2609.33889 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e8648fb3c5c7 (Metraipolis archive dc_e8648fb3c5c7, sha256 319424f773a4c58c64effd3b56f5b23b804c936aac118c533f78d07a0eba67bf)
BibTeX
@misc{dce8648fb3c5c7,
title = {Where Activation Sparsity and KV-Cache Sparsity Cross in LLM Decoding — arXiv:2609.33889},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.33889},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e8648fb3c5c7; sha256 319424f773a4c58c64effd3b56f5b23b804c936aac118c533f78d07a0eba67bf},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.33889. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
At each step, decoding one sequence with a large language model rereads the projection weights, whose traffic is fixed, and the key-value (KV) cache, whose traffic grows with context. Activation sparsity trims the first term and KV-cache sparsity the second, yet their reported speedups are hard to compare because each depends on context length and on the dense attention kernel it is measured against. We derive a byte crossover, the context length at which the two savings are equal, together with ideal speedup bounds for each branch and for their composition, from model dimensions and keep ratios alone. We then time both branches and their composition from 2K to 128K tokens on two GPUs after a dense prefill of real text, with dense and sparse modes reading the cache through the same split-K attention kernel. The projection branch leads at short context and the KV branch at long context, with speedups that follow their byte bounds up to fixed kernel costs. Adding these costs, measured in separate sweeps, lets the byte account predict the measured crossings of three keep-ratio pairs, a second model, and a second GPU to within 4.1K tokens. Timing the dense baseline with masked instead of split-K attention inflates the apparent speedup of the same KV policy about fivefold. An attention-scored KV selection answers the same passkey and multi-key placements as dense decoding up to 127K tokens, whereas a KV window misses most of them. Under matched perplexity budgets, activation sparsity composed with this selection decodes 14 to 26% faster than the best single branch on both GPUs. Code is available at this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Performance (cs.PF). Pagina del lavoro: https://arxiv.org/abs/2609.33889 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T21:27:08.787Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).