mlsanityData to 7 Oct 2026

CausalMix: Data Mixture as Causal Inference for Language Model Training

arXiv 2607.01104 ↗First posted 1 Jul 2026cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

In Large Language Model (LLM) training, data mixing plays a pivotal role in determining model performance. Recent methods optimize mixture weights via proxy models, but they rely on the assumption of static data distributions. As a result, when the underlying data pool shifts, these methods require costly retraining from scratch. This limitation restricts their ability to scale seamlessly from small settings to larger data pools and model sizes. In this paper, we propose CausalMix to address this limitation by casting data mixture optimization as a causal inference problem. We formulate the statistical features of the data pool as covariates and the domain mixture as the treatment. After fitting a causal model on 512 runs of Qwen2.5-0.5B to estimate the Conditional Average Treatment Effect (CATE), we extrapolate the optimal mixture for an 800K data pool and apply it to train a 7B model. Furthermore, we successfully generalize the framework to long chain-of-thought data on Qwen3-4B-Base. By leveraging causal modeling to isolate confounding biases, CausalMix dynamically infers state-dependent optimal data mixtures. Extensive experiments show that the mixture guided by CausalMix consistently improves performance across multiple downstream tasks, outperforming RegMix and other baselines. In addition, we use the CATE Interpreter to provide visual analysis of the learned mixing strategy. Overall, CausalMix offers a causal and interpretable framework for optimizing LLM data mixtures.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 62 of its 79 references that are in the map. First posted on arXiv 1 Jul 2026.

Builds on

62 of 79 references.

References · 62

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  10. 2019Invariant Risk Minimizationcited by 1,832
  11. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  12. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
38 more
  1. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  2. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  3. 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,099
  4. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 988
  5. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  6. 2018DAGs with NO TEARS: Continuous Optimization for Structure Learningcited by 745
  7. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  8. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 712
  9. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
  10. 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
  11. 2015Estimation and Inference of Heterogeneous Treatment Effects using Random Forestscited by 597
  12. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
  13. 2021Towards Out-Of-Distribution Generalization: A Surveycited by 431
  14. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  15. 2017Causal Effect Inference with Deep Latent-Variable Modelscited by 408
  16. 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
  17. 2017Quasi-Oracle Estimation of Heterogeneous Treatment Effectscited by 328
  18. 2019Adapting Neural Networks for the Estimation of Treatment Effectscited by 285
  19. 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 206
  20. 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 194
  21. 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 179
  22. 2025Generalizing Verifiable Instruction Followingcited by 178
  23. 2024Aya Dataset: An Open-Access Collection for Multilingual Instruction Tuningcited by 174
  24. 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
  25. 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
  26. 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 153
  27. 2024The Art of Saying No: Contextual Noncompliance in Language Modelscited by 100
  28. 2023DoGE: Domain Reweighting with Generalization Estimationcited by 87
  29. 2023Efficient Online Data Mixing For Language Model Pre-Trainingcited by 77
  30. 2024A Survey on Data Selection for LLM Instruction Tuningcited by 76
  31. 2018Orthogonal Random Forest for Causal Inferencecited by 51
  32. 2024SciRIFF: A Resource to Enhance Language Model Instruction-Following over Scientific Literaturecited by 37
  33. 2024Aioli: A Unified Optimization Framework for Language Model Data Mixingcited by 33
  34. 2025AM-Thinking-v1: Advancing the Frontier of Reasoning at 32B Scalecited by 29
  35. 2025Not All Correct Answers Are Equal: Why Your Distillation Source Matterscited by 25
  36. 2024WildVis: Open Source Visualizer for Million-Scale Chat Logs in the Wildcited by 20
  37. 2025Predictive Data Selection: The Data That Predicts Is the Data That Teachescited by 20
  38. 2024SMART: Submodular Data Mixture Strategy for Instruction Tuningcited by 16

50 most cited of 62 All 62 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Can Post-Training Transform LLMs into Causal Reasoners?
  2. 2025Mitigating Spurious Correlations in LLMs via Causality-Aware Post-Training
  3. 2023Can Large Language Models Infer Causation from Correlation?
  4. 2024Large Language Models and Causal Inference in Collaboration: A Survey
  5. 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectives
  6. 2025Discovering Hierarchical Latent Capabilities of Language Models via Causal Representation Learning
  7. 2026Causal methods for LLM development and evaluation
  8. 2024CausalBN-Bench: A Comprehensive Benchmark for Causal Learning Capability of LLMs