Optimizing Pre-Training Data Mixtures with Mixtures of Data Expert Models

Lior Belenki, Alekh Agarwal, Tianze Shi, Kristina Toutanova
2/21/2025
cs.LGcs.CL
moe

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

We propose a method to optimize language model pre-training data mixtures through efficient approximation of the cross-entropy loss corresponding to each candidate mixture via a Mixture of Data Experts (MDE). We use this approximation as a source of additional features in a regression model, trained from observations of model loss for a small number of mixtures.

Show full abstract

Experiments with Transformer decoder-only language models in the range of 70M to 1B parameters on the SlimPajama dataset show that our method achieves significantly better performance than approaches that train regression models using only the mixture rates as input features. Combining this improved optimization method with an objective that takes into account cross-entropy on end task data leads to superior performance on few-shot downstream evaluations. We also provide theoretical insights on why aggregation of data expert predictions can provide good approximations to model losses for data mixtures.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{belenki2025optimizing,
  title  = {Optimizing Pre-Training Data Mixtures with Mixtures of Data Expert Models},
  author = {Lior Belenki and Alekh Agarwal and Tianze Shi and Kristina Toutanova},
  year   = {2025},
  eprint = {2502.15950},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.15950v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.15950.svg)](https://codeofpaper.com/paper/2502.15950)

Discussion