Metraipolis › archive › dc_f82ae9a3ab02

SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference — arXiv:2608.28911

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.28911
License (as archived)
CC0-1.0
Archived
2026-10-17T08:07:59.205Z
SHA-256 of the archived text
a5f21ddee32d38845c46fdc54c30556c7eb1f82271aa3012da66bc8012ffaad3
Stable URL of this page
https://metraipolis.com/documento/dc_f82ae9a3ab02

How to cite

SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference — arXiv:2608.28911 — arXiv (en), https://arxiv.org/abs/2608.28911 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f82ae9a3ab02 (Metraipolis archive dc_f82ae9a3ab02, sha256 a5f21ddee32d38845c46fdc54c30556c7eb1f82271aa3012da66bc8012ffaad3)
BibTeX
@misc{dcf82ae9a3ab02,
  title = {SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference — arXiv:2608.28911},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.28911},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f82ae9a3ab02; sha256 a5f21ddee32d38845c46fdc54c30556c7eb1f82271aa3012da66bc8012ffaad3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.28911. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The key-value (KV) cache is the dominant memory bottleneck of long-context large language model (LLM) inference, growing linearly with context length. We show that uniform KV quantization on a fractional-bit grid does not degrade gracefully: under a prespecified multi-seed statistical protocol, Llama-3.1-8B-Instruct with an affine quantizer is statistically indistinguishable from FP16 KV down to 2.322 code bits/value and collapses at 2.0 bits - a quality cliff in (2.0, 2.322] that reappears in generation-time quantization and multi-turn dialogue and transfers to Mistral-7B. The cliff reframes importance-aware mixed precision: above it, eight model-internal importance indicators are statistically interchangeable, so the benefit of mixing is grid interpolation, reaching average precisions uniform quantization cannot realize. SemKV preserves every token, ranks tokens by a model-internal score, and assigns two adjacent above-cliff precisions, achieving a measured 6.0x storage reduction with no statistically detectable quality difference from full KV (n=900, three seeds), and outperforming FP16 token pruning granted a 1.5x larger memory budget. Replacing the affine base with a distortion-optimized quantizer (TurboQuant-MSE) lowers the cliff in every protocol tested, raising the no-detectable-loss operating point to 7.9x. The recipe: measure the cliff for the target deployment setting, then interpolate above it.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-01 in cs.CL).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Information Theory (cs.IT).
Pagina del lavoro: https://arxiv.org/abs/2608.28911 — 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-17T07:47:52.899Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).