Pre-training under infinite compute

Konwoo Kim, Suhas Kotha, Percy Liang, Tatsunori Hashimoto

As AI compute outpaces the growth of available web data, the machine learning community is rapidly approaching a "data wall." Historically, language model scaling laws (like Chinchilla) have focused on the compute-constrained regime, assuming access to an infinite pool of fresh web text. However, compute budgets for AI training are growing at roughly 4x per year, while high-quality web data is only growing at about 1.03x per year.

This paper explores a forward-looking question: How should we approach pre-training if we have a fixed, limited amount of data, but effectively infinite compute? Standard practice dictates that with extra compute, one should train larger models or train for more epochs. However, naively applying these strategies to a fixed dataset quickly leads to overfitting and degraded performance. By heavily tuning regularization, scaling parameters, and ensembling multiple models, the authors achieve massive data efficiency gains—and show these gains can be compressed into smaller, practical models via distillation.

Methods for a Data-Constrained World

To simulate a data-constrained environment, the authors restrict pre-training to small pools of data (e.g., 200M to 1.6B tokens from the DCLM dataset) and lift compute constraints. They introduce several key interventions to maximize performance:

  • Regularized Parameter Scaling: Instead of using standard hyperparameters, they use a coordinate descent algorithm to jointly tune learning rate, epoch count, and weight decay for each model size.
Regularization prevents overfitting as parameter count scales, allowing loss to follow a predictable power law.
  • Asymptote Evaluation: Because their regularized models don't overfit, loss predictably decreases as parameter count increases, following a power law. Instead of comparing models at a fixed compute budget, they evaluate recipes based on the asymptote of this power law—the theoretical best performance if parameter count went to infinity.
  • Ensemble Scaling: They train $K$ independent models on the same data (varying only data order and initialization) and average their output logits. They evaluate the double limit of scaling both parameter count ($N \to \infty$) and ensemble members ($K \to \infty$).
  • Distillation: To make these infinite-compute theoretical limits practical for inference, they use sequence knowledge distillation. They generate synthetic data from a large ensemble and train a smaller "student" model from scratch on a mix of the real and synthetic data.

Key Insights

  • Weight decay is the secret sauce for epoching: Standard pre-training recipes usually default to a weight decay of 0.1. The authors found this is entirely inadequate when repeating data. To prevent overfitting in over-parameterized models, the optimal weight decay needs to be up to 30x larger than standard practice.
  • Ensembles > Giant Models: If you have infinite compute, you shouldn't just build one massive model. Scaling the number of ensemble members ($K$) achieves a lower (better) loss asymptote than scaling the parameter count ($N$) of a single model. Ensembles learn different "views" or features of the limited data that a single large model misses.
  • Self-distillation is surprisingly effective: Training a model on its own generated data is often thought to cause "model collapse." However, by mixing the real data with synthetic data generated by a teacher of the exact same size, the student model actually outperforms the teacher. This acts as an implicit ensemble, improving data efficiency without ever needing a massive model during training.
  • Evaluate by asymptotes: The shift from evaluating point-in-time loss to evaluating the asymptote of a scaling law is a powerful conceptual tool. It reveals the absolute ceiling of an algorithm's ability to extract information from a dataset.

Key Results

The combination of these techniques yields dramatic improvements in how efficiently models learn from limited data.

Comparing scaling recipes under no compute constraints, showing up to 5.17x data efficiency.
  • Massive Data Efficiency: The "joint scaling recipe" (combining tuned regularization, parameter scaling, and ensembling) achieves an asymptote at 200M tokens that would require 5.17x more data for a standard baseline recipe to match.
  • Successful Compression: Distilling an 8-model ensemble (300M parameters each) into a single 300M parameter student model retains 83% of the ensembling loss improvement, proving that inference costs don't have to scale with training compute.
  • Downstream Generalization: Improvements in validation loss directly translated to capabilities. The best ensemble outperformed the best unregularized model by 9% on average across downstream benchmarks (like PIQA, HellaSwag, and Winogrande).
  • Continued Pre-Training (CPT) Wins: When applying these techniques to math CPT (using the MegaMath-Web-Pro dataset), ensembling 8 epoched models on just 4B tokens matched the performance of a standard baseline trained on 73B tokens—a staggering 17.5x data efficiency improvement.

Limitations and Future Work

While promising, these experiments were conducted at a relatively small scale (up to 1.6B tokens and 3.2B parameters) due to the massive compute required to run hyperparameter searches and train ensembles. It remains to be seen if the exact scaling exponents hold at the trillion-token frontier scale. Additionally, estimating the asymptote of a power law from a handful of data points can be statistically noisy. Future work will likely explore other classical data-constrained techniques, like dropout and data augmentation, as well as alternative architectures like Mixture-of-Experts (MoEs), which show early promise for similar data efficiency gains.

Summary updated

BibTeX
@inproceedings{kim2026pre,
  author = {Konwoo Kim and Suhas Kotha and Percy Liang and Tatsunori Hashimoto},
  title = {{Pre-training under infinite compute}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ck0aZTAnwK},
}
Figure