2022

The case for 4-bit precision: k-bit Inference Scaling Laws

Dettmers, Tim, Zettlemoyer, Luke

Understand

Quantization methods reduce the number of bits required to represent each parameter in a model, trading accuracy for smaller memory footprints and inference latencies.

  • However, the final model size depends on both the number of parameters of the original model and the rate of compression.
  • For example, a 30B 8-bit model and a 60B 4-bit model have the same number of bits but may have very different zero-shot accuracies.
  • In this work, we study this trade-off by developing inference scaling laws of zero-shot performance in Large Language Models (LLMs) to determine the bit-precision and model size that maximizes zero-shot performance.

Reading the bibliography…