Skip to content
DraconiticResearch
Search Sources API
194,230 studies31 sourcesUpdated 53 min ago
PreprintarXiv licencearXiv

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

Abstract

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.

Related

  1. Dual-Branch Vector-Quantization-Aided Satellite Digital Semantic Communication with Index Compression for High-Resolution RSI Over AFDM
    Jianqiao Chen, Nan Ma, Xiaodong Xu +7
    arXivPreprintarXiv licenceFull textGeneral mathematicsarXiv
  2. Beyond Expert Rankings: Contrast Calibration for Mixed-Precision MoE Quantization
    Renjie Xie, Juncheng Yang, Aoting Hu +5
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  3. Beyond Scalar Sensitivity: Activation-Aware Mixed-Precision LLM Quantization with Cross-Layer Refinement
    Akihiro Yoshida, Yuma Ichikawa
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  4. Nonparametric In-Context Learning and Inference via Measure-Indexed Kernel Ridge Regression
    Zuofeng Shang, Tianyang Hu, Fan Yang +1
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  5. Uncertainty Quantification of State Variables Trajectories in the Context of Inverse Problems: An Approach from Bayesian Inference and FDA
    Luis Alejandro Baena-Marín, Juan Daniel Molina, Juan Camilo Bermúdez-Colorado +1
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{lee2026semkv,
  title = {{SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference}},
  author = {Daeha Lee and Do-Hyung Kim and Jae-Hong Kim},
  howpublished = {arXiv},
  year = {2026},
  month = aug,
  doi = {10.48550/arxiv.2608.28911},
  eprint = {2608.28911},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.28911},
}
RIS
TY  - UNPB
TI  - SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference
AU  - Daeha Lee
AU  - Do-Hyung Kim
AU  - Jae-Hong Kim
PY  - 2026
DA  - 2026/08/28
PB  - arXiv
DO  - 10.48550/arxiv.2608.28911
UR  - https://arxiv.org/abs/2608.28911
AB  - 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.
ER  -