Post-training quantization (PTQ) methods for large language models compress pretrained weights to low bit-widths without retraining by optimizing layer-local proxy objectives. Activation-aware scaling methods such as AWQ protect input channels with large activation norms, whereas second-order error-compensation methods such as GPTQ redistribute rounding error using the inverse of the unweighted input covariance matrix. We show that both paradigms -- along with diagonal Fisher quantization, block reconstruction, and Hadamard rotation methods -- are special cases of minimizing a single loss-derived quadratic form governed by gradient-weighted activation sensitivity. From a Gauss-Newton expansion of the task loss at a linear layer Y=XW⊤, we prove that under isotropic output curvature the expected excess loss from weight perturbation ΔW reduces to 2dout1Tr(ΔWHDΔW⊤), where HD=n1X⊤DX weights each calibration token's outer product by its squared output-gradient norm Dtt=∥∇ytL∥22. Within this framework, AWQ corresponds to a diagonal approximation of HD with uniform token weights (D=In) optimized via channel scaling, while GPTQ corresponds to Cholesky error compensation on HD under D=In. We derive closed-form optimal scaling exponents for diagonal sensitivity protection, formulate sensitivity-weighted Cholesky quantization (SAQ-GPTQ) on HD, and prove bounds on token-gradient heterogeneity bias, cross-layer error amplification across residual blocks, and finite-sample calibration concentration. Controlled numerical simulations confirm that under token-gradient heterogeneity, replacing X⊤X with X⊤DX preserves >99% top-channel saliency recall and reduces INT3/INT4 excess loss by roughly 3× over unweighted GPTQ.
Figures & tables
Figure 1: Hierarchy of post-training quantization proxy objectives derived from the Kronecker-factored Gauss–Newton Hessian HW (Theorem 2.1 ). Each arrow labels the exact simplifying assumption connecting a parent sensitivity metric to a child proxy.
Method Family
Sensitivity Metric
Token Dtt
Off-Diag
Mechanism
RTN (Baseline)
Idin (Uniform)
None ( 0 )
Ignored
Per-group rounding
AWQ [ 3 ]
diag(n1X⊤X)
Uniform ( 1 )
Ignored
Scaling sj=(αjact)γ
SmoothQuant [ 8 ]
maxt∣Xt,j∣γmaxi∣Wij∣1−γ
Uniform ( 1 )
Ignored
W/X scale migration
OBC / GPTQ [ 14 , 2 ]
n1X⊤X+λI
Uniform ( 1 )
Cholesky
Sequential OBS update
QuIP / QuIP# [ 16 , 17 ]
U⊤(n1X⊤X)U
Uniform ( 1 )
Cholesky
Rotation + lattice/OBS
BRECQ [ 24 , 26 ]
Jblk⊤Jblk
Block-local
Intra-block
Block reconstruction
Table 1: Unification of representative post-training quantization paradigms within the activation sensitivity framework of Theorem 2.1 and Proposition 3.1 .
Figure 2: Channel saliency prediction accuracy as a function of token-gradient heterogeneity σg∈[0,2.0] . Left: Spearman rank correlation ρS with true channel excess loss ΔLj . Right: Recall of the top 10% most loss-sensitive channels. At σg=0 (uniform token gradients), AWQ and SAQ coincide; as σg increases, unweighted activation magnitude suffers severe rank bias (Proposition 4.1 ), whereas gradient-weighted activation sensitivity (HD)jj maintains ρS≥0.9996 and recall ≥99.4% .
INT4 ( b=4 )
INT3 ( b=3 )
Method
Sensitivity Proxy
Excess Loss ↓
Recon. MSE
Excess Loss ↓
Recon. MSE
RTN
None ( Idin )
1.0000
1.0000
1.0000
1.0000
AWQ [ 3 ]
diag(n1X⊤X)
0.8114
0.8109
0.8192
0.7780
SAQ-Scale (Ours)
diag(n1X⊤DX)
0.6650
1.2728
0.6610
1.2268
GPTQ [ 2 ]
n1X⊤X+λI
0.1714
0.1698
0.1943
0.1971
SAQ-GPTQ (Ours)
n1X⊤DX+λI
0.0535
0.7120
0.0694
0.6877
Table 2: Relative excess loss Tr(ΔWHDΔW⊤) and unweighted layer output reconstruction MSE n1∥XΔW⊤∥F2 (both normalized to RTN =1.0000 , averaged over 20 trials) for INT4 and INT3 quantization.
Post-training quantization (PTQ) methods in the GPTQ family minimize a layer-wise reconstruction error on a uniform grid whose scale must be chosen; the common max-based choice degrades sharply at low bit-widths. We study how sensitive this objective is to the scale. For a layer with i.i.d. Gaussian weights and calibration activations of sufficiently large effective rank, we prove that, as the width grows, the normalized round-to-nearest loss converges with high probability, uniformly over all scales, to the mean-squared error of a uniform quantizer applied to a standard Gaussian; we verify the effective-rank condition for wide, randomly initialized MLPs with odd Lipschitz activations and isotropic Gaussian calibration data. The limiting objective has a unique nondegenerate minimizer, whose scale decreases strictly with the number of levels and whose curvature with respect to relative scale errors decays approximately exponentially with the bit-width. GPTQ experiments on five LLMs show the same trend: the scale rule changes perplexity substantially at 2--3 bits and negligibly from 6 bits on, and a local measure of GPTQ scale sensitivity decreases with bit-width in line with the Gaussian curvature. The Gaussian-optimal scale fails on raw weights; after Hadamard incoherence processing it matches the best searched rule at 3 bits and above without any search, but remains clearly worse at 2 bits.
Jonas von Berg, Massimiliano Datres, Carlo Kneißl +1
Ludwig-Maximilians-Universität München Munich Center for Machine Learning (MCML) Konrad Zuse School of Excellence in Reliable AI (DAAD) · University of Tromso, DLR-German Aerospace Center
Multimodal large language models (MLLMs) require huge memory and computational costs, which limits their practical deployment. Post-training quantization (PTQ) techniques offer an efficient solution for model compression and inference acceleration. Yet, the quantized model faces performance degradation due to outlier channels, which are highly sensitive to quantization and substantially impair activation fidelity and task accuracy. To protect these salient channels during quantization, existing PTQ methods leverage modality- or token-level metrics to guide channel-wise scaling (CWS) of LLM decoders. However, these orthogonal measurements fail to capture channel-wise impacts on task-specific loss, and the misalignment between importance and scaling factors ultimately leads to suboptimal performance. To address this issue, we propose C-PTQ, a unified channel-wise PTQ method that harmonizes task-specific loss perturbation and quantization error. Motivated by second-order derivatives, we design a Fisher-weighted objective as a tractable Hessian approximation, seamlessly injecting task sensitivity into the scaling process. Notably, we achieve state-of-the-art performance without auxiliary modules like LoRA, thereby maintaining high efficiency. Experiments on Qwen2.5VL, InternVL2 and LLaVA-OV across 8 benchmarks demonstrate our effectiveness in both weight-only and weight-activation settings.
Post-training quantization (PTQ) compresses large language models by mapping weights to low-bit representations. While much work has focused on how weights are rounded onto the quantization grid, the scaling factor that defines the grid is typically chosen with simple, data-free heuristics. We observe that, under round-to-nearest (RTN) quantization, the grid assignments are piecewise constant in the scale, making the output reconstruction error piecewise quadratic over finitely many intervals, each admitting a closed-form optimization. Building on this insight, we present PiSO (Piecewise Scale Optimization), an algorithm that leverages calibration data to efficiently select channel-wise scales to achieve globally optimal output reconstruction error to arbitrary accuracy. We extend PiSO to group-wise quantization via tractable objectives. We also propose strategies for integrating it with error-correction methods such as GPTQ and Qronos, which greedily adjust weight assignments to compensate for the rounding errors of previously quantized weights. Experiments on Llama and Qwen models across multiple sizes and bit-widths show consistent improvements in perplexity and zero-shot accuracy, both standalone and combined with error correction, with gains increasing as the bit-width narrows. For instance, on Llama-3, PiSO reduces the 2-bit perplexity of Qronos by up to 7x, and at 3 bits, PiSO without error correction outperforms GPTQ with absmax scales.
Juan Amboage, Pablo Monteagudo-Lago, Ian Colbert +2