Dissecting Quantization Error: A Concentration-Alignment Perspective
cs.LG, cs.AI
Submitted: 2026-03-04
Updated: 2026-10-05
Code: https://github.com/Qualcomm-AI-research/concentration_alignment_transforms
License: http://creativecommons.org/licenses/by/4.0/
The gist: Quantization can drastically increase the efficiency of large language and vision models, but typically incurs an accuracy drop.
Terminology
Abstract
Quantization can drastically increase the efficiency of large language and vision models, but typically incurs an accuracy drop. Recently, function-preserving transforms (e.g. rotations, Hadamard transform, channel-wise scaling) have been successfully applied to reduce post-training quantization error, yet a principled explanation remains elusive. We analyze linear-layer quantization via the signal-to-quantization-noise ratio (SQNR), showing that for uniform integer quantization at a fixed bit width, SQNR decomposes into (i) the concentration of weights and activations (capturing spread and outliers), and (ii) the alignment of their dominant variation directions. This reveals an actionable insight: beyond concentration - the focus of most prior transforms (e.g. rotations or Hadamard) - improving alignment between weight and activation can further reduce quantization error. Motivated by this, we introduce block Concentration-Alignment Transforms (CAT), a lightweight linear transformation that uses a covariance estimate from a small calibration set to jointly improve concentration and alignment, approximately maximizing SQNR. Experiments across several LLMs show that CAT consistently matches or outperforms prior transform-based quantization methods at 4-bit precision, confirming the insights gained in our framework.
Sources
- KurTail : Kurtosis-based LLM Quantization
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- The Llama 3 Herd of Models
- DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs
- OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Models
- Massive Activations in Large Language Models
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebooks
- FPTQuant: Function-Preserving Transforms for LLM Quantization
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- HellaSwag: Can a Machine Really Finish Your Sentence?
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks