Training Foundation Models with a Single Algorithm

Yuda Song, Alvin Zhang, Fahim Tajwar, Daman Arora, Jeff Schneider, Daniel Khashabi, Ruslan Salakhutdinov, J. Andrew Bagnell and 2 others

Carnegie Mellon University · Johns Hopkins University · Aurora Innovation

Published October 29, 2026 · on the feed October 30, 2026 · ▲ 13 · arXiv 2610.40564

The abstract

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.

The Brief

2:06

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Training Foundation Models with a Single Algorithm. By Yuda Song and nine others, from Carnegie Mellon University, Johns Hopkins University, and one other institution. Published on the twenty-ninth of October.

Foundation models are typically trained in stages: pretraining, midtraining, supervised fine-tuning, and reinforcement learning. Moving from one stage to the next changes the data, and it changes the learning algorithm too. Each stage arrives with its own objective, so the pipeline looks like a sequence of different problems solved one after another. The argument here is that only the first of those changes is essential. The data really does differ from stage to stage. The algorithmic separation, the authors show, is not fundamental.

The key step is a derivation. Suitable reinforcement learning objectives can be written as maximum-likelihood fitting to target distributions that the model itself generates. Once that holds, every stage fits under one likelihood-based algorithm, which the authors call unified training. The training lifecycle then becomes a question of data: which data to train on, in what proportions, and when. Conventional staged training is recovered as one special case of that choice.

The framework is instantiated as a unified training system that mixes static data and reinforcement learning generations inside a single trainer, rather than handing a model from one pipeline to the next. In that setting the fixed corpus and the model's own reinforcement learning outputs are simply two sources of data feeding the same objective. Deciding how much of each to use, and at which point in training, is the remaining design choice, and the staged recipe is just one particular answer to it.

Across controlled and real-world experiments, unified training improves the tradeoff between accuracy and compute, and improves task coverage, while preserving broader capabilities. It also gives a stronger starting point for continual learning. The comparison these claims are framed against is the conventional staged pipeline, which the unified view treats as a special case of itself.

The ambition is stated plainly: groundwork for a unified science of foundation-model training, linking mathematical principles, training infrastructure and the development of capabilities. If the stages share one algorithm, the design questions that remain are all about the data schedule.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.