LoopVQ: Sub 1-bit KV Cache Quantization for Looped Transformers
TL;DR - LoopVQ exploits redundancy across loop steps to quantize looped-transformer KV caches below 1 bit per element, reducing a key memory bottleneck while preserving accuracy. Its SGLang implementation substantially improves long-context decoding speed and serving throughput.
- Jointly vector-quantizes channels across multiple loop steps and fine-tunes codebooks against full-precision outputs.
- At 0.5 bits per element, it outperforms existing KV-cache quantization methods on reasoning and long-context tasks.
- Combined with TaSQ, it retains much of BF16 accuracy at 0.25 bits per element.
- At 32K context, it nearly halves decode latency and improves peak throughput by up to 4.3Ă— and 6.1Ă— on 1.4B and 2.6B Ouro models.