4-bit vs. 8-bit: Quantifiable Accuracy Loss Benchmarks
While 8-bit quantization typically preserves over 99% of FP16 accuracy, 4-bit models can experience a 1.8-2.9% drop in benchmarks like MMLU, with perplexity for Llama 2 70B increasing by up to 7% compared to FP16.
The top 3
- 8-bit vs. 4-bit: The 1% Accuracy Gap: 8-bit quantization typically recovers over 99% of a full-precision model's accuracy, whereas 4-bit methods, even with advanced techniques, generally achieve about 98.9% on benchmarks like HumanEval+ and MMLU.
- Where 4-bit Hurts Most: Coding & Complex Reasoning: While 4-bit quantization performs well for general chat, tasks requiring high precision like coding (e.g., HumanEval), multi-step math, and long-context retrieval often show more noticeable performance degradation compared to 8-bit.
- Perplexity Penalties: 4-bit vs. 8-bit on Key Metrics: Quantization to 4-bit often results in a higher perplexity score compared to 8-bit, indicating the model is less confident in its predictions and produces less coherent text, a measurable trade-off for smaller model size.
Sources
Open the full topic