mlsanityData to 7 Oct 2026

Residual vector quantization for KV cache compression in large language model

arXiv 2410.15704 ↗First posted 21 Oct 2024cs.LGcited by 7

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

Abstract (arXiv)

KV cache compression methods have mainly relied on scalar quantization techniques to reduce the memory requirements during decoding. In this work, we apply residual vector quantization, which has been widely used for high fidelity audio compression, to compress KV cache in large language models (LLM). We adapt the standard recipe with minimal changes to compress the output of any key or value projection matrix in a pretrained LLM: we scale the vector by its standard deviation, divide channels into groups and then quantize each group with the same residual vector quantizer. We learn the codebook using exponential moving average and there are no other learnable parameters including the input and output projections normally used in a vector quantization set up. We find that a residual depth of 8 recovers most of the performance of the unquantized model. We also find that grouping non-contiguous channels together works better than grouping contiguous channels for compressing key matrix and the method further benefits from a light weight finetuning of LLM together with the quantization. Overall, the proposed technique is competitive with existing quantization methods while being much simpler and results in 5.5x compression compared to half precision.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in KV cache quantization, one of 12 directions in Efficient LLM inference and serving. Builds on 25 of its 30 references that are in the map. First posted on arXiv 21 Oct 2024.

Builds on

25 of 30 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantization7 May
  2. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache5 Feb
  3. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization31 Jan
  4. 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Serving29 Oct

Other references · 21

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  6. 2017Neural Discrete Representation Learningcited by 4,650
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  8. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  10. 2023Mistral 7Bcited by 3,065
  11. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  12. 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
9 more
  1. 2022High Fidelity Neural Audio Compressioncited by 673
  2. 2023High-Fidelity Audio Compression with Improved RVQGANcited by 423
  3. 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 278
  4. 2024Extreme Compression of Large Language Models via Additive Quantizationcited by 223
  5. 2024Improving Dictionary Learning with Gated Sparse Autoencoderscited by 171
  6. 2024GPTVQ: The Blessing of Dimensionality for LLM Quantizationcited by 78
  7. 2023Codebook Features: Sparse and Discrete Interpretability for Neural Networkscited by 45
  8. 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
  9. 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026VQKV: High-Fidelity and High-Ratio Cache Compression via Vector-Quantization
  2. 2025SVDq: 1.25-bit and 410x Key Cache Compression for LLM Attention
  3. 2025NSNQuant: A Double Normalization Approach for Calibration-Free Low-Bit Vector Quantization of KV Cache
  4. 2024Unlocking Data-free Low-bit Quantization with Matrix Decomposition for KV Cache Compression
  5. 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models
  6. 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms
  7. 2026OmniKVQuant: KV Cache Quantization for Omni-LLMs
  8. 2026Tailoring the Quantization Space for 1-Bit KV Cache Compression