SealKV:面向更快LLM推理的精准低比特KV压缩
SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference
导读
Lijie Yang 等五位作者提出 KV 缓存压缩方法 SealKV,将 trellis 编码量化用于持续增长的缓存,并按块密封编码。论文称其无需离线校准,在三位及以上接近无损、二位达到当前最优,在 Qwen3-14B 上把 KV 缓存内存缩小 6.6 倍、精度仅损失 0.37 个百分点;集成进 vLLM 后,64K 上下文下峰值解码吞吐在 4 位时为 BF16 的 2.81 倍、2 位时为 3.44 倍。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
Computer Science > Machine Learning
[Submitted on 1 Dec 2026]
Title:SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference
View a PDF of the paper titled SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference, by Lijie Yang and 4 other authors
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.
| Comments: | 29 pages, 14 figures, 23 tables |
|---|---|
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| ACM classes: | I.2.7 |
| Cite as: | arXiv:2612.02036 [cs.LG] |
| (or arXiv:2612.02036v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.02036 |
Submission history
From: Muhammed Fatih Balın [view email]
[v1]
Tue, 1 Dec 2026 15:32:00 UTC (790 KB)
Full-text links:
Access Paper:
View a PDF of the paper titled SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference, by Lijie Yang and 4 other authors
Additional Features
Current browse context:
cs.LG
| next >
Change to browse by:
References & Citations
BibTeX formatted citation
Data provided by:
Bookmark
[
](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2612.02036&description=SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference "Bookmark on BibSonomy")
[
](https://reddit.com/submit?url=https://arxiv.org/abs/2612.02036&title=SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference "Bookmark on Reddit")
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
- Author
- Venue
- Institution
- Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
出处
- B 可靠arXiv cs.LG · RSS阅读原文 ↗
SealKV: Accurate Low-Bit KV Compression for Faster LLM Inference