Skip to content
NewA calmer, faster ZeroHour

KVSeal keeps long-context KV caches in lossless compressed form

Original title: KVSeal: Serving Long-Context LLMs with Losslessly Compressed KV Caches

arXiv cs.AI / cs.LG / cs.CLby Hangyu Liang ()1 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Authors report about 1.3× resident KV compression and up to 1.19× end-to-end decode speedup versus stock vLLM.

KVSeal stores the resident KV cache of long-context LLMs in a lossless compressed page format so attention still sees every original K/V bit. The design uses concentration of BF16 KV exponents, fixed-length codes, and bounded escape storage, with each page carrying its own values and escape records so it can be reconstructed independently. Pages are compressed online as they fill, and decode attention reads raw and compressed pages, reconstructing values as it consumes them. The authors report about 1.3× resident KV compression, up to 1.27× decode attention speedup over FlashAttention-2, and up to 1.19× end-to-end decode speedup over stock vLLM.

Unconfirmed: Reported speedups are the authors' measurements; independent replication is not stated.

Key facts
  • Compression is lossless and bit-for-bit reconstructible per page.
  • The format targets BF16 KV exponent concentration with fixed-length codes.
  • Decode attention speedup is up to 1.27× versus FlashAttention-2.
  • End-to-end decode speedup is up to 1.19× versus stock vLLM.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

Long context is what lets an LLM serve real workloads: a single request can carry an entire repository, a document collection, or a long agent trajectory. It also makes the KV Cache, rather than the model weights, the dominant serving cost, because the cache grows linearly with the context and every decode step rereads all of it.

arXiv cs.AI / cs.LG / cs.CL

By Hangyu Liang · arxiv.org

Read the full article at arXiv cs.AI / cs.LG / cs.CL

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.