[KongchangAI]
ConceptKVSeal无损压缩

KVSeal

A lossless compression method for the persistent KV cache in LLM inference. It exploits the statistical redundancy of the BF16 exponent distribution and employs fixed-length coding and escape records to achieve page-level independent compression and reconstruction, reducing memory bandwidth demand without loss of accuracy.

Timeline (last 90 days)

Dec 1

KVSeal achieves a resident KV cache compression ratio of approximately 1.3x.

Unverified50%
Dec 1

KVSeal achieves up to a 1.27x speedup in decoding attention compared with FlashAttention-2.

Unverified50%
Dec 1

KVSeal achieves up to a 1.19x speedup in end-to-end decoding compared with native vLLM.

Unverified50%
Dec 1

KVSeal exploits the strong concentration of BF16 KV exponents to design a lossless page format with fixed-length encoding and bounded escape storage.

Unverified50%
Dec 1

Each KVSeal compressed page carries its own encoded values and escape records, and can be stored independently, reconstructed bit by bit, and consumed by attention.

Unverified50%
Dec 1

KVSeal's compression-aware page lifecycle manages original pages and compressed pages: when the cache grows, new pages are filled in the original format and then compressed online.

Unverified50%
Dec 1

During decoding, KVSeal's attention mechanism reads both original and compressed formats and reconstructs compressed values in real time as they are consumed.

Unverified50%
Dec 1

KVSeal's page-independent design facilitates integration into existing inference frameworks, and the paper has demonstrated compatibility with vLLM.

Unverified50%

All Facts (8)

Source Articles