OptR Improves INT2 KV-Cache Quantization for LLMs.

Vincent-Daniel Yun, Woosang Lim, Minsoo Cheong, Sunwoo Lee, Murali Annavaram, Sai Praneeth Karimireddy, Sungjoo Yoo· August 5, 2026 View original

Key takeaways

  • KV-cache is a major bottleneck for long-context LLM inference.
  • OptR is an output-aware INT2 quantization method for KV-caches.
  • It minimizes post-$W_O$ attention-output error, improving accuracy.
  • OptR enhances long-context retrieval with negligible inference overhead.

Who benefits

TechCloud ComputingSoftware DevelopmentAI Research

Summary

This paper introduces OptR, an output-aware rotation method for INT2 KV-cache quantization in large language models. OptR minimizes post-output projection attention error, improving both QuaRot and OSCAR methods and strengthening long-context retrieval while preserving paged KV-cache format.

The Key-Value (KV) cache is a significant bottleneck for memory and bandwidth in large language models (LLMs) that handle long contexts, making ultra-low-bit quantization increasingly vital. Existing INT2 quantization methods, which use rotation, typically optimize based on cache statistics or proxy errors before the final attention readout. However, these methods often overlook the error propagation through the attention mechanism and the output projection ($W_O$), which ultimately affects the model's output. To address this, researchers propose OptR, an "output-aware rotation" method that directly minimizes the attention-output error *after* the $W_O$ projection. OptR achieves this by decomposing the post-$W_O$ error into key- and value-induced terms and learning per-head orthogonal corrections across the full INT2 quantization and attention path. Additionally, OptR employs an attention-equivalent key reparameterization to mitigate large channel-wise offsets without altering the softmax distribution. Across various models and benchmarks, OptR consistently outperforms existing methods like QuaRot and OSCAR, enhancing long-context retrieval capabilities while maintaining compatibility with the paged KV-cache format and incurring negligible inference overhead.

Why it matters

AI engineers and researchers working with large language models can leverage OptR to significantly reduce the memory footprint and bandwidth requirements of KV-caches, enabling more efficient and longer-context LLM inference without sacrificing accuracy.

How to implement this in your domain

  1. 1Evaluate current KV-cache quantization strategies for LLM inference, especially for long-context scenarios.
  2. 2Investigate integrating OptR's output-aware rotation method into your LLM quantization pipeline.
  3. 3Implement the decomposition of post-$W_O$ attention-output error and learn per-head orthogonal corrections.
  4. 4Apply attention-equivalent key reparameterization to reduce channel-wise offsets.
  5. 5Benchmark OptR's performance on your LLMs for long-context reasoning and coding tasks, measuring memory, speed, and accuracy.

Original post by Vincent-Daniel Yun, Woosang Lim, Minsoo Cheong, Sunwoo Lee, Murali Annavaram, Sai Praneeth Karimireddy, Sungjoo Yoo

"arXiv:2608.02691v1 Announce Type: new Abstract: The key-value (KV) cache has become a major memory and bandwidth bottleneck in long-context large language model inference, making ultra-low-bit quantization increasingly important. However, existing rotation-based INT2 methods opti…"

View on X

Originally posted by Vincent-Daniel Yun, Woosang Lim, Minsoo Cheong, Sunwoo Lee, Murali Annavaram, Sai Praneeth Karimireddy, Sungjoo Yoo on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses