Manuscript Offprint

arXiv:2610.29378

Right On Q: Recovering Reasoning under Quantization via Self-Generated Trajectories

Boyuan Zheng, Jing Xiong, Chenwei Wu, Hui Shen, Zesen Zhao, Hei Ting Una Chan, Xueshen Liu, Zhen Zhang, Liyue Shen, Zechun Liu, Z. Morley Mao

ABSTRACT

Quantization-aware training (QAT) aims to recover reasoning capabilities in low-bit large language models (LLMs). Existing recipes typically supervise the quantized student with the original full-precision model on fixed response sequences. However, the resulting low-bit quantized models still struggle on long-horizon reasoning tasks and often fail to terminate within a token budget that suffices for the full-precision model. We identify two challenges in closing this gap. First, fixed-response supervision leaves a mismatch between training prefixes and those encountered during student generation, and this trajectory divergence grows as responses lengthen. Second, on its own prefixes, the student underpredicts some next-token candidates and overpredicts others, and this distributional misalignment becomes more frequent at high-entropy prefixes. We present OnQ, a low-bit recovery pipeline that combines on-policy distillation and candidate-wise Dynamic KL. Starting from block-wise calibration, the quantized student generates responses and receives full-precision teacher supervision on its own prefixes. Dynamic KL weights forward and reverse KL by each candidate's teacher–student probability ratio to balance correction of under- and overprediction. Across Qwen3-1.7B, 4B, and 8B at 2- and 3-bit precision, OnQ achieves the highest nine-benchmark average, with the largest gains on long-horizon reasoning benchmarks. At 2 bits, it outperforms every baseline on every benchmark at every model size, improving the Qwen3-8B average by 10.26 points over the strongest baseline. It also produces shorter responses with fewer truncations and repetitive errors.

1 INTRODUCTION

Low-bit quantization reduces the memory footprint of large language models (LLMs), making their deployment more practical (Frantar et al., 2022; Chen et al., 2025). Preserving reasoning capabilities at low precision remains challenging: prior work reports substantial accuracy loss (Liu et al., 2025) and inefficient generation (Lotfi et al., 2026) in quantized reasoning models. Quantization-aware training (QAT) addresses this loss by adapting model parameters through quantized forward passes, often with supervision from the original full-precision model (Hinton et al., 2015; Liu et al., 2024; Du et al., 2024; Okoshi et al., 2026). These distillation recipes typically train on fixed response sequences. Their effectiveness therefore depends on how well the training prefixes cover those encountered by the quantized student during inference (Agarwal et al., 2024).

To examine the remaining challenges in low-bit reasoning, we analyze Qwen3-1.7B at 2-bit precision (Figure 1). On MATH-500, QAT baselines recover little of the full-precision model's accuracy on questions eliciting long full-precision responses (Figure 1.a). They also frequently reach the token limit on these questions, while the full-precision model terminates within the same budget (Figure 1.b). Fixed-response distillation supervises only reference prefixes, but quantization changes how the student generates: the longer the response, the more the student conditions on its own outputs and the further its context drifts from those prefixes. This trajectory divergence motivates teacher supervision on the student's own trajectories.

†^{\dagger}Corresponding authors.

2^{2}Equal advising.

(a) Long-response recovery

Figure

Full-precision response length (tokens)

(b) Failure to terminate

Full precision

ReasoningQAT

Full-precision response length (tokens)

EfficientQAT

BitDistiller

OnQ

(c) Prediction errors

Student entropy (nats)

Under

Over

Both

Figure 1: Low-bit fixed-response QAT fails on long-horizon reasoning; OnQ outperforms all QAT baselines (Qwen3-1.7B W2). (a) MATH-500 accuracy and (b) share of responses that reach the token limit, grouped by full-precision response length. (c) Share of prefixes with underpredicted candidates, overpredicted candidates, or both, by student entropy.

Training on the student’s own prefixes raises a second challenge: distributional misalignment. On these prefixes, the calibrated student exhibits two-sided probability errors: it substantially underpredicts some candidates and overpredicts others at the same prefix. These two-sided errors become more frequent at high-entropy prefixes (Figure 1.c). Prior work also finds that quantized models oversample overthinking markers at high-entropy positions (Lotfi et al., 2026). Neither Kullback–Leibler (KL) direction alone corrects both sides equally well: forward KL divergence more reliably moves severely underpredicted candidates toward the teacher, while reverse KL does so for severely overpredicted candidates (Section 3.2). This calls for an objective that balances correction across both sides of the distribution.

Motivated by these findings, we introduce OnQ, a low-bit recovery pipeline that combines on-policy distillation (OPD) and candidate-wise Dynamic KL (Jung et al., 2025). Starting from a block-wise calibrated checkpoint, the quantized student generates responses and receives supervision from a frozen full-precision teacher on those same prefixes (Agarwal et al., 2024). Dynamic KL weights forward and reverse KL according to each candidate's teacher-student probability ratio, balancing the correction of under- and overpredicted probabilities along these evolving trajectories. On MATH-500, OnQ recovers more accuracy than every QAT baseline at every response length and rarely reaches the token limit (Figure 1.a–b).

The key contributions of this study are as follows: ① We identify two challenges, trajectory divergence and distributional misalignment, that limit low-bit reasoning recovery. ② We present OnQ, a low-bit recovery pipeline combining on-policy distillation and candidate-wise Dynamic KL. ③ We show that OnQ achieves the highest nine-benchmark average in all six settings spanning Qwen3-1.7B, 4B, and 8B at 2- and 3-bit precision, improving the Qwen3-8B average at 2 bits by 10.26 points over the strongest baseline. It also improves generation behavior, producing shorter responses with fewer repetitive errors, and outperforms fixed-response distillation.

References (60)