An empirical analysis of compute-optimal large language model training
We investigate the optimal model and dataset size for training a transformer language model under a given compute budget. We find that current large language models are significantly undertrained, a consequence of the recent focus on scaling language models whilst keeping the amount of training data constant. By training \nummodels language models ranging from 70 million to 10 billion parameters on 5 to 500 billion tokens, we find that for compute-optimal training, the model size and the training dataset size should be scaled equally: for every doubling of model size the training dataset size should also be doubled. We test this hypothesis by training a more compute-optimal model, \Chinchilla, using the same compute budget as \gopher but with 70B parameters and 4$\times$ more data. \chinchilla uniformly and significantly outperforms \Gopher, GPT-3, Jurassic-1, and \mtnlg on a large range of downstream evaluation tasks. As a highlight, \chinchilla reaches an average accuracy of 67.5\% on the MMLU benchmark, over a 7\% improvement over \gopher.
https://www.deepmind.com/publications/an-empirical-analysis-of-compute-optimal-large-language-model-training