Dense-and-Sparse Quantization: The Core Advantage
SqueezeLLM's latency advantage stems from its 'Dense-and-Sparse Quantization' method, which splits weight matrices into a heavily quantized dense component and a sparse, full-precision part for sensitive outlier values, thereby enabling efficient low-bit inference.
The top 3
- SqueezeLLM's Top Accuracy Over Competitors: SqueezeLLM's dense-and-sparse quantization significantly reduces the perplexity gap from the FP16 baseline by up to 2.1x for LLaMA models, outperforming state-of-the-art methods like GPTQ and AWQ at 3-bit precision.
- Record Memory Reduction and Inference Speedup: This technique enables serving large models like Vicuna within just 6 GB of memory and achieves up to 2.3x inference speedup on an A6000 GPU for 3-bit LLaMA models compared to FP16 baselines.
- Core Innovation: Dense-Sparse Split & Sensitivity: The core advantage stems from splitting weight matrices into a heavily quantized dense component and a separate sparse part for sensitive outliers, combined with sensitivity-based non-uniform quantization, allowing for extremely low sparsity levels (e.g., 0.05%) critical for efficient inference.
Sources
Open the full topic