Data, Corpora & Tokenization · 2023

DoReMi: Optimizing Data Mixtures with Group DRO

Sang Michael Xie, Hieu Pham, Xuanyi Dong, et al.

DoReMi trains a small proxy model with Group DRO to learn domain weights for a pretraining corpus, so a large model can be trained once on a tuned data mixture instead of tuned by trial and error.

Editorial record

Plain-language summary

The method first trains a small reference model, then trains a second small proxy model with Group Distributionally Robust Optimization that raises the sampling weight of domains where the proxy has the largest excess loss over the reference. The resulting domain weights are reused to sample data for a much larger model. This removed the need to hand-tune or grid-search corpus mixtures at full scale, and reached target accuracy in fewer training steps by reweighting domains like The Pile rather than using their default proportions.

Source record

Provenance

Record ID
P-127
Record created
2026-07-13
Last reviewed
2026-07-14
Record version
2

Citation caveat: Citation metadata is approximate and marked unverified in the source dataset.