SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference
Lijie Yang, Tri Dao, Ravi Netravali, Rajarshi Saha, Muhammed Fatih Balın
Abstract
Long-context reasoning and agentic workloads have made the key-value (KV) cache the dominant cost of LLM serving: it is re-read at every decoding step and grows with every generated token, bounding both decoding speed and concurrency. Compressing it pays off only if it combines high quality, low memory use, and fast serving, yet existing quantization methods sacrifice at least one: they require offline calibration, lose accuracy at low bit widths, or save memory without a measured speedup. We introduce SealKV, the first KV-cache compression method that achieves all three, by bringing trellis-coded quantization to a cache that grows continuously. Our key insight is that quantization can take place in sealed blocks, each coded only once all its tokens have arrived; sealing decouples trellis encoding from the newest token and exposes a subtractable per-channel offset, shared by neighboring tokens, that rotation alone cannot remove; subtracting it also lifts three existing quantizers by up to 32 points on GPT-OSS-120B retrieval. We also observe that a shorter trellis is affordable online at little loss: the code's quality depends far less on its window size than its encoding cost does. Co-designed fused dequantization-attention kernels read the codes directly and reconstruct values in registers without writing them back to memory. Without calibration, SealKV is effectively lossless at three bits and above and state-of-the-art at two, where it shrinks KV cache memory by 6.6x while losing as little as 0.37 points on Qwen3-14B and outscoring all evaluated baselines. Integrated end to end into vLLM, SealKV raises peak decode throughput at 64K context to 2.81x that of BF16 at 4 bits and 3.44x at 2 bits, ahead of all evaluated baselines.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 29 pages, 14 figures, 23 tables
Related papers
Shorter Sequences, Faster Models: Sequence Length Compression as a Stackable Primitive for LLM Training and Inference
Shared title terminologycs.LGMarc Neumann
Compressing Gated DeltaNet States with a Shared Value Basis and an Adaptive Residual
Shared title terminologycs.LGIvan Krivorotov, Egor Maximov, Aleksei Merkelov et al.
Refresh or Reweight? Two Kinds of Training-Inference Mismatch in LLM Reinforcement Learning
Shared title terminologycs.LGRunguo Li, Dezhen Lu, Lingxiang Gao
Dual-Band Attention: Efficient LLM Inference With Lightweight Block Sparsity Estimation
Shared title terminologycs.LGZheng Liu, Kaixin Huang, Jiaxi Li et al.
Anisotropic Stochasticity for Inference-Time Scaling of Flow Models
Shared title terminologycs.LGYeonwoo Cha, Yunseo Park, Seunghoon Hong
DIAL: Diffusion Post-Training for Inference-Time Adjustable Alignment by Reward Importance and Strength
Shared title terminologycs.LGMasato Ishii, Akio Hayakawa, Takashi Shibuya et al.