Dual Innovations Driving 3-bit LLaMA Speed

SqueezeLLM's 3-bit LLaMA speed boost stems from two core strategies: sensitivity-based non-uniform quantization, which optimizes bit precision based on second-order information, and Dense-and-Sparse decomposition, which separates and efficiently handles outlier weights.

The top 3

  1. SqueezeLLM's Record 3-bit LLaMA Speed & Accuracy Edge: SqueezeLLM achieves up to 2.3x inference speedup on an A6000 GPU and reduces the 3-bit LLaMA perplexity gap from FP16 by 2.1x compared to state-of-the-art methods, setting new benchmarks for efficient LLM deployment.
  2. Optimal Bit Precision: Sensitivity-Based Quantization's Impact: SqueezeLLM's sensitivity-based non-uniform quantization dramatically improves 3-bit LLaMA-7B perplexity from 28.26 (uniform quantization) to 7.75 on the C4 dataset, by assigning optimal bit precision using second-order information.
  3. Outlier Handling: Dense-and-Sparse Decomposition's Advantage: The Dense-and-Sparse decomposition separates sensitive and outlier weight values into an efficient sparse format, allowing the remaining 'dense' weights to be quantized more aggressively, preventing performance degradation in ultra-low-bit LLMs.

Sources

Open the full topic