Training Compute-Optimal Large Language Models

Hoffmann et al., 2022, Training Compute-Optimal Large Language Models (Advances in Neural Information Processing Systems 35 (NeurIPS 2022))

Subscriber deck — free during early access

4 cards in “1 Introduction” · whole deck

1 Introduction

  1. What is the main finding of the Chinchilla paper?
    Large language models of the time were significantly undertrained: for compute-optimal training, model size and number of training tokens should be scaled equally, so every doubling of model size should come with a doubling of training tokens.
  2. What question does the Chinchilla paper formalize?
    Given a fixed FLOPs budget \(C\), choose model size \(N\) and training tokens \(D\) to minimize final loss: \(N_{\text{opt}}(C), D_{\text{opt}}(C) = \arg\min_{N, D \text{ s.t. } \text{FLOPs}(N, D) = C} L(N, D)\).
  3. How were large models trained before Chinchilla, and why?
    Following Kaplan et al. (2020), model size grew faster than data: models from 175B to 530B parameters (GPT-3, Jurassic-1, Gopher, MT-NLG) were all trained on about 300B tokens.
  4. What is Chinchilla, and how does it compare with Gopher?
    A 70B-parameter model trained on 1.4 trillion tokens with the same compute as the 280B Gopher (4× smaller, 4× more data). It uniformly and significantly outperformed Gopher, GPT-3, Jurassic-1 and MT-NLG 530B, and is cheaper to fine-tune and run.

Source

  • Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack W. Rae and Laurent Sifre. 2022. Training Compute-Optimal Large Language Models. In Advances in Neural Information Processing Systems 35 (NeurIPS 2022). https://papers.nips.cc/paper_files/paper/2022/hash/c1e2faff6f588870935f114ebe04a3e5-Abstract-Conference.html