SqueezeLLM's Core: Dense-Sparse & Non-Uniform Quantization

The technique's high accuracy stems from two novel ideas: 'Dense-and-Sparse decomposition,' which stores sensitive outliers in an efficient sparse format, and 'sensitivity-based non-uniform quantization,' optimizing bit precision based on weight distributions.

The top 3

  1. Dense-Sparse: Outlier Retention for Low-Bit LLMs: SqueezeLLM's Dense-and-Sparse quantization splits weights into two: a dense part for aggressive low-bit compression and a sparse part that retains critical outlier values in full precision. This allows quantizing the majority of weights efficiently, often with less than 0.5% sparsity, by isolating the challenging outliers.
  2. Sensitivity-Based Non-Uniform Quantization Explained: This technique optimizes bit allocation by using second-order information, like Fisher information, to determine the optimal placement of quantization bins. Unlike uniform methods, it strategically places more bins closer to sensitive weight values, improving 3-bit LLaMA-7B perplexity from 28.26 to 7.75 on C4.
  3. SqueezeLLM's Perplexity & Speedup Records: Combining dense-sparse and non-uniform quantization, SqueezeLLM achieves lossless compression down to 3-bit, reducing the perplexity gap from FP16 baselines by up to 2.1x. It also delivers up to 2.3x speedup on an A6000 GPU, outperforming state-of-the-art methods like AWQ in accuracy.

Sources

Open the full topic