Transformer-FSQ: Discrete Latents for Extreme KV-Cache Compression
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Private, personalised language models must run on local consumer devices, where large, frontier models cannot fit, and retaining long contexts is non-trivial. Sequential memory---the key-value (KV) cache---grows linearly with context length, quickly dwarfing the model itself: for Qwen3-1.7B-Base, 200,000 retained entries require 21 GiB, 6.6 times more than the model weights. Yet the KV-cache compression methods we measured fail beyond moderate compression ratios. We introduce Transformer-FSQ, addressing extreme KV-cache compression by replacing standard key and value projections with a finite scalar quantisation bottleneck. Our cache stores a packed vector of discrete integer codes per token, with no per-token quantisation metadata. Converting a pretrained transformer trains only these projections on 0.25 tokens per original parameter. We evaluate Transformer-FSQ against five baseline families on models from 0.6B to 8B parameters. On long-context retrieval (RULER), from 12× to 97.5× Transformer-FSQ is the most accurate method we evaluate, across scales. A fused Triton kernel decodes directly from the integer codes; with baselines given their authors' kernels where available, it decodes at 1.01× (95% interval 0.98--1.05) the throughput of native SDPA attention on the uncompressed Qwen3-8B-Base at 32× and 1.54× at 97.5×. Extreme KV-cache compression is therefore a practical way to extend how much context a fixed device can hold.
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 56 of its 71 references that are in the map. Submitted 6 Nov 2026.
Builds on
56 of 71 references.
Closest ancestors · 8
Same direction, newest first
- 2026Echo: KV-Cache-Free Associative Recall with Spectral Koopman Operators7 May
- 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compression14 Mar
- 2025Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs20 Feb
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
- 2024Palu: Compressing KV-Cache with Low-Rank Projection30 Jul
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 48
- 2017Attention Is All You Needcited by 62,125
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2025Qwen3 Technical Reportcited by 9,994
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2017Neural Discrete Representation Learningcited by 4,967
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,620
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,354
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,839
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,231
36 more
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,184
- 2023Steering Language Models With Activation Engineeringcited by 1,128
- 2021SoundStream: An End-to-End Neural Audio Codeccited by 1,012
- 2022Autoregressive Image Generation using Residual Quantizationcited by 771
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
- 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 527
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 337
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 265
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 247
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 240
- 2026Kimi K3: Open Frontier Intelligencecited by 233
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 150
- 2024Transformers are Multi-State RNNscited by 132
- 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 121
- 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 102
- 2024KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantizationcited by 83
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-trainingcited by 83
- 2024Isambard-AI: a leadership class supercomputer optimised specifically for Artificial Intelligencecited by 75
- 2024Longhorn: State Space Models are Amortized Online Learnerscited by 70
- 2025CommVQ: Commutative Vector Quantization for KV Cache Compressioncited by 33
- 2023Democratising AI: Multiple Meanings, Goals, and Methodscited by 31
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 30
- 2025Discrete Codebook World Models for Continuous Controlcited by 11
- 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Surveycited by 10
- 2026Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Trackingcited by 10
- 2024Residual vector quantization for KV cache compression in large language modelcited by 9
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantizationcited by 7
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transformscited by 5
- 2026VQKV: High-Fidelity and High-Ratio Cache Compression via Vector-Quantizationcited by 2
- 2026GSRQ: Gain-Shape Residual Quantization for Sub-1-bit KV Cachecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025PackKV: Reducing KV Cache Memory Footprint through LLM-Aware Lossy Compression
- 2025FreqKV: Key-Value Compression in Frequency Domain for Context Window Extension
- 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scores
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
- 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
- 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models
- 2025TreeKV: Smooth Key-Value Cache Compression with Tree Structures
- 2025TaDA: Training-free recipe for Decoding with Adaptive KV Cache Compression and Mean-centering