1D Per-Channel Scaling: Protecting Salient Weights

AWQ's 1D scaling optimizes quantization for each output channel, effectively giving more precision to the crucial ~1% of weights identified by high activation magnitudes, thereby minimizing rounding error and preserving model performance.

The top 3

  1. AWQ's 1% Salient Weights: Activation-Driven Selection: AWQ identifies the top 1% of weights as 'salient' by analyzing the magnitude of their corresponding input activations, rather than the weights themselves. This activation-aware approach ensures that the most critical weights, which significantly impact output, receive prioritized precision during 1D per-channel scaling.
  2. 1D Per-Channel Scaling's Accuracy Edge Over Per-Tensor: 1D per-channel scaling significantly improves accuracy over per-tensor quantization by applying a unique scaling factor to each output channel. This granular approach better accommodates the varying value distributions across channels, effectively isolating outliers and preserving critical information for higher fidelity in low-bit LLMs.
  3. Per-Channel Scaling's Adaptive Precision for Varied Weights: By applying distinct quantization scales to each output channel, 1D per-channel scaling optimally adapts to the varied dynamic ranges and distributions of weights across different channels, enhancing precision where it matters most for model accuracy.

Sources

Open the full topic