Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MixKVQ: Query-Aware Mixed-Precision KV Cache Quantization for Long-Context Reasoning

About

Long Chain-of-Thought (CoT) reasoning has significantly advanced the capabilities of Large Language Models (LLMs), but this progress is accompanied by substantial memory and latency overhead from the extensive Key-Value (KV) cache. Although KV cache quantization is a promising compression technique, existing low-bit quantization methods often exhibit severe performance degradation on complex reasoning tasks. Fixed-precision quantization struggles to handle outlier channels in the key cache, while current mixed-precision strategies fail to accurately identify components requiring high-precision representation. We find that an effective low-bit KV cache quantization strategy must consider two factors: a key channel's intrinsic quantization difficulty and its relevance to the query. Based on this insight, we propose MixKVQ, a novel plug-and-play method that introduces a lightweight, query-aware algorithm to identify and preserve critical key channels that need higher precision, while applying per-token quantization for value cache. Experiments on complex reasoning datasets demonstrate that our approach significantly outperforms existing low-bit methods, achieving performance comparable to a full-precision baseline at a substantially reduced memory footprint.

Tao Zhang, Ziqian Zeng, Hao Peng, Huiping Zhuang, Cen Chen• 2025

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningMATH 500--
106
Long-context UnderstandingLongBench (test)
Avg Score53.71
80
Question AnsweringGPQA Diamond
Pass@145.45
49
Code GenerationLiveCodeBench
Pass@120.33
37
Mathematical ReasoningAIME 2024, 2025
Accuracy (pass@1)65
24
Mathematical ReasoningMATH 500
Accuracy (pass@1)94
24
Code GenerationLiveCodeBench Jan-Apr 2025
Accuracy (pass@1)45.05
24
Scientific ReasoningGPQA Diamond
Accuracy (pass@1)60.1
24
Mathematical ReasoningAIME 2024, 2025
Accuracy (pass@1)40
8
Showing 9 of 9 rows

Other info

Follow for update