atlas

Research map / Large language models / Language, safety and interpretability

RegMix: Data Mixture as Regression for Language Model Pre-training

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RegMix, which fits a regression model on losses of 512 ultra-small (1M-param) proxy models trained on random Pile domain mixtures, then uses the predicted best mixture to train larger models.

Problem

Choosing an effective data mixture for LLM pre-training is hard; prior proxy-model methods (e.g., DoReMi) are expensive, unstable, and sequential.

Approach

Formulate data mixture selection as regression: train many tiny proxy models on diverse mixtures (Dirichlet-sampled), regress the target validation loss on mixture weights (linear ridge or LightGBM), simulate millions of mixtures, and train the large model on the top-predicted mixture, relying on a rank-invariance assumption across model scales.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Select the training data mixture with RegMix instead of human-curated weights1B-parameter pre-training on the Pile · Pile downstream benchmarksAverage Performance: 45.1 -> 47.3Helped
Select the training data mixture with RegMix instead of human-curated weights1B-parameter pre-training on the Pile · HellaSwagaccuracy: 37.4 -> 44.2Helped
Select the training data mixture with RegMix instead of human-curated weights1B-parameter pre-training on the Pile · Pile downstream benchmarks (LightEval)Average Performance: 39.5\text{\, $\pm$\,0.3} -> 41.5\text{\, $\pm$\,0.2}Helped
Use LightGBM regression rather than linear regressionRegMix regression rank prediction · Unseen Pile data mixtures, 1M modelsSpearman rank correlation ρ: 90.08 -> 98.45Helped
Use LightGBM regression rather than linear regressionRegMix regression rank prediction · Unseen Pile data mixtures, 60M modelsSpearman rank correlation ρ: 89.26 -> 98.64Helped
Use LightGBM regression rather than linear regressionRegMix regression rank prediction · Unseen Pile data mixtures, 1B modelsSpearman rank correlation ρ: 88.01 -> 97.12Helped
Increase the number of proxy models rather than increasing proxy training tokens beyond a thresholdRegMix proxy-model search · Regression rank predictionSpearman rank correlation ρHelped
Train 512 proxy models on 0.2B tokens rather than 128 proxy models on 0.8B tokensRegMix proxy-model search · Regression rank predictionperformanceHelped
Use a RegMix-selected mixture rather than training only on Pile-CC1B-parameter pre-training on the Pile · Average PerformanceAverage Performance: 46.8 -> 47.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: The Pile (17 uncopyrighted subsets) The Stack C4 (C4100Domain validation) FineWeb (for 100-domain extension)

Benchmarks: Social IQA HellaSwag PiQA OpenBookQA Lambada SciQ ARC Easy COPA RACE LogiQA QQP WinoGrande

Metrics: Spearman rank correlation mean squared error average accuracy (0-shot to 5-shot)

Baselines: Human (Pile default weights) DoReMi PPL filtering Online Data Mixing (ODM) Pile-CC only Best of 64 random 1B models

Builds on: DoReMi Pile Chinchilla scaling laws

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy