用单一算法训练基础模型

·

研究论文 · 2026/10/31

基础模型通常分阶段训练:预训练、中期训练、监督微调(SFT)和强化学习(RL),数据和算法均变化。我们表明这种算法分离并非根本性的。通过将合适的RL目标推导为对模型生成目标分布的最大似然拟合,我们将所有这些阶段置于一个基于似然的单一训练算法——统一训练之下。这一视角将基础模型训练生命周期转变为选择训练数据、比例和时机的问题,传统分阶段训练成为特例。我们在一个统一训练系统中实例化该框架,在单个训练器中混合静态数据和RL生成。在受控和真实世界实验中,统一训练改善了精度-计算权衡和任务覆盖,同时保持更广泛的能力,并为持续学习提供了更强的起点。这项工作为统一的基础模型训练科学奠定了基础,连接了数学原理、训练基础设施和模型能力发展。

该研究挑战了基础模型分阶段训练的传统范式,提出统一的训练算法,有望简化训练流程、提升效率,并推动训练科学的统一理论发展。

Foundation models are typically trained in stages: pretraining, midtraining, supervised fine-tuning (SFT), and reinforcement learning (RL), with changes in both data and learning algorithms. We show that this algorithmic separation is not fundamental. By deriving suitable RL objectives as maximum-likelihood fitting to model-generated target distributions, we place all of these stages under a single likelihood-based training algorithm, unified training. This perspective turns the foundation-model training lifecycle into a problem of choosing which data to train on, in what proportions, and when, with conventional staged training as a special case. We instantiate this framework in a unified training system that mixes static data and RL generations within a single trainer. Across controlled and real-world experiments, unified training improves the accuracy-compute tradeoff and task coverage while preserving broader capabilities, and provides a stronger starting point for continual learning. This work lays the groundwork for a unified science of foundation-model training, connecting mathematical principles, training infrastructure, and the development of model capabilities.

阅读原文

参与讨论