Skip to main content
QUICK REVIEW

[Paper Review] Joint Encoding of KV-Cache Blocks for Scalable LLM Serving

Joseph Kampeas, Emir Haleva|arXiv (Cornell University)|Jan 6, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

The paper introduces Fast Fusion (FF) with Batch Fast-Fusion (BFF) and Chunks Fast-Fusion (CFF) to jointly encode KV-cache blocks across requests and chunks, achieving up to 4.38× KV-cache compression with maintained accuracy and real-world throughput gains in LLM serving.

ABSTRACT

Modern large language models (LLMs) drive interactive AI systems but are bottlenecked by the memory-heavy growth of key-value (KV) caches, which limits real-time throughput under concurrent loads. Existing KV-cache compression methods rely on rigid heuristics, disrupt tensor layouts, or require specialized compute, hindering scalability and deployment. We propose joint encoding of KV-cache blocks, which fuses similar blocks across requests and input chunks into shared representations while preserving standard cache structure. This alleviates the KV-cache memory bottleneck, supporting high-concurrency serving without specialized hardware. Theoretically, we analyze the rate-distortion tradeoff of fused cache blocks under a Poisson process model. Empirically, our method achieves up to 4.38 $ imes$ KV-cache compression with negligible accuracy loss across diverse LLMs and benchmarks, outperforming recent structured and adaptive compression baselines. In real LLM serving, joint encoding improves the token throughput by $\sim$40\% on a single-machine vLLM benchmark, demonstrating substantial gains in inference throughput. Code is available at https://github.com/sef1/kv_fast_fusion kv_joint_encoding.

Motivation & Objective

  • Address KV-cache memory bottlenecks in high-concurrency LLM serving.
  • Develop a general block-sharing mechanism that extends prefix sharing to similar but non-identical blocks.
  • Preserve standard KV-cache structure while achieving high compression and reuse of computations.

Proposed method

  • Propose Fast-Fusion (FF) that jointly encodes similar KV blocks if cosine similarity exceeds a threshold.
  • Implement two fusion schemes: Batch Fast-Fusion (BFF) across requests and Chunks Fast-Fusion (CFF) across input chunks.
  • Use a tree-structured fusion strategy achieving O(B log B) and O(C log C) complexity for scalable fusion.
  • Represent fused blocks with a shared unit vector and a block-wise norm to preserve information and enable re-use in attention computations.
  • Provide a probabilistic/analytic rate-distortion backbone using a Poisson point process model to relate similarity threshold to compression and distortion.

Experimental results

Research questions

  • RQ1How much KV-cache memory can be saved by jointly encoding similar KV blocks across requests and chunks?
  • RQ2What is the trade-off between compression ratio and accuracy (distortion) as a function of the similarity threshold?
  • RQ3How do BFF and CFF affect decoding throughput, prefill reuse, and network bandwidth under heterogeneous workloads?
  • RQ4Can fused blocks be efficiently integrated into standard vLLM-like KV-cache layouts without disrupting tensor structure?
  • RQ5What theoretical guarantees or models (rate-distortion, Poisson process) describe the compression behavior across layers?

Key findings

  • Achieves up to 4.38× KV-cache compression with negligible accuracy loss across diverse LLMs and benchmarks.
  • BFF yields up to ~3.11× to ~4.38× compression at batch sizes 128–64 for Llama3.1-8B and Qwen2.5-72B with F1 scores maintained or improved.
  • CFF yields up to ~3.25× fewer blocks reused in prefill with minimal accuracy loss across long-input tasks.
  • End-to-end single-machine throughput improves in real serving scenarios, with reduced TTFT and higher effective batching, despite some decode-phase latency from larger GEMMs.
  • Theoretical analysis via Poisson processes links similarity thresholds to rate-distortion, predicting per-layer compression and distortions, and enabling automated threshold adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.