Scaling Laws 2.0: Optimizing the Token Allocation Strategy

How to Allocate Your Tokens? Scaling Laws with Training Steps and Batch Size

2026-07-01
Fabian Schaipp
Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces a "three-term scaling law" that decompses training data into training steps (K) and batch size (M) alongside model size (N). By modeling the loss as , the authors achieve SOTA efficiency in predicting optimal batch sizes using 72% less compute than traditional methods.

TL;DR

The "Chinchilla" era taught us how much data and how many parameters we need. This paper teaches us how to spend those tokens. By introducing a Three-Term Law, the authors prove we can predict optimal batch sizes with 70% less compute, while finally reconciling empirical scaling with optimization theory.

Context: The Hidden Cost of "Optimal" Batch Sizes

For years, AI labs have spent millions of GPU hours performing "batch size sweeps" to find the sweet spot of training efficiency. The standard Chinchilla law hides the complexity of how that data is actually ingested—specifically, the trade-off between the number of gradient updates (Steps) and the parallelism of those updates (Batch Size).

The existing "Critical Batch Size" models were conceptually useful but practically flawed; they often suggested that smaller batches are always more efficient, which contradicts the behavior of modern optimizers like AdamW.

Methodology: The Three-Term Breakthrough

The core of this work is a shift from a two-variable loss model to a three-variable power law: Where:

  • N: Model Size
  • M: Batch Size (in tokens)
  • K: Training Steps

Why this works (The Intuition)

By splitting tokens () into and , the law treats "lack of parallelism" (small ) and "lack of updates" (small ) as two distinct bottlenecks. This allows the model to fit on suboptimal runs. In traditional scaling, a run with a "bad" batch size is trash data; in the Three-Term Law, it’s a vital datapoint that helps define the curvature of the loss surface.

Model Architecture/Logic Figure 1: The implied scaling of the optimal batch size (Right) shows that the 3-term law (solid line) perfectly tracks the empirically best batch sizes.

Experiments: Compute Savings of 72%

The most striking result is the efficiency of the fitting process. Traditionally, to find the optimal batch size scaling, you’d need a full sweep (5-10 batch sizes) for every point.

The authors show that with the 3-term law, you only need two batch sizes per configuration. Because the law understands the relationship between and , it can "triangulate" the optimum from just a few points.

Performance Comparison Figure 2: Comparison of direct fitting vs. the Three-Term Law on reduced datasets. The 3TL (top row) remains stable even with 42% of the data, while direct fits (bottom) collapse.

Key Insight: The 5% Wasted Compute Rule

Practical hardware often prevents us from using the "mathematically optimal" batch size. The paper derives an interval called the -suboptimal zone.

  • Within this range, you waste less than 5% of your total compute.
  • Rule of Thumb: This efficiency "plateau" typically has a width of about a factor of 4 (from to the optimal batch size).

Critical Analysis & Limitations

While the law is a massive step forward, it isn't perfect:

  1. The Irreducible Loss Caveat: On some datasets (like Li), the fitted irreducible loss hits zero, which is theoretically impossible for natural language. This suggests the law is slightly under-parameterized for certain model-size effects.
  2. Optimizer Sensitivity: The coefficients are likely tied to the AdamW optimizer. If the industry shifts to Muon or Soap, these laws will need re-calibration.

Conclusion (Takeaway)

The Three-Term Law bridges the gap between the "Chinchilla" obsession with quantity and the optimization theorist’s obsession with dynamics. For practitioners, it provides a blueprint to stop wasting compute on exhaustive sweeps and start using "suboptimal" data to find the optimal path.

Find Similar Papers

Try Our Examples

  • Search for recent papers that incorporate learning rate (LR) schedules or ADAM-specific hyperparameters directly into the functional form of LLM scaling laws.
  • Which paper first established the modern definition of 'critical batch size' for deep learning, and how does the current three-term law's derivation differ from that original noise-to-signal ratio focus?
  • Investigate if the three-term scaling law parameters $(\beta, \gamma)$ remain stable when applied to non-Transformer architectures like Mamba or RWKV.
Contents
Scaling Laws 2.0: Optimizing the Token Allocation Strategy
1. TL;DR
2. Context: The Hidden Cost of "Optimal" Batch Sizes
3. Methodology: The Three-Term Breakthrough
3.1. Why this works (The Intuition)
4. Experiments: Compute Savings of 72%
5. Key Insight: The 5% Wasted Compute Rule
6. Critical Analysis & Limitations
7. Conclusion (Takeaway)