NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SplitZip: Ultra Fast Lossless KV Compression for Disaggregated LLM Serving

Yipin Guo, Siddharth Joshi

TL;DR

Modern large language model (LLM) serving splits inference across different machines—separating prompt reading ("prefill") from token generation ("decode")—which creates a massive network bottleneck when shipping the model's working memory (KV cache) across wires. SplitZip breaks this logjam by compressing floating-point KV caches losslessly directly on the GPU at blistering speeds (over 600 GB/s encode and 2,180 GB/s decode). It shrinks network traffic by ~25% and speeds up time-to-first-token by up to 1.30× without changing a single bit of the model’s output.

What Problem Does This Paper Address?

Serving LLMs involves two distinct phases: prefill (processing the input prompt, which is compute-heavy) and decode (generating response tokens one by one, which is memory-bandwidth-heavy). To maximize hardware efficiency, modern serving stacks use prefill-decode (PD) disaggregation—assigning prefill and decode to separate GPU pools or even separate datacenters.

There’s a catch: the prefill worker generates a massive Key-Value (KV) cache—the model's working memory of the prompt—and must ship it across the network to the decode worker before generation can start. For long documents or coding agents, moving gigabytes of KV tensors over constrained inter-node links becomes a severe latency bottleneck.

While lossy compression (like quantization or pruning) shrinks this payload, it alters model semantics and can degrade accuracy on complex, multi-step tasks. Meanwhile, existing lossless compressors are built for offline model weight storage: they either run on slow CPUs or rely on variable-length coding (like Huffman codes), whose irregular bitstreams create sequential dependencies that paralyze parallel GPU execution during live serving.

Methods

SplitZip is a GPU-native, format-aware lossless codec designed specifically for the live KV transfer path. Instead of treating numbers as generic bytes, it dissects the BF16 (16-bit brain floating-point) format: 1 sign bit, 8 exponent bits, and 7 mantissa bits.

Figure 1: Overview of SplitZip for lossless KV cache compression. SplitZip exploits the redundancy of the BF16 exponent field while keeping sign and mantissa exact. It encodes the most frequent exponent values with fixed 4-bit codes and stores rare values in a small escape buffer with their positions and raw exponents. This design enables GPU-friendly parallel decoding and reconstructs the original KV cache bit-exactly.
  1. Split the Stream: The sign and mantissa bits are noisy (high entropy), so SplitZip leaves them untouched, packing them into an exact 8-bit stream. The 8-bit exponent field, however, is highly repetitive.
  2. Offline Calibrated Top-16 Codebook: Rather than wasting time building histograms on the fly, SplitZip uses a tiny calibration dataset offline to find a model's 16 most common exponent values. Online, these top-16 exponents are mapped to fixed-length 4-bit codes (packing two per byte).
  3. Two-Pass Encoding & Sparse Escapes: What about the <1% of exponents outside the top 16? SplitZip assigns them a dummy 4-bit code in the main stream and routes their chunk-relative position and raw 8-bit value into a separate "escape buffer." A two-pass GPU scan counts escapes first to allocate exact memory (avoiding massive memory over-provisioning or slow atomic contention), accelerated by a vectorized Quad64 kernel that processes four BF16 numbers in a single 64-bit operation.
  4. Parallel Decode: The receiving GPU decodes all 4-bit codes uniformly in parallel, merges them with the sign+mantissa bytes, and finishes with a tiny, sparse "fix-up" pass that overwrites the escaped positions with their exact original exponents.

Datasets

The authors introduce no new datasets, relying instead on standard benchmarks to test codebook generalization and generate realistic KV activations:

  • Calibration: A training subset of WikiText-2 is used once per model to determine the top-16 exponents.
  • Codec & Cross-Domain Evaluation: WikiText-2 (test) is used for main throughput benchmarks, while HumanEval (code), GSM8K (math), MMLU, and PTB verify that a WikiText-calibrated codebook generalizes across domains.

Key Insights and Ideas

  • Activations mirror weights in exponent redundancy: Across dense, MoE, and hybrid models (Llama, Qwen, Phi), the top 16 exponent values consistently cover >99.3% of all BF16 KV cache entries. That leaves ~4 bits of pure redundancy per number waiting to be reclaimed.
  • Trading tiny space for massive GPU speed (Top-16 vs. Top-15): A classic compression trick is reserving one 4-bit code (say, 1111) as an "escape sentinel" so you don't have to store escape positions. The authors tried this—and decode speed plummeted by 3.5× (from 2181.8 GB/s down to 620.8 GB/s). Why? Checking for sentinels introduces if/else branch divergence on GPUs. Using all 16 codes uniformly and paying a tiny metadata tax for explicit positions keeps GPU threads marching in lockstep.
  • Static codebooks generalize: Calibrating on WikiText-2 and testing on coding (HumanEval) or math (GSM8K) still yields >99.3% coverage, matching oracle in-domain codebooks and proving dynamic online histograms (which slow encoding by 7.6×) are unnecessary.

Key Results

Evaluated on NVIDIA H200 GPUs with Mellanox RDMA networking and integrated into SGLang + Mooncake:

  • Blistering Codec Throughput: SplitZip hits 613.3 GB/s encoding and 2,181.8 GB/s decoding on Qwen3-32B KV caches at a 1.324× compression ratio (approaching the 1.33× theoretical ceiling of 4-bit exponent coding). It encodes 1.8× faster than NVIDIA's fastest nvCOMP baseline and 68.9× faster than GPU-optimized Falcon.
  • End-to-End Serving Gains: Across long-context sweeps, SplitZip speeds up raw Mooncake KV transfers by up to 1.32×, improves Time-To-First-Token (TTFT) in SGLang by up to 1.30×, and boosts request throughput by up to 1.23×.
Figure 2: End-to-end speedup on Qwen3-32B across sequence-lengths with SplitZip in SGLang [6].
  • Works on Quantized Caches Too: Applied on top of already-quantized FP8 (E5M2) KV caches, SplitZip squeezes out an extra 1.14× lossless compression at 249.7 GB/s encode and 564.9 GB/s decode.

Limitations and Future Work

  • Short-Context Overhead: For short prompts (e.g., sequence lengths under 2K–4K), fixed kernel launch and metadata overheads outweigh network savings, causing slight slowdowns before bandwidth dominates.
  • Modest Compression Ceiling: Because SplitZip leaves sign and mantissa bits untouched to guarantee bitwise exactness, its compression ratio is bounded (~1.33× max for BF16). However, the authors note this makes SplitZip complementary to lossy quantization—serving stacks can quantize to FP8 first, then apply SplitZip for risk-free extra bandwidth savings.

Summary updated

BibTeX
@inproceedings{guo2026splitzip,
  author = {Yipin Guo and Siddharth Joshi},
  title = {{SplitZip: Ultra Fast Lossless KV Compression for Disaggregated LLM Serving}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tksnxsc1Fc},
}
Figure