Scaling Laws for Neural Language Models
About
We study empirical scaling laws for language model performance on the cross-entropy loss. The loss scales as a power-law with model size, dataset size, and the amount of compute used for training, with some trends spanning more than seven orders of magnitude. Other architectural details such as network width or depth have minimal effects within a wide range. Simple equations govern the dependence of overfitting on model/dataset size and the dependence of training speed on model size. These relationships allow us to determine the optimal allocation of a fixed compute budget. Larger models are significantly more sample-efficient, such that optimally compute-efficient training involves training very large models on a relatively modest amount of data and stopping significantly before convergence.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Generation | ImageNet-1k (val) | FID151.9 | 84 | |
| Language Modeling | LAMBADA zero-shot (test) | Accuracy (zero-shot)57.23 | 44 | |
| Multimodal Question Answering | ScienceQA | -- | 35 | |
| Language Modeling | WikiText-103 zero-shot (test) | PPL14.14 | 34 | |
| Language Modeling | C4 (train) | PPL19.21 | 8 | |
| Scaling Law Parameter Estimation | Scaling Law Analysis Corpus | Scaling Law Coeff. a0.73 | 4 |