Activation-Aware Scaling Minimizes Quantization Error
Quantization error in weight-only methods is directly proportional to the input activation magnitude; by strategically scaling weight channels based on their observed activation statistics, AWQ effectively reduces this error and preserves model integrity.
The top 3
- Per-Channel vs. Per-Tensor: The Granularity of Quantization Accuracy: Per-channel scaling significantly reduces quantization error compared to per-tensor methods by applying distinct scaling factors to each channel, adapting to varied data ranges and mitigating the impact of outliers for greater accuracy.
- AWQ's Strategic Protection: How 1% Salient Weights Drive Accuracy: Activation-Aware Weight Quantization (AWQ) minimizes error by identifying a small subset (around 1%) of 'salient' weight channels based on activation magnitudes and applying per-channel scaling to protect them before quantization, outperforming some complex methods with simpler math.
- Dynamic Range Quantization: Adapting Scales for Reduced Activation Error: Dynamic range quantization minimizes error by calculating scaling factors for activations on-the-fly during inference, allowing models to adapt to varying input data distributions and achieve lower error rates than static, pre-calibrated methods.
Sources
Open the full topic