arXiv (Cornell University) · 2020 · 1.5K citations · 31 references
ComputingComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingDeep LearningLanguage ModelingLanguage ModelsNeural NetworksOverfittingUnderfittingCross EntropyCross-entropy LossLanguage Model PretrainingLarge Language ModelsNeural Language ModelsOptimal AllocationOptimal Computing Budget AllocationScaling Laws
The study investigates empirical scaling laws of language model cross‑entropy loss. The authors derive simple equations linking overfitting and training speed to model and dataset size. The loss follows a power‑law with model size, dataset size, and compute, while architectural changes have little effect; these relations enable optimal compute allocation, showing that large models are more sample‑efficient and that compute‑efficient training uses very large models on modest data with early stopping.
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.
31
Adam: A Method for Stochastic Optimization
Diederik P. Kingma, Jimmy Ba · UvA-DARE (University of Amsterdam) · 2014 · 84.8K citations · Full text
Yukun Zhu, Ryan Kiros, Rich Zemel et al. · 2015 · 2.1K citations · Full text
Sergey Zagoruyko, Nikos Komodakis · arXiv (Cornell University) · 2016 · 1.9K citations · Full text