CMU论文:统一算法训练基础模型,打破预训练与RL阶段分离
Highly recommended paper from CMU and others on how foundation models get traine…
这篇论文挑战了当前大模型训练的标准流水线,提出用单一算法统一各阶段,对重构训练框架有重要启发,值得研究者深入阅读。
Highly recommended paper from CMU and others on how foundation models get trained.
来自卡内基梅隆大学等机构的一篇高度推荐的论文,探讨了基础模型的训练方式。
It fundamentally asks whether pretraining, midtraining, SFT, and RL really need to be separate stages.
该研究从根本上质疑了预训练、中训练、监督微调(SFT)和强化学习(RL)是否真的需要作为独立的阶段。
They show that this separation isn't fundamental.
他们表明这种分离并非根本性的。
All of these stages can run under a single likelihood-based algorithm, which they call unified training.
所有这些阶段都可以在一个基于似然的单一算法下运行,他们称之为统一训练。
The key step treats suitable RL objectives as maximum-likelihood fitting to model-generated targets. RL generations and static data then share one loss and one trainer.
关键步骤是将合适的强化学习目标视为对模型生成目标的极大似然拟合。随后,RL 生成结果与静态数据共享同一个损失函数和一个训练器。
This changes the design problem. You now choose which data to train on, in what proportions and when. Staged training becomes one special case.
这改变了设计问题。你现在需要选择使用哪些数据进行训练、以何种比例以及何时进行。分阶段训练只是其中的一个特例。
They first trained a 124M model from scratch on reasoning puzzles. The best unified runs beat staged training on the RL tasks. They also beat it on larger puzzles the model never saw.
他们首先从头开始在一个包含推理谜题的数据集上训练了一个 1.24 亿参数的模型。表现最好的统一训练在 RL 任务上优于分阶段训练。在模型从未见过的大型谜题上,它也超越了分阶段训练。
Those runs reused the midtraining corpus up to 4 times. Staged training lost accuracy when midtraining ran past its best budget.
那些运行重用了中训练语料库多达 4 次。当分阶段训练的中训练超出其最佳预算时,准确率会下降。
Under a fixed compute budget, unified training had the best accuracy at the smallest and largest budgets. Staged training led at intermediate budgets.
在固定的计算预算下,统一训练在最小和最大预算下均取得了最佳准确率。分阶段训练则在中等预算下领先。
The real-world test used a 0.76B model on math RL, with 0% to 5% midtraining data mixed in. Math accuracy stayed similar while retention improved. Coding accuracy dropped as the mix grew.
真实世界测试使用了一个 7.6 亿参数的模型进行数学强化学习,并混合了 0% 到 5% 的中训练数据。数学准确率保持相似,但保留率有所提高。随着混合比例的增加,编程准确率下降。
Continual learning gave the clearest result. After math training, all unified models beat staged training on final coding accuracy, despite starting lower. The 5% mix did best.
持续学习给出了最清晰的结果。经过数学训练后,尽管起始分数较低,所有统一模型在最终编程准确率上都优于分阶段训练。其中 5% 的混合比例效果最好。
The experiments are small-scale. The authors have not found a mixture or schedule that works best across the board.
实验规模较小。作者尚未找到一种在所有情况下都表现最佳的混合比例或调度方案。
https://arxiv.org/abs/2610.40564
Chat with Paper: https://academy.dair.ai/papers/training-foundation-models-with-a-single-algorithm-2610.40564
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力