DataDecide: How to Predict Best Pretraining Data with Small Experiments

Ian Magnusson, Nguyen Tai, Ben Bogin, David Heineman, Jena D. Hwang, Luca Soldaini, Akshita Bhagia, Jiacheng Liu, Dirk Groeneveld, Oyvind Tafjord, Noah A. Smith, Pang Wei Koh, Jesse Dodge

Abstract

Selecting the optimal pretraining data for Large Language Models (LLMs) is a high-stakes decision often made with limited information. The DataDecide suite addresses this by providing an empirical roadmap for predicting large-scale model performance from small-scale experiments. By training 1,050 models across 25 data recipes and 14 scales, the researchers demonstrate that simple ranking using small models (e.g., 150M parameters) is a robust baseline. Furthermore, the use of continuous likelihood metrics—rather than discrete accuracy—serves as a "cheat code," allowing researchers to predict 1B-scale performance with as little as 0.01% of the target compute.

Introduction

Pretraining a Large Language Model is a massive investment. Developers must navigate a complex landscape of data sources, filtering strategies, and deduplication methods. Because training models at the 70B+ parameter scale is prohibitively expensive, these critical decisions are typically based on small-scale pilot runs.

However, a significant gap exists in our understanding of these proxies: how reliably do small experiments predict the "gold" performance of a large model? While traditional scaling laws focus on predicting loss (perplexity), developers are primarily concerned with downstream task performance (e.g., MMLU, coding benchmarks), which often scales non-linearly. The DataDecide framework provides the first controlled, large-scale study to validate these decision-making methods.

The DataDecide Framework

To establish a ground truth for data selection, the authors introduced a massive experimental matrix consisting of 1,050 models.

Experimental Design

  • The Matrix: Models were trained across 25 distinct "data recipes" (including variations of Dolma, C4, FineWeb, and DCLM) and 14 model scales ranging from 4M to 1B parameters.
  • The Model Ladder: To isolate the impact of data, the researchers used a programmatic "model ladder" to standardize hyperparameters like learning rate and batch size for each scale.
  • Evaluation (OLMES): Models were evaluated on a suite of 10 multiple-choice benchmarks (MMLU, ARC, HellaSwag, PIQA, BoolQ) and generative tasks (HumanEval, MBPP, GSM8K).

Prediction Strategies

The study compared two primary approaches to data selection:

  1. Single Scale Ranking: Training models at a single small size and assuming the relative ranking of datasets remains consistent as the model scales to 1B.
  2. Multi-Scale Scaling Laws: Fitting complex mathematical functions to multiple small-scale runs to extrapolate future performance.

Key Insights

The Dominance of Single-Scale Ranking

One of the most surprising findings was that complex scaling laws rarely outperformed the simple "Single Scale" baseline. A 150M parameter model was able to predict the ranking of datasets at the 1B scale with approximately 80% accuracy. This suggests that for many developers, the most compute-efficient strategy is to invest in a slightly larger "small" model rather than multiple tiny models to fit a scaling law.

Continuous Metrics as a "Cheat Code"

At very small scales, models often exhibit 0% accuracy on difficult benchmarks like MMLU or HumanEval, providing no signal for ranking datasets. DataDecide demonstrates that CORRECT PROB—the continuous likelihood a model assigns to the correct answer—is a far superior proxy. By using these continuous metrics, researchers could predict 1B-scale performance on hard tasks using only 0.01% of the target compute. This effectively increases the "spread" between datasets and reduces the "noise" inherent in discrete accuracy metrics.

Task-Specific Predictability

Predictability is not uniform across all benchmarks. Tasks like ARC and MMLU show high predictability even at minute scales. Conversely, "late bloomer" tasks like HellaSwag and SocialIQA require significantly more compute before small-scale experiments yield reliable signals for dataset selection.

Results and Compute Efficiency

The study highlights a clear "compute-decision frontier." None of the eight baseline scaling law methods tested managed to consistently exceed the efficiency of simple single-scale ranking. High decision accuracy is primarily driven by two factors: low run-to-run variance and a wide performance gap between different data recipes. Continuous likelihood proxies optimize both factors, making them the most effective tool for early-stage data evaluation.

Limitations and Future Directions

While DataDecide provides a rigorous foundation for data selection, several questions remain:

  • Scale Ceiling: The target scale in this study was 1B parameters. While substantial for a controlled study (requiring ~820,000 H100 GPU hours), further research is needed to confirm if these insights hold for models at the 70B or 400B+ scale.
  • Data-to-Parameter Ratios: The study maintained a constant ratio of 100 tokens per parameter. Future work could investigate how "overtraining" smaller models affects their predictive power.
  • Task Variety: The current evaluation focuses heavily on multiple-choice formats. Extending this framework to more complex generative reasoning and open-ended tasks is a logical next step.

Conclusion

DataDecide moves LLM pretraining away from intuition-based "gambling" toward an empirical science. By leveraging 150M-scale models and continuous likelihood metrics, developers can make highly accurate decisions about their pretraining data with a fraction of the compute previously thought necessary.

Summary updated

BibTeX
@inproceedings{magnusson2025datadecide,
  author = {Ian Magnusson and Nguyen Tai and Ben Bogin and David Heineman and Jena D. Hwang and Luca Soldaini and Akshita Bhagia and Jiacheng Liu and Dirk Groeneveld and Oyvind Tafjord and Noah A. Smith and Pang Wei Koh and Jesse Dodge},
  title = {{DataDecide: How to Predict Best Pretraining Data with Small Experiments}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=p9YlQPF8fE},
}
Figure