Back to Feed
Training & Fine-Tuning

Optimizing Data for Large Language Models

Original: Training Compute-Optimal Large Language Models

Listen to the summary

Uses a voice available on your device

Audio options
On this page

Key Takeaways

  • Most existing large language models are undertrained because developers have not increased training data as they grew model parameter counts.
  • Scaling model parameters and training tokens equally leads to compute-optimal performance.
  • The 70 billion parameter Chinchilla model outperforms Gopher, GPT-3, Jurassic-1, and Megatron-Turing NLG.
  • Chinchilla achieved a 67.5 percent accuracy on the MMLU benchmark, demonstrating the effectiveness of the new scaling strategy.

Summary & Methodology Analysis

The researchers investigated the relationship between model size and the volume of training data for the transformer (a model architecture that processes data using self-attention to weigh the importance of different parts of the input). By training 400 models ranging from 70 million to 16 billion parameters on datasets between 5 and 500 billion tokens, they calculated the optimal ratio for compute-efficient training. They concluded that scaling the number of parameters and the number of training tokens equally is the most efficient path to performance. This discovery directly challenges the trend of building massive models on insufficient data volume.

To validate this hypothesis, the team built Chinchilla, a 70 billion parameter model, and trained it with 4 times more data than the Gopher model while keeping the total compute budget equivalent. By reallocating the compute budget toward more data rather than just more parameters, the resulting model outperformed several well-known existing systems, including Gopher, GPT-3, Jurassic-1, and Megatron-Turing NLG, across a wide range of downstream evaluation tasks.

Chinchilla showed strong results on the MMLU benchmark, achieving 67.5 percent average accuracy. The paper focuses primarily on optimizing the data to parameter ratio for a given compute budget to maximize model performance. The researchers do not discuss specific limitations regarding hardware overhead or deployment latency, nor do they detail the specific infrastructure constraints encountered during the training of the 400 experimental models.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the main finding of this paper?

The researchers found that language models are generally undertrained because the amount of data used for training has not kept pace with the growth in model size.

Q2. How did the researchers solve this problem?

They trained 400 different models to identify the compute-optimal ratio between model parameters and training data tokens, which was found to be an equal scaling approach.

Q3. Did the new model perform better than existing ones?

Yes, the Chinchilla model outperformed Gopher, GPT-3, Jurassic-1, and Megatron-Turing NLG across various tasks.

Q4. How many parameters did Chinchilla have?

Chinchilla had 70 billion parameters.

Q5. How much more data did Chinchilla use compared to Gopher?

Chinchilla used 4 times more data than Gopher, while maintaining an equivalent compute budget.

Q6. What was the range of model sizes tested in the initial experiment?

The researchers trained models ranging from 70 million to 16 billion parameters.

Q7. What was the range of data tokens used in the initial experiment?

The models were trained on between 5 and 500 billion tokens.

Q8. What was Chinchilla's performance on MMLU?

Chinchilla achieved a 67.5 percent average accuracy on the MMLU benchmark.

Q9. What specific hardware limitations did the researchers document?

The paper does not specify any particular hardware limitations.