Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Training

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ostapenko, Oleksiy, Guille-Escuret, Charles, Kumar, Luke, Tian, Max, Kocetkov, Denis, Subbaraj, Gopeshh, Li, Raymond, Lamy-Poirier, Joel, Paquet, Sebastien, Scholak, Torsten
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913965673545728
author Ostapenko, Oleksiy
Guille-Escuret, Charles
Kumar, Luke
Tian, Max
Kocetkov, Denis
Subbaraj, Gopeshh
Li, Raymond
Lamy-Poirier, Joel
Paquet, Sebastien
Scholak, Torsten
author_facet Ostapenko, Oleksiy
Guille-Escuret, Charles
Kumar, Luke
Tian, Max
Kocetkov, Denis
Subbaraj, Gopeshh
Li, Raymond
Lamy-Poirier, Joel
Paquet, Sebastien
Scholak, Torsten
contents We introduce a framework for optimizing domain-specific dataset construction in foundation model training. Specifically, we seek a cost-efficient way to estimate the quality of data sources (e.g. synthetically generated or filtered web data, etc.) in order to make optimal decisions about resource allocation for data sourcing from these sources for the stage two pre-training phase, aka annealing, with the goal of specializing a generalist pre-trained model to specific domains. Our approach extends the usual point estimate approaches, aka micro-annealing, to estimating scaling laws by performing multiple annealing runs of varying compute spent on data curation and training. This addresses a key limitation in prior work, where reliance on point estimates for data scaling decisions can be misleading due to the lack of rank invariance across compute scales -- a phenomenon we confirm in our experiments. By systematically analyzing performance gains relative to acquisition costs, we find that scaling curves can be estimated for different data sources. Such scaling laws can inform cost effective resource allocation across different data acquisition methods (e.g. synthetic data), data sources (e.g. user or web data) and available compute resources. We validate our approach through experiments on a pre-trained model with 7 billion parameters. We adapt it to: a domain well-represented in the pre-training data -- the medical domain, and a domain underrepresented in the pretraining corpora -- the math domain. We show that one can efficiently estimate the scaling behaviors of a data source by running multiple annealing runs, which can lead to different conclusions, had one used point estimates using the usual micro-annealing technique instead. This enables data-driven decision-making for selecting and optimizing data sources.
format Preprint
id arxiv_https___arxiv_org_abs_2507_22250
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Training
Ostapenko, Oleksiy
Guille-Escuret, Charles
Kumar, Luke
Tian, Max
Kocetkov, Denis
Subbaraj, Gopeshh
Li, Raymond
Lamy-Poirier, Joel
Paquet, Sebastien
Scholak, Torsten
Machine Learning
Artificial Intelligence
We introduce a framework for optimizing domain-specific dataset construction in foundation model training. Specifically, we seek a cost-efficient way to estimate the quality of data sources (e.g. synthetically generated or filtered web data, etc.) in order to make optimal decisions about resource allocation for data sourcing from these sources for the stage two pre-training phase, aka annealing, with the goal of specializing a generalist pre-trained model to specific domains. Our approach extends the usual point estimate approaches, aka micro-annealing, to estimating scaling laws by performing multiple annealing runs of varying compute spent on data curation and training. This addresses a key limitation in prior work, where reliance on point estimates for data scaling decisions can be misleading due to the lack of rank invariance across compute scales -- a phenomenon we confirm in our experiments. By systematically analyzing performance gains relative to acquisition costs, we find that scaling curves can be estimated for different data sources. Such scaling laws can inform cost effective resource allocation across different data acquisition methods (e.g. synthetic data), data sources (e.g. user or web data) and available compute resources. We validate our approach through experiments on a pre-trained model with 7 billion parameters. We adapt it to: a domain well-represented in the pre-training data -- the medical domain, and a domain underrepresented in the pretraining corpora -- the math domain. We show that one can efficiently estimate the scaling behaviors of a data source by running multiple annealing runs, which can lead to different conclusions, had one used point estimates using the usual micro-annealing technique instead. This enables data-driven decision-making for selecting and optimizing data sources.
title Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Training
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2507.22250