Scaling Laws for Precision

Tanishq Kumar, Zachary Ankner, Benjamin Frederick Spector, Blake Bordelon, Niklas Muennighoff, Mansheej Paul, Cengiz Pehlevan, Christopher Re, Aditi Raghunathan

Introduction

Precision is emerging as the "third dimension" of neural network scaling, alongside model size and data volume. For years, the AI community has relied on scaling laws (such as those by Kaplan or Chinchilla) to predict performance improvements from scaling parameters ($N$) or data ($D$). However, these laws traditionally assume high-precision training, typically 16-bit or 32-bit floating point.

As the industry races toward lower precisions (like FP8, INT4, and ternary) to save on compute and memory, a massive gap in our understanding has appeared. Without a formal way to trade off bits against parameters and tokens, it is difficult to determine whether a fixed compute budget is better spent on a small 16-bit model or a massive 4-bit model. This paper introduces precision-aware scaling laws, demonstrating that training in low precision effectively reduces a model's parameter count and revealing counter-intuitive dynamics about data scaling and quantization.

Methods and The Core Innovation

To build these scaling laws, the authors conducted a massive empirical study, pretraining over 465 language models with varying combinations of parameters, data, and bit-precisions. Models ranged from 30M to 1.7B parameters and were trained on up to 26B tokens, primarily using the Dolma V1.7 dataset.

Effective Parameter Count ($N_{eff}$) The core innovation of this work is the concept of an "effective parameter count." The authors propose that training in low precision does not merely add noise; it fundamentally reduces the model's capacity. They model this reduction as: $$N_{eff}(P) = N(1 - e^{-P/\gamma})$$ where $P$ is the precision in bits and $\gamma$ is a fitted constant. By substituting $N_{eff}$ into standard Chinchilla scaling equations, they can predict the performance of low-precision models.

The Unified Law This approach yields a single functional form that predicts loss by accounting for both training-time effects (how low precision during training hurts final loss) and post-training effects (how quantizing a model after training adds further degradation).

Key Insights

The Overtraining Trap

Perhaps the most surprising finding is the "overtraining trap." Standard scaling wisdom dictates that more data is always better. However, if a model is destined for Post-Training Quantization (PTQ) for inference, there is a critical data size beyond which more training actually degrades the final quantized model's performance. As the model compresses more information into its weights during extended training, it becomes hypersensitive to the noise introduced by quantization.

Overtraining degrades post-quantization performance

Compute Optimality in Lower Precision

When optimizing for pure compute efficiency (FLOPs), the derived scaling laws suggest that the de facto standard of 16-bit training is suboptimal. For a fixed hardware budget, training a larger model in lower precision frequently outperforms training a smaller model in high precision. For integer types, the compute-optimal precision hovers around 7-8 bits.

Training larger models in lower precision can be compute optimal

Compositional Precision and Robustification

The degradation from quantizing different components—such as weights, activations, and the KV cache—acts independently and multiplicatively. This compositionality allows for the prediction of a "mixed-precision" model's loss by evaluating the sensitivities of its individual parts. Furthermore, Quantization-Aware Training (training a model in low precision from the start) makes it robust to further quantization at inference time, as the model learns to work around the noise.

Key Results

The unified scaling law demonstrated remarkable predictive power, achieving an $R^2$ of 0.90 across over 1,000 data points. It accurately predicted loss across a wide variety of training and inference precisions. The empirical results clearly validate the theoretical framework: for instance, heavily overtraining a model before quantizing it to 3-bits actively causes validation loss to increase, confirming the overtraining trap.

Limitations and Future Work

While comprehensive, the study has a few notable limitations:

  • Fixed Architecture: The experiments utilized a standard Transformer++ architecture. Recent extreme low-bit models (like BitNet) use specialized architectural tweaks that might shift the constants or alter these scaling laws.
  • Integer vs. Floating Point: Most detailed fits were performed on integer quantization. While the trends hold for floating-point (FP) types, FP is more expressive and likely has slightly different optimal bit-widths.
  • Metrics: The paper focuses on cross-entropy loss (perplexity). While a strong proxy, loss does not always perfectly capture how specific reasoning or coding abilities degrade under quantization.
  • Systems Overhead: The compute model assumes that halving the bit-width perfectly doubles speed. In practice, memory bandwidth and kernel overheads mean real-world gains are often sub-linear.

Summary updated

BibTeX
@inproceedings{kumar2025scaling,
  author = {Tanishq Kumar and Zachary Ankner and Benjamin Frederick Spector and Blake Bordelon and Niklas Muennighoff and Mansheej Paul and Cengiz Pehlevan and Christopher Re and Aditi Raghunathan},
  title = {{Scaling Laws for Precision}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=wg1PCg3CUP},
}
Figure