GSRQ: Gain-Shape Residual Quantization for Sub-1-bit KV Cache
The deployment of Large Language Models (LLMs) with extended context windows is increasingly constrained by the linear growth of Key-Value (KV) cache memory. Vector Quantization (VQ), particularly Residual Quantization (RQ), is a promising approach for pushing KV cache storage toward the sub-1-bit regime by progressively encoding residuals with small codebooks. However, most VQ methods still rely on standard $\ell_2$ $K$-means as the core codebook-learning primitive. We identify a subtle high-dimensional issue of this primitive: Euclidean centroid averaging can induce centroid shrinkage, which
Lineage graph
Paper → model → repo connections mined from source citations (Tier-1 exact match).
Why these links exist
Every edge carries a method, confidence, and the source snippet that justified it — so bad links are debuggable.
- LinkedLinked via unknownQuantization →
- LinkedLinked via unknownQuantBench →
- LinkedLinked via unknownI mapped which local LLMs actually fit each RAM tier, 8 to 128GB (open dataset) →
- PossiblePossibly related (embedding) · 46%Zefan-Cai/KVCache-Factory →
- PossiblePossibly related (embedding) · 46%aivrar/multi-turboquant →
- PossiblePossibly related (embedding) · 48%trvon/yams →
- PossiblePossibly related (embedding) · 47%lucidrains/vector-quantize-pytorch →
- PossiblePossibly related (embedding) · 52%bitsandbytes-foundation/bitsandbytes →
