mlsanityData to 24 Nov 2026

Storing the Gemma 4 K=V Cache Once: Exact Global-KV Memory Savings in a Paged Serving Engine with Unchanged Attention Kernels

arXiv 2611.23035 ↗Submitted 17 Nov 2026Announced 18 Nov 2026cs.LG cs.CL cs.DCcited by 0

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

In the global attention layers of Gemma 4 31B, the value is the normalized key projection, and the key is the value scaled by a fixed weight, with rotary position encoding on one quarter of its dimensions. The Gemma 4 report states that this design reduces the global KV cache by up to 37.5%, but the open serving engines that we checked still store a full key and a full value: 1,024 values per KV head and token. We store one 640-value row instead, exact in real arithmetic, and an unchanged paged attention kernel reads it through two overlapping strided views as its key cache and its value cache. In a vLLM prototype with the 16-bit 31B model, the outputs are bit-identical to an emulation of the same arithmetic on the stock cache, 2 of 432 final answers differ from the stock engine (within its run-to-run noise), and the steady decode KV memory per request falls by a factor of 1.34 to 1.40 at 32K to 64K tokens. On a prefill/decode pair of two A100 GPUs with NIXL transfer and CPU offload, a decode engine with a full 15 GiB pool ran 1.38 times the stock decode tokens per step for 16K-token prompts (repeated to 0.06%) and 1.24 times for 8K-token prompts; a model of the vLLM block pool predicted both ratios to within 1% (the engine was 0.7% to 0.9% higher) and matched the change between them. The eager decode throughput rose by 1.30 and 1.11 times, and on this path the compact engine gave the same output tokens as the emulation for 8 prompts at batch 1. The run-time prototype makes an eager step 4% to 9% slower at equal batch, and the method does not yet stack with an 8-bit KV cache at the default scale.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 28 of its 39 references that are in the map. Submitted 17 Nov 2026, announced 18 Nov 2026.

Builds on

28 of 39 references.

Closest ancestors · 10

Same direction, newest first

  1. 2026LowRAM: Low-Rank Keys and Amortised Values for Composable KV Cache Compression at Test-Time4 Nov
  2. 2026Folding Attention Biases into Keys Makes Compacted KV Caches Run on Standard Kernels27 Oct
  3. 2026Grouped Value Attention: Efficient KV Caching via On-Demand Key Reconstruction8 Sep
  4. 2025Hardware-Efficient Attention for Fast Decoding27 May
  5. 2025Jenga: Effective Memory Management for Serving LLM with Heterogeneity24 Mar
  6. 2025Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs20 Feb
  7. 2025TransMLA: Multi-Head Latent Attention Is All You Need11 Feb
  8. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attention21 May
  9. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  10. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep

Other references · 18

  1. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
  6. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  7. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
  8. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 780
  9. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
  10. 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 683
  11. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
  12. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 609
6 more
  1. 2026Gemma 4 Technical Reportcited by 464
  2. 2024Mooncake: A KVCache-centric Disaggregated Architecture for LLM Servingcited by 214
  3. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
  4. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 128
  5. 2026Do Transformers Need Three Projections? Systematic Study of QKV Variantscited by 5
  6. 2025Slim attention: cut your context memory in half without loss -- K-cache is all you need for MHAcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Minima-KV: Retention-Preserving KV Cache Compression with Mixed-Format Paged Attention
  2. 2026Back from the Future: Key-Value Cache Management by Counter-Causal Surprise
  3. 2026Tangram: Unlocking Non-Uniform KV Cache Compression for Efficient Multi-turn LLM Serving
  4. 2026RedKnot: Efficient Long-Context LLM Serving with Head-Aware KV Reuse and SegPagedAttention
  5. 2025FlexiCache: Leveraging Temporal Stability of Attention Heads for Efficient KV Cache Management
  6. 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences
  7. 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Serving
  8. 2026CORE: COverage CAlibration and Evicted-Mass REdistribution for KV Cache