arXiv cs.CL· Hubert Baniecki, Przemyslaw Biecek, Martin Pawelczyk·· 13 小时前AI 评分32
LinMix:将数据混合视为线性领域归因
LinMix: Data Mixing as Linear Domain Attribution
AI 导读
LinMix 提出把预训练数据混合权重选择视为领域归因问题,用受限单纯形顶点采样替代 Dirichlet 采样,无需调参即可拟合可解释线性模型,系数即各领域贡献。
正文 · 原文
Abstract:Language model performance depends strongly on the mixture of domains in the pretraining data corpus. Popular data mixing methods select these domain weights by training many small proxy models on random mixes and then fitting a regression model to predict performance from the mix. We recognize this practice as a domain attribution problem, where the regression measures each domain's contribution to the target metric. Through this lens, the standard Dirichlet sampling of proxy data mixes is a poor regression design that requires tuning and cannot support a linear fit for hundreds of domains. Building on classical optimal experimental design, we introduce LinMix, which samples mixes at the vertices of the capped simplex so that each domain is at its cap or absent. This hyperparameter-free vertex sampling decorrelates domain effects, enabling an interpretable linear model whose coefficients are the domain attributions. The optimal mix given by LinMix provably keeps only domains with positive attribution values and requires no search over candidate mixes. We further establish the optimality of vertex sampling, and prove that Dirichlet sampling inflates the attribution error when its mixes concentrate around the prior data mix. Pretraining experiments with 1B-parameter OLMo2 and 4B Qwen3.5 language models show that LinMix outperforms Dirichlet-based data mixing across reasoning, code, and math benchmarks, with relative gains of 46% on MBPP and 14% on GSM8K. At 288 fine-grained domains, only vertex sampling supports a linear fit, and LinMix improves benchmark accuracy by 11% on average over the best nonlinear baseline.
| Comments: | NeurIPS 2026 Workshop on Attributing Model Behavior at Scale |
| Subjects: | Machine Learning (cs.LG); Computation and Language (cs.CL); Machine Learning (stat.ML) |
| Cite as: | arXiv:2610.37390 [cs.LG] |
| (or arXiv:2610.37390v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2610.37390 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Hubert Baniecki [view email]
[v1]
Tue, 27 Oct 2026 15:14:31 UTC (651 KB)
来源:arXiv cs.CL · arxiv.org