cs.CLApr 9, 2026

Rethinking Data Mixing from the Perspective of Large Language Models

Authors: Yuanjian Xu, Tianze Sun, Changwei Xu, XinLong Zhao, Jianing Hao, Ran Chen, Yang Liu, Ruijie Xu, 

Organizations: Hong Kong University of Science and Technology (Guangzhou) · Harbin Institute of Technology University · OpenCSG · China Mining Group

Abstract

Data mixing strategy is essential for large language model (LLM) training. Empirical evidence shows that inappropriate strategies can significantly reduce generalization. Although recent methods have improved empirical performance, several fundamental questions remain open: what constitutes a domain, whether human and model perceptions of domains are aligned, and how domain weighting influences generalization. We address these questions by establishing formal connections between gradient dynamics and domain distributions, offering a theoretical framework that clarifies the role of domains in training dynamics. Building on this analysis, we introduce DoGraph, a reweighting framework that formulates data scheduling as a graph-constrained optimization problem. Extensive experiments on GPT-2 models of varying scales demonstrate that DoGraph consistently achieves competitive performance.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Data Mixing for Large Language Models Pretraining: A Survey and Outlook

    Mar 25, 2026Zhuo Chen, Yuxuan Miao, Supryadi +1Data Mixture OptimizationLanguage Model Pretraining

  2. Beyond Data Schedule: Fast LLM Pretraining on Data Mixtures by Loss-Reweighting

    Oct 23, 2026Jiazheng Li, Huaqing Zhang, Jing Xu +2Language Model PretrainingAdaptive Loss Weighting