Quality Recovery for Quantized KV Caches via Low-Rank Attention Adaptation
Abstract
Low-bit key--value (KV) caches reduce the memory required for autoregressive decoding, but the resulting quality loss depends on the model and quantizer. We keep the quantizer fixed and distill the floating-cache model's behavior into low-rank Q/K/V projection updates while the student executes a physically packed incremental cache. Across three seeds, 4-bit affine-cache adapters recover of the held-out perplexity gap on TinyLlama-1.1B and on Gemma-4-12B. On the same frozen NF4 Llama-3.1-8B base, one validation-selected run per quantizer recovers under KIVI K2V2 and under KVarN K4V2, while preserving 180-case associative retrieval. Gemma's score on an official 4K/8K RULER subset rises from 42.80 with the unadapted 4-bit cache to 48.33 after adaptation (46.15 floating), with substantial task heterogeneity. Finally, a 2-bit rank--token sweep reduces TinyLlama's 2-bit PPL from 576.10 to across three seeds, versus 10.3988 floating, but restores only 11--12 of 180 retrieval cases. These results show that low-rank projection adaptation can recover held-out quality across fixed cache formats, while perplexity recovery need not restore long-context retrieval.
Create a lesson
Metadata
- Categories
- cs.AR, cs.CL
Related papers
Grouped Value Attention: Efficient KV Caching via On-Demand Key Reconstruction
Shared title terminologycs.ARVishesh Tripathi, Abhay Kumar, Ramsha Khan
Interface-Aware KV Cache Quantization for Dense On-Chip NVM in Long-Context LLM Decoding
Shared title terminologycs.ARJiahao Zheng, Yifan Qin, Xiaobo Sharon Hu et al.
APT: Accelerating Diffusion Transformers via Attention Probability-Guided Pruning and Quantization
Shared title terminologycs.ARSungyeob Yoo, Seeyeon Kim, Joonyong Park et al.
SPICE: Speculative Prefetching with Low-Rank Expert Surrogates and Heterogeneous Orchestration for MoE Inference Acceleration
Shared title terminologycs.ARYongxiang Lyu, Ning Li, Bonian Jia
Energy-Efficient Visual Inspection with FFT-Based CNNs and Adaptive Floating-Point Quantization
Shared title terminologycs.ARLukas Krupp, Marco Groß, Michael Graichen et al.
PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching
Shared title terminologycs.ARGeraldo F. Oliveira, Ahmet Caner Yüzügüler, Renzo Andri et al.