AWQ's Activation-Driven Saliency Identification

AWQ identifies critical "salient" weight channels by analyzing the magnitude of their corresponding input activations from a small calibration dataset, deeming channels with high-magnitude activations as more important for preserving model performance.

The top 3

  1. AWQ's Max Activation Saliency Metric: AWQ identifies salient weights by observing activation magnitudes from a small calibration dataset, typically using the maximum absolute value or a high percentile of activations for each input channel to a weight matrix. Channels that consistently exhibit large activation values are deemed critical for model performance.
  2. Activation-Driven vs. Weight-Magnitude Saliency: Unlike traditional quantization methods that rank importance based on weight magnitude, AWQ's activation-driven approach prioritizes weights whose quantization error is most detrimental. This occurs when weights are multiplied by consistently large activation values, making their precise representation more critical for preserving the model's overall function.
  3. AWQ's Critical 1% Salient Weights & Calibration: AWQ identifies that preserving the precision of a small fraction, typically 0.1% to 1%, of weight channels, referred to as 'salient weights,' can significantly reduce quantization error. This identification is achieved by collecting activation statistics using a small calibration dataset, without requiring complex retraining or backpropagation.

Sources

Open the full topic