Perplexity Edge: SpQR's Near-Lossless 2-Bit Metrics
SpQR achieves near-lossless compression with less than 1% relative perplexity loss for LLaMA and Falcon LLMs, requiring only 4.6 to 4.71 bits per parameter to closely match the 16-bit model performance.
The top 3
- SpQR's 2-Bit Perplexity Dominance Over GPTQ: At 2-bit quantization for Llama 2 7B, SpQR (at 2.09 average bits) achieves a WikiText-2 perplexity of 12.19 (9.90 with fine-tuning), dramatically outperforming GPTQ's catastrophic 3290 perplexity at pure 2-bit, which fails to produce coherent text.
- Defining 'Near-Lossless': The 1% Perplexity Gap: SpQR achieves 'near-lossless' 2-bit quantization by maintaining relative perplexity losses of less than 1% compared to full-precision 16-bit models for LLMs like LLaMA and Falcon. This challenging 1% threshold aligns with MLCommons standards for accuracy.
- Running 33B LLMs on Consumer GPUs: SpQR's Impact: SpQR's near-lossless 2-bit metrics enable a 33B parameter LLM (e.g., LLaMA, Falcon) to run on a single 24 GB consumer GPU with over 4x memory compression and up to 15% faster inference compared to 16-bit baselines, democratizing access to powerful models.
Sources
Open the full topic