The "Salient Weight" Secret to AWQ's Efficiency

AWQ's core innovation is identifying and protecting approximately 1% of 'salient weights'—those multiplied by large activation values—by scaling them to reduce quantization error and preserve critical model performance, without needing retraining.

The top 3

  1. AWQ's Salience Secret: Activation Magnitude Dictates Criticality: AWQ identifies salient weights not by their own values, but by observing the magnitudes of the activations they interact with using a small calibration dataset. Channels consistently exhibiting large activation values are deemed more critical, typically comprising a mere 1% of total channels in a transformer layer.
  2. Scaling Strategy: How AWQ Protects Critical Weights: Instead of using hardware-inefficient mixed precision, AWQ protects salient weights by applying a per-channel scaling factor greater than one *before* quantization. This effectively expands their values, giving them more 'effective precision' relative to rounding errors. An inverse scaling is then applied to the corresponding input activations during inference to maintain mathematical equivalence.
  3. AWQ's Perplexity Advantage: Outperforming Other 4-bit Methods: By prioritizing and preserving critical 'salient weights,' AWQ significantly reduces perplexity, achieving near-FP16 performance even at 4-bit precision and consistently outperforming traditional methods like Round-to-Nearest (RTN) and often GPTQ on LLMs.

Sources

Open the full topic