基於多目標強化學習的大語言模型預訓練整體資料排程器
Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learning
June 23, 2026
作者: Chenhao Dang, Jing Ma, Mingjie Liao
cs.AI
摘要
训练数据的组成——受数据源的多样性及其混合策略的制约——是大语言模型(LLM)预训练的基石。在线数据混合(ODM)作为一种在训练过程中自适应调整数据混合比例的技术,已成为提升效率的重要方向。然而,现有方法受限于单一的优化视角,从根本上忽视了LLM复杂预训练需要从多个维度考虑动态数据组成这一需求。为克服这一局限,我们提出了整体数据调度器(HDS),一种新颖的在线数据混合框架。HDS将数据调度问题建模为连续控制空间中的强化学习问题,并利用软演员-评论家(SAC)算法在探索高维策略空间时的稳定性与样本效率。HDS的核心是一种新颖的多目标整体奖励函数,该函数整合了三个关键视角:基于数据质量的奖励、捕捉域间影响的损失驱动奖励,以及基于权重范数的模型驱动奖励。为验证我们的设计并确定其最优配置,我们在不同规模的大语言模型上进行了系统实验。在The Pile基准测试中,HDS仅用44%的训练迭代次数就达到了次优方法的最终验证困惑度。此外,它在MMLU 0-shot任务上实现了7.2%的提升,并在其他基准测试中取得了一致的增益,展示了其在提升训练效率和最终模型能力两方面的优势。
English
The composition of training data, governed by the diversity of sources and their mixing strategy, is a cornerstone of Large Language Model (LLM) pre-training. Online Data Mixing (ODM), the technique of adaptively adjusting data mixtures during training, has emerged as a promising direction to improve efficiency. However, existing methods are constrained by their reliance on a singular optimization perspective, which fundamentally overlooks the need for complex LLM pre-training to consider the dynamic data composition from multiple dimensions. To overcome this limitation, we introduce the Holistic Data Scheduler (HDS), a novel online data mixing framework. HDS formulates the data scheduling challenge as a reinforcement learning problem in a continuous control space and leverages the Soft Actor-Critic (SAC) algorithm for its stability and sample efficiency in exploring the high-dimensional policy space. At the core of HDS lies a novel multi-objective, holistic reward function that integrates three critical perspectives: a data-driven reward for quality, a loss-driven reward capturing inter-domain influence, and a model-driven reward based on weight norms. To validate our design and determine its optimal configuration, we conducted systematic experiments on LLMs of various sizes. On The Pile benchmark, HDS reaches the final validation perplexity of the next best method with 44% fewer training iterations. Furthermore, it achieves a 7.2% improvement on the MMLU 0-shot task along with consistent gains on other benchmarks, showcasing its ability to enhance both training efficiency and final model capability.