MiSTiQ: MicroScaling Trellis Quantization for Extreme KV Cache Compression
Ofir Gordon, Lior Dikstein, Paul Balanca, Idan Achituve, Douglas Orr, Hai Victor Habi
Key points
From the paper's conclusion- We combine trellis quantization with beam search to encode the KV cache over large reconstruction spaces without large codebooks.
Abstract
Modern large language models (LLMs) increasingly support longer contexts and serve more concurrent requests, increasing both sequence lengths and batch sizes. Both trends increase KV-cache size and memory traffic during inference. KV-cache quantization reduces these costs, with recent approaches using codebook-based vector quantization to achieve extremely low bit widths. However, hardware constraints limit codebook size, and most methods reconstruct the cache in higher-precision floating-point formats for attention, limiting the computational benefits of quantization. To address these limitations, we introduce MiSTiQ, a drop-in replacement for codebook-based vector quantizers that combines trellis-coded storage with microscaling (MX) formats for low-precision computation. We combine trellis quantization with beam search to encode the KV cache over large reconstruction spaces without large codebooks. To support MX computation, we derive MX-Hash functions that generate reconstruction values directly in the target MX element format. These functions use the scale-conditioned marginal distribution of block-normalized Gaussian inputs. On Llama3 and Qwen3, MiSTiQ achieves lower WikiText perplexity and higher GSM8K accuracy than the evaluated baselines across several block-scale formats at approximately 1.25 effective bits per element. With NVFP4, it also achieves the highest LongBench average on both models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Minima-KV: Retention-Preserving KV Cache Compression with Mixed-Format Paged AttentionarXiv · 2026
- MeltKV: Memory-Aligned KV Cache Compression via Variable-Bit Packed Vector Quantization for Long-Context LLMsarXiv · 2026
- Verify Before You Fetch: Reliable KV Cache Compression for LLM InferencearXiv · 2026
- Transformer-FSQ: Discrete Latents for Extreme KV-Cache CompressionarXiv · 2026
- Interface-Aware KV Cache Quantization for Dense On-Chip NVM in Long-Context LLM DecodingarXiv · 2026
- Tailoring the Quantization Space for 1-Bit KV Cache CompressionarXiv · 2026