{"id":"arxiv:2510.05373","kind":"preprint","title":"KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction","authors":["Utkarsh Saxena","Kaushik Roy"],"author_count":2,"year":2025,"published":"2025-10-06","venue":null,"cited_by":0,"doi":null,"arxiv_id":"2510.05373","nct_id":null,"source_url":"https://arxiv.org/abs/2510.05373","archive_url":"https://space-kitty.com/papers/arxiv:2510.05373","updated":"2025-10-06","pmid":null,"pmcid":null,"openalex_id":"W4414976397","pdf_url":"https://arxiv.org/pdf/2510.05373","abstract":"Quantizing the key-value (KV) cache is a promising strategy for improving the inference efficiency of large language models (LLMs). However, aggressive quantization to very low precision (e.g., 2 bits) introduces significant errors in the stored key and value tensors, which propagate through the dot-product attention mechanism and ultimately degrade generation quality. To address this, we propose KVLinC, a framework to mitigate attention errors introduced by KV cache quantization in the extreme low-precision regime. KVLinC combines a Hadamard rotation, which reduces quantization error in values, with lightweight linear correction adapters that explicitly compensate for errors introduced by quantized keys. Across extensive evaluations on the LLaMA, Qwen2.5, and Qwen3 model families, KVLinC consistently matches or surpasses strong baselines while achieving higher KV-cache compression. Furthermore, we implement a custom attention kernel that results in upto 2.55x faster inference compared to Flash Attention baseline, enabling efficient long-context LLM inference.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.LG"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[{"slug":"efficient-ai","name":"Efficient Training & Inference","domain_slug":"ai"}],"cited_in_dossiers":[]}