AWQ's Strategic Protection of 'Salient' Weights
Activation-Aware Quantization (AWQ) exploits this principle by identifying a small fraction (e.g., 0.1% to 1%) of 'salient' weight channels whose corresponding input activations have the largest magnitudes. By protecting these critical weights, AWQ significantly reduces quantization error without needing full mixed-precision quantization.
The top 3
- AWQ's Accuracy Dominance: Outperforming GPTQ at 4-bit: AWQ consistently achieves lower perplexity (e.g., ~5.40 vs ~5.50+ on WikiText-2) and higher benchmark scores (e.g., ~83% vs ~81–82% on MMLU) for 4-bit LLMs compared to GPTQ, attributed to its strategic protection of salient weights.
- Per-Channel Scaling: AWQ's Hardware-Friendly Protection: AWQ protects salient weights not by mixed-precision, but by applying optimal per-channel scaling factors that amplify their values before uniform low-bit quantization. This strategy, coupled with inverse scaling of activations during inference, preserves output without introducing hardware inefficiencies.
- Activation Magnitude: The Superior Saliency Indicator: AWQ's core insight is that activation magnitude, not weight magnitude, better identifies critical 'salient' weights. This is because quantization errors are amplified when weights interact with large activation values, making the precise representation of weights connected to high-magnitude activations more crucial for overall model output.
Sources
Open the full topic