AWQ's Core: Protecting 1% Salient Weights

Activation-Aware Quantization (AWQ) achieves near FP16 accuracy in INT4 by identifying and preserving approximately 1% of the most critical 'salient' weight channels in full precision, while aggressively quantizing the rest. This targeted approach minimizes information loss crucial for model performance.

The top 3

  1. AWQ's Salient Weight Detection Method: AWQ identifies critical weights by analyzing the magnitude of their corresponding input activations from a small calibration dataset, rather than the weights themselves, prioritizing those interacting with consistently large activation values.
  2. Per-Channel Scaling: AWQ's Precision Trick: AWQ protects salient weights not by using mixed-precision, but by mathematically scaling up critical weight channels before quantization and applying inverse scaling to corresponding input channels during inference, effectively enhancing their precision within a low-bit format.
  3. The Empirical Discovery of 1% Salience: The core observation that protecting only 0.1% to 1% of salient weights can significantly reduce quantization error and maintain near FP16 performance was an empirical finding from early experiments with quantized LLaMA models.

Sources

Open the full topic