Outlier-Aware SpQR: Preserving Critical Weights for Accuracy
Sparse-Quantized Representation (SpQR) enhances LLM compression by identifying and storing critical outlier weights in higher precision while quantizing the majority to 3-4 bits, achieving near-lossless accuracy (sub-1% perplexity loss for LLaMA/Falcon LLMs) with significant memory savings.
The top 3
- SpQR's Edge: Near-Lossless 2-Bit Quantization: Outlier-Aware SpQR achieves near-lossless compression with less than 1% perplexity loss for models like LLaMA and Falcon, significantly outperforming GPTQ at 2-bit quantization where GPTQ models often fail to produce coherent text.
- SpQR's Impact: Enabling 33B LLMs on Consumer GPUs: Outlier-Aware SpQR enables running 33B parameter LLMs on a single 24 GB consumer GPU with over 4x memory compression and up to 15% faster inference speed, all while maintaining near-lossless accuracy.
- Outlier Treatment: Mixed Precision for Critical Weights: SpQR's 'outlier-aware' mechanism identifies crucial outlier weights and stores them in higher precision (e.g., FP16) while the majority are quantized to lower bit-widths, ensuring accuracy where it matters most.
Sources
Open the full topic