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.
The top 3
- AWQ's Top 3 Salient Weight Identification Methods: AWQ identifies the critical 1% of weights by analyzing the magnitude of input activations they interact with, not the weights themselves, using a small calibration dataset. It prioritizes channels consistently exhibiting the largest activation values, as errors in these are amplified in the output.
- AWQ's Strategic Scaling: Protecting Salient Weights: To 'protect' the identified salient weights, AWQ applies a per-channel scaling factor to them, effectively increasing their dynamic range before quantization. This makes them more distinguishable in low-bit formats, and the inverse scaling is applied to activations during inference, preserving accuracy without needing mixed-precision storage.
- AWQ's Accuracy Edge: Beating GPTQ & RTN: AWQ consistently delivers superior accuracy in low-bit (e.g., INT4) quantization compared to basic post-training methods like Round-to-Nearest (RTN), often achieving 1-3% quality degradation versus RTN's 4-6% and GPTQ's 2-4%. This allows AWQ-quantized models to closely approach the performance of their original FP16 counterparts while halving VRAM usage and offering 1.5-3x faster inference.
Sources
Open the full topic