Understanding LLM Quantization through Activation-Guided Compensation and Orthogonal Residuals
Abstract
Post-training weight-activation quantization reduces the memory and inference costs of large language models, but aggressive W4A4 quantization remains difficult because activation outliers degrade effective quantization resolution. Although weight optimization, channel-wise scaling, and orthogonal rotation mitigate this problem, the error components they address and their relationship remain unclear. Using an exact decomposition of local weight-activation quantization error into an activation-guided weight compensation term and an orthogonal residual, we bound the residual using persistent channel-wise outlier and regular activation quantities. This decomposition clarifies which error components can be addressed by weight compensation and which require transformation design. We then use the residual bounds to derive practical guidelines for randomized Hadamard rotation, sign-based probability amplification, and channel scaling. In particular, the analysis explains how random signs suppress constructive interference among persistent outlier channels and how probability amplification through independent sign randomization tightens the high-probability bound on the minimum outlier term across sign configurations. It also shows how second-moment balancing leads to an scaling rule while a further relaxation recovers SmoothQuant-style scaling. We evaluate these guidelines through backpropagation-free configurations across eight Llama and Mistral models, obtaining performance competitive with gradient-trained SpinQuant.
est. 32% chance this paper gets accepted at ICLR 2027.
What do you think this paper will get?
All positions stay anonymous.