Sensitivity-Based Non-Uniform Quantization's Edge

SqueezeLLM employs sensitivity-based non-uniform quantization, optimizing bit precision assignments based on second-order information (Fisher information) and weighted k-means clustering to minimize perplexity degradation in LLMs.

The top 3

  1. Why Uniform Quantization Fails LLMs: LLM weight distributions are inherently non-uniform, causing uniform quantization to introduce significant errors and sub-optimal performance, particularly for crucial outlier values.
  2. SqueezeLLM's Second-Order Precision Edge: SqueezeLLM leverages second-order information (like Fisher information) for optimal bit precision assignment, employing weighted k-means clustering to pull quantization centroids closer to sensitive weights and keeping a small fraction (e.g., 0.05%) of highly sensitive values unquantized to preserve accuracy.
  3. Perplexity Reduction: SqueezeLLM vs. FP16/AWQ: SqueezeLLM's 3-bit quantization reduces the perplexity gap from the FP16 baseline by up to 2.1x and achieves lower perplexity than AWQ for LLaMA 2 7B/13B models at both 3-bit and 4-bit, demonstrating particularly impressive results at 3-bit.

Sources

Open the full topic