Quantization's Accuracy Trade-offs: 4-bit vs. 8-bit Performance

While 8-bit quantization typically retains over 99% of full-precision model accuracy, 4-bit quantization achieves about 98.9% accuracy on benchmarks like HumanEval+. For larger models, the accuracy loss can be minimal, but smaller models (around 8B parameters) might show slight performance variations. Perplexity often serves as a reliable performance indicator, with 8-bit models closely matching non-quantized versions, and 4-bit models showing only a slight increase.

Sources

Open the full topic