NeurIPS 2026QuestionsPapersAreasAboutMarkdown

CausalMix: Data Mixture as Causal Inference for Language Model Training

Zinan Tang, YUKUN ZHANG, Shaomian Zheng, Zhuoshi Pan, Qizhi Pei, Dingnan Jin, Jun Zhou, Yujun wang, Biqing Huang

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Mixture-of-Experts Data Mixing · Type: new method · Keywords: LLM data mixing, causal inference, conditional average treatment effect, mixture optimization, model scaling

Areas: Causal Inference › Causal Learning › Causal Inference for Machine Learning

Summary

CausalMix casts LLM data mixture optimization as a causal inference problem to dynamically infer optimal mixtures without retraining from scratch.

Explained to a 5-year-old

When we teach a big computer brain lots of words, we mix different kinds of words. Sometimes the mix needs to change when we get new words. The paper makes a way to figure out the best mix by looking at how each kind of word works, like a doctor checking symptoms. This helps the brain learn better without starting over. It also lets us see why certain words are chosen.

Explained to a 5-year-old, longer

When we train a big computer brain to understand language, we give it many examples of words and sentences. We mix different kinds of examples, like stories, facts, and jokes, to make the brain learn a lot. Old ways of mixing assume the collection of examples never changes, which is not true in real life. When new examples appear, the old mix may become outdated, and we have to start training again from scratch. This paper proposes a new idea: treat the mixing problem like a cause-and-effect investigation. It looks at features of the examples (how often words appear, their topics, etc.) as clues. Then it figures out how each type of example influences the brain’s performance, similar to how a doctor finds the cause of a symptom. Using this understanding, the system can predict the best mix for a much larger collection of examples without retraining. The method works on a small model first, then the optimal mix is applied to train a much larger model. It also works for longer reasoning examples, like step-by-step thinking. Experiments show that the new mix consistently makes the brain do better on many tasks than older mixing methods. Additionally, the system provides a simple visual way to see which examples were chosen and why.

For a technical reader

The paper reframes data mixing for language models as a causal inference problem, using statistical features of the data pool as covariates and mixture assignments as treatments. By fitting a causal model on a small-scale experiment, it estimates conditional average treatment effects and extrapolates optimal mixing weights to much larger data pools and model sizes. This approach eliminates the need for costly full retraining when data distributions shift. The framework also extends to longer chain-of-thought data and includes a visual interpreter for the learned mixing strategy, offering both performance gains and interpretability.

Problem

Optimizing data mixtures for large language models is difficult because existing methods assume static data distributions and require costly retraining when the data pool changes. This limits scalability to larger data pools and model sizes.

Method

The approach formulates data pool statistical features as covariates and domain mixture as a treatment, fits a causal model to estimate conditional average treatment effects, and extrapolates optimal mixture weights for larger data pools and models.

Results

The mixture guided by the approach consistently improves performance across multiple downstream tasks, outperforming baseline methods.

Contributions

The paper introduces a causal inference framework for dynamic data mixture optimization, demonstrates extrapolation from small to large data pools, and provides visual analysis via a CATE interpreter.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction