Dense-and-Sparse Decomposition for Outlier Handling

The second core component, Dense-and-Sparse decomposition, efficiently stores critical outlier and sensitive weight values in a sparse, full-precision format, allowing the remaining dense weights to be heavily quantized without compromising model accuracy.

The top 3

  1. Why Outliers Break Low-Bit LLM Quantization: Extreme outliers in LLM weights significantly inflate the overall quantization range, forcing standard methods to use a larger step size that severely degrades precision for the majority of values, leading to catastrophic accuracy loss in low-bit models.
  2. SqueezeLLM's Dual-Component Outlier Strategy: SqueezeLLM tackles outliers by decomposing weights into a dense matrix for efficient low-bit quantization and a sparse matrix that stores a tiny fraction (e.g., 0.45%) of full-precision outlier values, effectively compacting the dense range up to 10x.
  3. Outlier Handling's Perplexity & Speedup Records: SqueezeLLM's dense-and-sparse decomposition, by extracting only 0.45% sparse outliers, improved LLaMA-7B's perplexity from 7.75 to 7.58 on C4 and contributed to a 2.1x reduction in the FP16 perplexity gap for 3-bit quantization.

Sources

Open the full topic