AWQ's Unique Salient Weight Identification Method

Unlike traditional methods that might assess weight importance by magnitude, AWQ identifies critical 'salient' weights by analyzing the model's *activation distribution*, specifically those connected to high-activation features during inference.

The top 3

  1. Activation Magnitude: AWQ's Salient Weight Metric: AWQ uniquely identifies critical weights by analyzing the *magnitudes of activations* they are multiplied by, rather than the weights themselves. It observes activation distributions on a small calibration dataset, marking channels with consistently large activation values as salient.
  2. Dynamic Range Reduction: AWQ's Scaling Protection: To protect salient weights without resorting to hardware-inefficient mixed precision, AWQ employs per-channel scaling. It calculates a scaling factor for each input channel, effectively shrinking the dynamic range of salient weight groups before uniform low-bit quantization, minimizing error.
  3. Weight-Activation Product: Salience via Impact: AWQ uniquely identifies salient weights not by their individual magnitudes alone, but by calculating the product of a weight and its corresponding input activation, directly quantifying its impact on the layer's output distribution.

Sources

Open the full topic