Manuscript Offprint

arXiv:2610.11226

When Lower Reconstruction Loss Hurts: Distributionally Robust Refinement for Low-Bit LLM Quantization

Yanlong Zhao, Xiaoyuan Cheng, Huihang Liu, Baihua He, Xinyu Zhang, Harrison Bo Hua Zhu, Wenlong Chen, Li Zeng, Zhuo Sun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Weight-only post-training quantization (PTQ) relies heavily on reconstruction loss minimization to preserve model quality at low precision. We show that the weights favored by minimizing this loss need not yield better model performance on new tasks. In fact, we find that lower reconstruction loss can even degrade model performance on the same calibration data. Our analysis further shows that weights with lower reconstruction loss on calibration data can have higher loss than other weights when the distribution of input activations changes. Motivated by these observations and our analysis, we propose Distributionally Robust Quantization (DRQ), a post-hoc refinement process that minimizes worst-case reconstruction loss over a constrained set of input activation distributions. DRQ refines the integer codes representing quantized weights within the existing quantization grid, keeping quantization parameters and inference operators unchanged. Extensive experiments show that DRQ improves models quantized by six representative PTQ methods, including AWQ, GPTQ, and ParoQuant, and delivers gains across both dense and mixture-of-experts large language models. These results establish DRQ as a general post-hoc refinement framework for weight-only PTQ, achieving better downstream performance without adding inference overhead.

1 INTRODUCTION

Large language models (LLMs) have demonstrated strong capabilities in language understanding, reasoning, and code generation (OpenAI et al., 2023; Grattafori et al., 2024; Chen et al., 2021; DeepSeek-AI, 2026). Their increasing memory footprint and bandwidth demands, however, make deployment costly on resource-constrained devices. Weight-only post-training quantization (PTQ) addresses this problem by compressing pretrained weights into low-bit formats such as INT4 while retaining the original activation precision. It reduces weight storage and memory traffic to accelerate memory-bound autoregressive decoding (Frantar et al., 2023; Lin et al., 2024; Ashkboos et al., 2024).

Most weight-only PTQ methods rely on minimizing reconstruction loss on calibration data to preserve model quality (Frantar et al., 2023; Lin et al., 2024; Shao et al., 2024; Tseng et al., 2024; Li et al., 2025; Sun et al., 2025; Liang et al., 2026). For a linear layer, this means matching the output of the quantized weights to that of the full-precision weights on the calibration data,

min⁡W^∈QL(W^),L(W^)=1n∥W^X−WX∥F2,(1)\min_{\widehat{\mathbf{W}}\in\mathcal{Q}}\mathcal{L}(\widehat{\mathbf{W}}),\qquad\mathcal{L}(\widehat{\mathbf{W}})=\frac{1}{n}\left\|\widehat{\mathbf{W}}\mathbf{X}-\mathbf{W}\mathbf{X}\right\|_{\mathrm{F}}^{2}, \tag{1}

where W and W^\widehat{W} denote the full-precision and quantized weights, respectively, the quantization grid Q denotes the set of all possible quantized weights, and X denotes the associated input activations of

∗^{*}Equal Contribution: Yanlong Zhao, Xiaoyuan Cheng and Huihang Liu.

†^{\dagger}Correspondence Author. Correspondence to Zhuo Sun.

(a) On calibration data

Figure

Lower reconstruction loss can increase model PPL on the same calibration data.

(b) On held-out data

Lower reconstruction loss on calibration data can increase model PPL on held-out data.

(c) DRQ refinement

DRQ accepts slightly higher reconstruction loss and lowers PPL on held-out C4 data.

Figure 1: Lower reconstruction loss need not improve quantized model performance. Results are from Llama-3.2-1B-Instruct with 3-bit quantization. (a) Among 32 modifications to AWQ-quantized weights, 18 reduce reconstruction loss but increase model PPL on the same WT2 calibration data. (b) Among 560 modified weight matrices per method that reduce reconstruction loss on calibration data, 413 (73.8%) for AWQ and 264 (47.1%) for GPTQ increase model PPL on held-out WT2 data. (c) Further minimizing reconstruction loss increases held-out C4 PPL by 0.69%, whereas DRQ accepts slightly higher reconstruction loss on calibration data and lowers C4 PPL by 0.32%. Each evaluation modifies one linear layer, keeping all other weights fixed. In (a,c), reconstruction loss is divided by its initial value, and PPL changes are relative to the initial quantized model.

