Bridging Compute- and Data-Optimal Pretraining
Tian Qin, Kimia Hamidieh, David Alvarez-Melis
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Scaling Laws Low-Rank Optimization · Type: new method · Keywords: scaling laws, token effectiveness, compute-optimal scaling, data-optimal scaling, large language model pretraining
Summary
The paper introduces Compute-Data (CD) scaling laws, a unified framework that quantifies token effectiveness of derived tokens and reveals three operational regimes for compute-data trade-offs.
Explained to a 5-year-old
When we teach a computer a lot of things, we need both time on the computer and lots of information. Sometimes we can use the same information many times, but it isn’t as helpful as fresh information. The paper looks at how useful repeated information is for different sized programs. It finds that the usefulness changes depending on how big the program is and how much information we have. This helps us understand when to use more computer work and when to look for new information.
Explained to a 5-year-old, longer
When we teach a computer a lot of things, we need both time on the computer and a lot of facts. Usually we think we can keep adding more facts forever, but sometimes we run out of new facts. The paper talks about what happens when we have lots of computer power but not many new facts. It introduces a way to measure how good repeated facts are compared to brand-new facts. Repeated facts can be like reading the same story over and over, or making new sentences that mean the same thing. The researchers looked at two ways to make more facts: repeating the whole set many times and rewriting it. They tested these ideas on different sized computer programs, from tiny ones with 14 million parts to bigger ones with 600 million parts. They used a big collection of text called Dolma-3 to do the tests. They discovered that the value of repeated facts changes a lot: it depends on how big the program is and how many facts we already have. When the program is small, repeated facts are almost as good as new ones. When the program grows or we have a lot of facts, repeated facts become less useful and start to level off. This helps us understand when we should spend more computer time and when we should look for fresh information.
For a technical reader
The work proposes a token effectiveness function η that quantifies how derived tokens (e.g., repetitions, paraphrases) contribute relative to fresh tokens. It fits η across model sizes (14M-600M parameters) and two data expansion strategies on the Dolma-3 corpus, showing η depends on model size, tokens-per-parameter ratio, and derived data amount, and saturates as the corpus expands. The analysis reveals three regimes-compute-bound, data-bound, and model-bound-where classic compute-optimal scaling is suboptimal, providing a refined framework for resource allocation in large-scale pretraining.
Problem
Pretraining scaling laws traditionally assume unlimited fresh data, yet compute is now outpacing data availability. This creates a need to understand how derived tokens (e.g., repetitions, paraphrases) contribute to training when data is limited.
Method
The approach introduces a token effectiveness function η that measures the value of derived tokens relative to fresh ones, and fits η across model sizes and data expansion strategies (multi-epoch repetition and paraphrasing) on the Dolma-3 corpus. It then analyzes how η varies with model size, tokens-per-parameter ratio, and derived data amount, revealing saturation behavior. Finally, it derives three operational regimes (compute-bound, data-bound, model-bound) and shows that classic compute-optimal allocation is suboptimal in most practical settings.
Results
η varies with model size, tokens-per-parameter ratio, and derived data amount, saturating as the corpus expands, and compute-for-data substitution diminishes with larger models and more data, resulting in three regimes where classic compute-optimal allocation is suboptimal.
Contributions
It proposes a unified token effectiveness framework that bridges compute-optimal and data-optimal scaling, provides empirical analysis of η across model sizes and data expansion strategies, and identifies three operational regimes that refine resource allocation guidance.
Practical relevance
Offers practical guidance for allocating compute and data in large-scale pretraining to improve resource efficiency.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction