Training Foundation Models with a Single Algorithm
Abstract Overview
The paper formulates pretraining, midtraining, supervised fine-tuning, and suitable reinforcement learning objectives as likelihood fitting over an evolving mixture of static and generated data. It implements this formulation in a shared trainer that mixes data sources while generating RL responses asynchronously. In controlled reasoning experiments, selected unified configurations improved task performance, generalization, and retention relative to staged training, although compute advantages varied by budget and metric. Experiments with heterogeneous data found tradeoffs among accuracy, coverage, and retention, and showed benefits for subsequent coding RL. The experiments were small-scale, and the paper does not establish a universally best mixture or schedule.
Novelty
Building on prior likelihood interpretations of RL, the paper extends the formulation to fixed generation policies and combines static and generated targets in one likelihood objective and training system. Its distinctive focus is on data composition and timing across the full training lifecycle, with staged training represented as a special case.
Results
On controlled reasoning puzzles, the best unified configurations exceeded staged baselines in final accuracy and generalized better to larger unseen puzzles, while preserving pretraining capabilities more effectively before RL. With real-world data, mixing improved held-out corpus retention and supported stronger subsequent coding learning, but often reduced coding accuracy during mathematical RL; the real-world comparisons were not compute-matched.
Key Points
- A common weighted likelihood loss accommodates static training data and reward-selected model responses, with asynchronous generation supported by a shared buffer.
- Compute-matched reasoning experiments showed advantages for unified training in several settings, especially size generalization, but staged training remained competitive at some budgets and metrics.
- Mixing proportions and schedules affect the balance among task accuracy, response coverage, and retention; the study does not identify a generally optimal schedule.
References
- arXiv: https://arxiv.org/abs/2610.40564v1
- Fugu-MT: https://fugumt.com/fugumt/paper_check/2610.40564v1
- Hugging Face Papers: https://huggingface.co/papers/2610.40564