the calibration data. Methods differ in how they minimize this loss. For example, GPTQ compensates for rounding errors (Frantar et al., 2023), AWQ searches for scaling and clipping parameters (Lin et al., 2024), and ParoQuant learns transformations (Liang et al., 2026).

We show that reducing reconstruction loss on calibration data can degrade the performance of the quantized model. We first quantize Llama-3.2-1B-Instruct with 3-bit AWQ using WikiText-2 (WT2) (Merity et al., 2017) as the calibration dataset. Starting from the weights quantized by AWQ, we further optimize one linear layer at a time to reduce reconstruction loss on the calibration data. Specifically, we search over the integer codes representing its weights, while keeping the scales, zero points, and all other layers' weights fixed. We repeat this procedure at 16 layers of the model using two different calibration sets sampled from WT2, producing 32 modified weight matrices. In 18 of 32 cases, the modified weights yield lower reconstruction loss but higher model perplexity (PPL) on the same calibration data (Figure 1a). This mismatch also extends to held-out data. In a separate experiment, we examine all 112 linear layers of Llama-3.2-1B-Instruct quantized with 3-bit AWQ. For each layer, we test integer-code replacements while keeping the scales and zero points fixed. In each row of the weight matrix, we retain the single-code change that most reduces reconstruction loss on calibration data. We sort these changes from the largest loss reduction to the smallest. Starting from the original quantized weights each time, we create five modified weight matrices by applying the top 1/256, 1/128, 1/64, 1/32, and 1/16 of the changes in this list, respectively. This finally yields 560 modified weight matrices, all with lower reconstruction loss on the calibration data than the corresponding original quantized weights. We then evaluate each matrix by replacing only the corresponding layer's weights and measuring model PPL on WT2 data reserved for evaluation. Of these 560 replacements, 413 (73.8%) increase PPL relative to the initial quantized model.

These results expose a mismatch between reducing reconstruction loss on calibration data and improving the performance of the quantized model. Ideally, minimizing reconstruction loss brings the outputs of quantized layers closer to those of their full-precision counterparts on calibration data. Yet this closer match need not generalize to other datasets or improve model performance even on the same calibration data. Optimizing reconstruction loss alone can therefore degrade the performance of the quantized model.

To figure out this problem, we study how this loss depends on the input activations observed during calibration. For example, when an input channel of a linear layer stays close to zero, even large differences between the quantized and full-precision weights in the corresponding column can have little effect on the layer outputs. Yet new data could produce larger activations in this channel, so the same weight differences can cause larger output differences and thus higher reconstruction loss. Our analysis identifies when a quantized weight matrix with lower reconstruction loss on calibration data can have higher loss than another under constrained changes in the distribution of input activations (Theorem 3.1).

Motivated by this analysis, we propose Distributionally Robust Quantization (DRQ), a general refinement framework for weight-only PTQ. DRQ minimizes the worst-case reconstruction loss over a set of input activation distributions, with constraints on how these distributions differ from the calibration distribution. This objective combines reconstruction loss on calibration data with its largest possible increase under these constraints. A real illustrative example in Figure 1c shows that further minimizing reconstruction loss on calibration data increases model PPL on held-out C4. DRQ instead accepts a small increase in reconstruction loss on calibration data and lowers PPL on held-out C4 relative to the initial model quantized by AWQ. The resulting quantized weights therefore perform better on data not used for calibration. DRQ updates the integer codes of quantized weights while keeping the bit width, grouping, scales, zero points, and inference operators unchanged. All refinement is offline, so DRQ adds no inference overhead.

Contributions. We uncover a counterintuitive phenomenon in weight-only PTQ. Lower reconstruction loss on calibration data does not necessarily lead to better performance of the quantized model, even on the same data. Motivated by this finding, we analyze how changes in input activation distributions affect reconstruction loss. This analysis leads to DRQ, which refines quantized weights by minimizing the worst-case reconstruction loss over a constrained set of input activation distributions. DRQ updates the integer codes representing quantized weights while preserving the quantization format and inference operators, so these improvements add no inference overhead. Experiments show that DRQ improves models quantized by six representative PTQ methods, with gains across both dense and mixture-of-experts (MoE) architectures.

References (77)