Outlier-Aware Quantization: Top 3 Strategies for Error-Prone Values
Extreme weight values (outliers) disproportionately cause quantization error; techniques like adaptive clipping, hybrid precision for outliers, or dedicated outlier quantization mitigate this by treating them specially.
The top 3
- SpQR: High-Precision Storage for Critical Outlier Weights: Sparse-Quantized Representation (SpQR) identifies and isolates outlier weights that cause particularly large quantization errors, storing them in higher precision while compressing all other weights to 3-4 bits, achieving near-lossless LLM compression.
- SmoothQuant: Migrating Activation Outliers to Weights: SmoothQuant tackles challenging activation outliers by transforming activations and weights; it scales activation values down and corresponding weights up, effectively migrating the quantization difficulty from dynamic activations to more manageable weights.
- OffQ: Taming Activation Outliers with Offsetting: OffQ mitigates activation outliers by identifying a low-dimensional outlier subspace, concentrating high-magnitude activations into one channel via rotation, and then absorbing this channel by converting its magnitude into a shared offset, enabling robust W4A4KV4 quantization.
Sources
Open the full topic