跳到正文
arXiv cs.AI· Zinan Tang, Yukun Zhang, Shaomian Zheng, Zhuoshi Pan, Qizhi Pei, Dingnan Jin, Qing Cui, Jun Zhou, Yujun Wang, Biqing Huang·· 4 小时前AI 评分36

CausalMix:将数据配比视为因果推断以优化大语言模型训练

CausalMix: Data Mixture as Causal Inference for Language Model Training

AI 导读

arXiv 论文提出 CausalMix,把 LLM 训练的数据配比优化建模为因果推断问题,以数据池统计特征为协变量、领域配比为处理,摆脱既有方法对静态数据分布的依赖。

正文 · 原文

View PDF HTML (experimental)

Abstract: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 infers state-dependent data mixtures offline, with the selected mixture fixed during each training run. Extensive experiments show that the mixture guided by CausalMix achieves competitive performance across downstream tasks compared with other baselines. The CATE Interpreter visualizes the learned mixing strategy. Overall, CausalMix offers a causal and interpretable framework for optimizing LLM data mixtures.
Comments: 21 pages, 3 figures, accepted by NeurIPS 2026
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2607.01104 [cs.LG]
  (or arXiv:2607.01104v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2607.01104

arXiv-issued DOI via DataCite

Submission history

From: Zinan Tang [view email]
[v1] Wed, 1 Jul 2026 15:56:11 UTC (510 KB)
[v2] Mon, 26 Oct 2026 11:07:55 UTC (596 KB)

来源:arXiv cs.AI · arxiv.org