QuantLRM: Quantization of Large Reasoning Models via Fine-Tuning Signals
Nan Zhang, Eugene Kwek, Yusen Zhang, Muyu Pan, Suhang Wang, Prasenjit Mitra, Rui Zhang
TL;DR
QuantLRM proposes using fine-tuning traces, specifically weight-update signals from reasoning-focused training, to guide weight-only post-training quantization of large reasoning models. It defines channel importance via a novel two-ended, restricted-quadratic mapping that emphasizes both the smallest and largest weight updates, augmented by counting zero updates, and injects this signal into AWQ-style scaling with an exponent α optimized to minimize a quantization loss. Across SFT, DPO, and RL-finetuned LRMs on four reasoning benchmarks, QuantLRM delivers state-of-the-art 3-bit quantization performance, with notable gains on RL tasks (average ~6.55%) and meaningful improvements on other fine-tuning regimes, while maintaining a small calibration set and compatibility with existing inference engines. The method also demonstrates applicability when pre-finetuned checkpoints are unavailable via pseudo-fine-tuning and shows modest offline cost with comparable inference speed to baselines, highlighting the practical impact of leveraging fine-tuning dynamics for efficient model compression.
Abstract
Weight-only quantization is important for compressing Large Language Models (LLMs). Inspired by the spirit of classical magnitude pruning, we study whether the magnitude of weight updates during reasoning-incentivized fine-tuning can provide valuable signals for quantizing Large Reasoning Models (LRMs). We hypothesize that the smallest and largest weight updates during fine-tuning are more important than those of intermediate magnitude, a phenomenon we term "protecting both ends". Upon hypothesis validation, we introduce QuantLRM, which stands for weight quantization of LRMs via fine-tuning signals. We fit simple restricted quadratic functions on weight updates to protect both ends. By multiplying the average quadratic values with the count of zero weight updates of channels, we compute channel importance that is more effective than using activation or second-order information. We run QuantLRM to quantize various fine-tuned models (including supervised, direct preference optimization, and reinforcement learning fine-tuning) over four reasoning benchmarks (AIME-120, FOLIO, temporal sequences, and GPQA-Diamond) and empirically find that QuantLRM delivers a consistent improvement for LRMs quantization, with an average improvement of 6.55% on a reinforcement learning fine-tuned model. Also supporting non-fine-tuned LRMs, QuantLRM gathers effective signals via pseudo-fine-tuning, which greatly enhances its applicability.
