TL;DR
Long chain-of-thought (CoT) reasoning models generate thousands of tokens per query, creating a massive inference bottleneck. This paper presents the first comprehensive empirical study of post-training quantization on open reasoning models (1.5B to 70B parameters), showing that 8-bit weight-activation (W8A8KV8) and 4-bit weight-only (W4A16) or KV cache quantization remain virtually lossless. However, sub-4-bit weights and 4-bit activations cause steep accuracy drops—especially on complex math and smaller architectures.
What Problem Does This Paper Address?
Reasoning models like DeepSeek-R1 and QwQ achieve state-of-the-art results on difficult benchmarks by "thinking" before answering. However, their prolonged chain-of-thought outputs dramatically increase latency and memory consumption.
Post-training quantization (PTQ) reduces weights, activations, and KV cache footprints to low-bit integers, but it was primarily designed and benchmarked for standard, short-output LLMs. Because reasoning models depend on sequential multi-step logic, researchers feared that quantization error would compound across thousands of generation steps, causing models to derail, loop endlessly, or lose logical coherence. This paper systematically evaluates whether—and where—quantization hurts reasoning.
Methods
The authors evaluate several popular post-training quantization strategies across different target components:
- Weight-Only Quantization: Evaluates AWQ and GPTQ at 3-bit and 4-bit precisions with asymmetric grouping (group size 128).
- KV Cache Quantization: Evaluates QuaRot (per-token asymmetric) and a simplified KVQuant* baseline (pre-RoPE per-channel for Keys, per-token for Values).
- Weight-Activation Quantization: Evaluates SmoothQuant (8-bit), QuaRot (4-bit), FlatQuant (learnable Kronecker transformations and clipping), and hardware-friendly MXFP4 (microscaling FP4 format).
Evaluated Models: DeepSeek-R1-Distill-Qwen (1.5B, 7B, 14B, 32B), DeepSeek-R1-Distill-LLaMA (8B, 70B), QwQ-32B (trained via reinforcement learning), and Qwen3-8B.
Datasets
The authors evaluated quantized models across diverse reasoning domains:
- Mathematics: AIME-120 (120 competition problems spanning 2022–2025), MATH-500 (stratified across 5 difficulty levels), and GSM8K (elementary arithmetic).
- Coding: LiveCodeBench (recent, contamination-free programming problems).
- Science / Proofs: GPQA-Diamond (graduate-level multidisciplinary QA).
- Calibration Sets: Evaluated pre-training data (WikiText2, The Pile) against domain-specific reasoning data self-generated from Numina-Math-1.5.
Key Insights and Ideas
- Lossless Baselines Exist: 8-bit weight-activation (W8A8KV8) and 4-bit weight-only (W4A16) consistently maintain baseline performance ($\le 1\%$ accuracy drop) across all model sizes. 4-bit KV cache is also essentially lossless for models $\ge 14\text{B}$.
- Task Difficulty Amplifies Degradation: Simple tasks hide quantization flaws. On the 32B model with W4A4KV4, GSM8K shows a 0.0% drop, MATH-500 drops 1.2%, and the grueling AIME-120 competition drops 3.9%. Harder tasks expose accumulated errors up to $4\times$ more severely.
- Quantized Models Do Not "Overthink": Contrary to expectations, models with mild quantization do not compensate by generating longer CoT reasoning paths. Output length closely mirrors BF16 baselines. Output bloat only occurs when models suffer severe accuracy collapse under aggressive sub-4-bit regimes on small models.
- RL vs. Distillation Training Shapes Precision Tolerance: Even when built on identical base architectures, training dynamics alter sensitivity. SFT-distilled DeepSeek-R1-Distill-Qwen-32B is more robust to KV cache quantization, whereas RL-trained QwQ-32B is more resilient to weight and activation quantization.
- Hidden Outliers in Qwen Biases: Qwen-1.5B and 7B fail catastrophically under QuaRot's per-token KV cache quantization due to massive bias values in key projections (up to 402). Applying per-channel quantization before adding the projection bias (
+Pre_bias) resolves this breakdown. - Calibration Domain Matters for Error-Compensating Methods: Methods that iteratively update weights (like GPTQ) suffer under domain shift, dropping 9.8% when calibrated on WikiText2 instead of reasoning data. In contrast, AWQ and FlatQuant rely on channel-magnitude statistics and remain robust.
Key Results
- Weight-Only: AWQ 4-bit is near-lossless (0.4% average drop on R1-Distill-Qwen-32B), but dropping to 3-bit causes severe drops (-3.9% on 32B, -7.6% on 1.5B).
- KV Cache: 4-bit KV cache reduces memory pressure with virtually no penalty on 14B and 32B models (-0.1% to -0.3%), even on sequence lengths exceeding 10,000 tokens. 3-bit degrades accuracy noticeably (-2.4% to -5.8%).
- 4-bit Weight-Activation (W4A4KV4): FlatQuant clearly outperforms rivals on R1-Distill-Qwen-32B (2.9% drop), compared to QuaRot (5.9% drop) and MXFP4 (11.8% drop).
- Scaling Laws Favor Larger Low-Bit Models: A 3-bit quantized 32B model occupies roughly the same memory (~14.5 GB) as a full-precision 7B model, yet outperforms the 7B BF16 model by approximately 17% on LiveCodeBench.
Limitations and Future Work
- Small Model Sensitivity: Sub-4-bit weights and W4A4KV4 activations remain heavily degraded on models under 14B (e.g., >10% drops on 1.5B and 7B).
- Test-Time Scaling Saturation: While forcing longer reasoning tokens initially improves quantized model performance, gains saturate and decay faster than in full-precision baselines due to error accumulation.
- Theoretical Gap: The precise mechanistic reason why reinforcement-learning-tuned models display different intermediate representation geometries compared to distilled models remains unexplained.
Summary updated