atlas

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

Aioli: A Unified Optimization Framework for Language Model Data Mixing

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 0 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.

Unifies existing LM data mixing methods under a Linear Mixing Optimization framework and proposes Aioli, an online method that estimates mixing-law parameters during training and uses them to adjust group proportions.

Problem

Learning optimal mixture proportions over data groups for language model pretraining; existing mixing methods do not consistently beat stratified sampling in test perplexity.

Approach

Shows existing offline and online data mixing methods are equivalent to minimizing average loss subject to a method-specific mixing law, finds their mixing-law parameters are inaccurate, and proposes Aioli, which fits the linear dynamic mixing law parameters online from validation loss changes on interleaved one-hot-smoothed mixtures and updates proportions via exponentiated gradient descent.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Aioli instead of stratified sampling to estimate mixing parameters online and adjust proportions dynamically160M GPT-style decoder-only LM · Six SlimPajama data settingsaverage test perplexity: by an average of 0.274 and up to 0.439 pointsHelped
Use existing data mixing methods instead of stratified sampling160M GPT-style decoder-only LM · SlimPajama data settingsaverage test perplexity: up to 6.9 points worseMixed
Dynamically adjust proportions learned by GS on shorter runs using Aioli160M GPT-style decoder-only LM · Six SlimPajama data settingsaverage test perplexity: average of 1.202 and a maximum of 12.012 pointsHelped
Dynamically adjust shortened-run proportions using AioliSkill-It, DoReMi, DoGE, DML, and GS · Restricted training-budget settingaverage test perplexity: 28 out of 30 cases; worsening by at most 0.025 pointsMixed
Fit log-linear static and linear dynamic mixing laws to loss-proportion data160M GPT-style decoder-only LM · Six SlimPajama data settingsMSE: 8.9 × 10^-4; 1.0 × 10^-4Helped
Use linear dynamic mixing law instead of log-linear static mixing law160M GPT-style decoder-only LM · Six SlimPajama data settingsR^2: 0.991; 0.947Mixed
Use online methods with method-specific mixing-law parametersSkill-It, DoReMi, and DoGE · SlimPajama data settingscorrelation between parameter similarity and improvement over stratified samplin: R^2=0.491Helped
Use greedy EGD selection rather than full optimization of dynamic proportionsOnline data mixing methods · Three data settingsoptimality of selected dynamic proportions: 2 out of 3 data settingsNo clear effect
Use log-linear static or linear dynamic mixing laws on Books/C4160M GPT-style decoder-only LM · Books/C4R^2: 0.558; 0.721Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama RedPajama

Metrics: test perplexity mean squared error R^2

Baselines: Stratified sampling Grid search Data Mixing Laws (DML) Skill-It DoReMi DoGE

Builds on: DoReMi DoGE Skill-It Data Mixing Laws RegMix

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