NeurIPS 2026QuestionsPapersAreasAboutMarkdown

CoQuant: Covariance-Aware Rotation for 2-bit KV Cache Quantization

Zhongzhu Zhou, Donglin Zhuang, Jisen Li, Ziyan Chen, Shuaiwen Song, Ben Athiwaratkun, Xiaoxia Wu

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Low-Precision LLM Inference · Type: new method · Keywords: KV cache quantization, INT2 quantization, attention covariance, rotation and clipping, LLM serving efficiency

Areas: Long Context › Long-context mechanisms › KV cache eviction

Summary

CoQuant is an ultra-low-bit KV cache quantization method that estimates attention-aware covariance structures offline and derives fixed rotations and clipping thresholds, enabling accurate and deployable INT2 quantization for long-context LLM serving.

Explained to a 5-year-old

A big computer program called a language model needs to remember a lot of things while talking. To save memory, we can store its memory in a super-tiny format. The new idea looks at how the program actually uses that memory and rotates it so it fits better. This helps the program stay accurate even when the memory is tiny. It also works with the programs that run these language models, so they can use less memory and run faster.

Explained to a 5-year-old, longer

Imagine a chatbot that talks a lot and needs to remember everything it has said. Usually, it stores a lot of information, which takes up a lot of space in the computer. To save space, we can shrink that information to just two bits, which is super small. However, making it that small often makes the chatbot forget things or make mistakes. The new idea looks at how the chatbot actually uses its memory and finds patterns in the way it remembers things. By rotating those patterns, the tiny memory fits better with how the chatbot works. This keeps the chatbot accurate even with the tiny memory. The idea also includes a special piece of code that works with the chatbot’s memory system, so it can be used in real-world applications. This means the chatbot can remember more without using as much computer space, and it can answer questions faster and use less energy.

For a technical reader

The paper introduces a quantization scheme that leverages attention-aware covariance to derive rotation and clipping parameters for INT2 KV caches, improving accuracy over naive rotations. It provides a custom INT2 attention kernel that maintains compatibility with paged KV-cache and fused kernel pipelines, enabling integration into frameworks like SGLang and vLLM. Empirical results show significant memory savings (≈8×), throughput gains (up to 7× at large batches), and faster single-token decoding (up to 3×) while preserving BF16-level performance on reasoning models up to 32B parameters.

Problem

Quantizing KV caches to INT2 improves memory efficiency but often loses accuracy because simple rotations ignore the covariance patterns actually used by attention, making it hard to achieve both accuracy and deployment feasibility.

Method

The approach estimates attention-aware covariance structures offline and derives fixed rotations and clipping thresholds from them, aligning KV quantization with the covariance patterns consumed by attention. It also introduces a custom INT2 attention kernel that integrates with paged KV-cache serving and fused kernel pipelines for deployment.

Results

The approach reduces the BF16 accuracy gap to 3.78 points on Qwen3-4B-Thinking-2507 and 1.42 points on Qwen3-8B, stays on par with BF16 on larger models, and yields up to 8× KV-cache memory reduction, up to 7× throughput gain at large batch sizes, and up to 3× faster single-token decoding compared to BF16.

Contributions

The paper provides a theoretical justification for attention-aware covariance quantization and introduces a fully deployable system with a custom INT2 attention kernel that integrates with paged KV-cache serving and fused kernel pipelines, enabling seamless use in modern LLM serving frameworks.

Practical relevance

It enables efficient long-context LLM serving on limited hardware by drastically reducing KV-cache memory and improving throughput, making ultra-low-bit quantization practical for production.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction