Scalable Data Ablation Approximations for Language Models through Modular Training and Merging
Clara Na, Ian Magnusson, Ananya Harsh Jha, Tom Sherborne, Emma Strubell, Jesse Dodge, Pradeep Dasigi
TL;DR
The paper tackles the prohibitive cost of exhaustive data-ablations for pretraining large language constructs by introducing modular training on base data partitions and evaluating mixtures through parameter averages. It demonstrates that perplexity on arbitrary evaluation domains can be predicted by proxy perplexities from merged base-unit models, enabling linear-scaling assessments of new data. The approach yields substantial efficiency gains and shows that proxies trained on smaller scales can inform decisions for larger models, while providing guidance on when macro- vs micro-merged proxies are most reliable. The work discusses scalability, limitations, and directions for future research, including larger-scale experiments and downstream-task evaluations, to broaden applicability and impact.
Abstract
Training data compositions for Large Language Models (LLMs) can significantly affect their downstream performance. However, a thorough data ablation study exploring large sets of candidate data mixtures is typically prohibitively expensive since the full effect is seen only after training the models; this can lead practitioners to settle for sub-optimal data mixtures. We propose an efficient method for approximating data ablations which trains individual models on subsets of a training corpus and reuses them across evaluations of combinations of subsets. In continued pre-training experiments, we find that, given an arbitrary evaluation set, the perplexity score of a single model trained on a candidate set of data is strongly correlated with perplexity scores of parameter averages of models trained on distinct partitions of that data. From this finding, we posit that researchers and practitioners can conduct inexpensive simulations of data ablations by maintaining a pool of models that were each trained on partitions of a large training corpus, and assessing candidate data mixtures by evaluating parameter averages of combinations of these models. This approach allows for substantial improvements in amortized training efficiency -- scaling only linearly with respect to new data -- by enabling reuse of previous training computation, opening new avenues for improving model performance through rigorous, incremental data assessment and mixing.
