Skip to content

Chapter 2 · Self-Generated Data and Self-Training

2.1 What is the basic recipe of self-training, and what problem of test-time self-improvement does it solve? ★★

One-sentence answer

Test-time self-improvement (Chapter 1) keeps its improvement only in the context: every query has to search again and pay for the compute again, and the result is thrown away after use; self-training instead writes the search results accepted by a verifier into the weights, and its basic recipe is "generate with the current model, filter with an external verifier, train on what is kept, and repeat". In essence it amortizes test-time search into the model; and because new information can enter only through the filtering step, the precision of the filter determines the quality of the whole loop.

I will address four aspects: what problem the previous rung left open, the core idea of this rung, the concrete recipe, and why the filter is the key.

(1) The updater of rung 1 is only the context, so improvements cannot be kept; rung 2 replaces the updater with the weights.

The generate–verify–revise loop of Chapter 1 can already reach IMO gold level, but its updater is only the context: each query's improvement is thrown away after use, the same kind of error has to be made, found and fixed all over again next time, and the cost of search is paid again every time. The question for this rung is therefore: can the search results the verifier accepts be written into the weights, so that the model itself gets stronger and next time needs less search, or none at all? Described with the four-part loop used throughout this direction (see Chapter 0, question 0.2), this rung looks like this:

  • Generator: the current model \(\pi_t\), sampling answers on a set of training problems.
  • Verifier: an external checker, such as matching a reference answer, running unit tests, a Lean check, or reading the final state of a database; it is written by people rather than coming from the model itself.
  • Updater: a gradient update on the weights, either SFT on the filtered samples or RL.
  • Problem source: a prepared set of problems with checkable answers, usually curated by people and later extended to automatically synthesized environments (see 2.4).

Compared with rung 1, what changed are exactly the two bottlenecks named at the end of Chapter 1: the updater moved from the context to the weights, and the problem source moved from "answer whatever users ask" to "pick good training problems". On the ladder of Chapter 0, this is rung 2.

(2) The core idea of this rung is amortization: having the fast policy imitate a slow but strong expert built on top of it.

The clearest statement of this idea is Expert Iteration (ExIt; Anthony et al. 2017). The expert is a slow but strong procedure built on top of the current policy, such as tree search, or "sample many times and let a verifier pick the correct ones"; the apprentice is the fast policy itself, trained to imitate the expert's outputs. This is a virtuous cycle: once the apprentice gets stronger, the search built on it gets stronger too, the expert finds better answers, and the apprentice learns more. AlphaZero is the classic example: network-guided Monte Carlo tree search produces a better move distribution than the network alone, and the network then learns to imitate it. From this angle, every method in this chapter is a version of the same thing: for STaR, ReST-EM and RFT the expert is "best-of-N plus a verifier", and RLVR turns the process into an online, step-by-step one. However, amortization has a built-in limit: the apprentice can only compress what the expert can find. If the expert (the current model plus the verifier) never finds a correct answer to some problem, the apprentice has nothing to learn from, and this limit becomes the central question in 3.5.

(3) The recipe has three steps, generate, filter and train, and methods differ almost entirely in three places.

Put into practice, amortization means using the current model \(\pi_t\) to sample answers to the problems in the set, using a filter function to decide which to keep, training a new model on what is kept with plain maximum likelihood (SFT), and repeating (the formulas are in "Going deeper" below). Methods differ almost entirely in the following three places:

  • What is generated: reasoning, code, proofs, or instruction data.
  • How it is filtered: matching a reference answer, running tests, scoring with a reward model, or majority vote.
  • Which model each round starts training from: continuing from the previous round, or restarting from the original model every time.

(4) New information can enter only through the filtering step, so the filter must put high precision first.

Without filtering, training a model directly on its own samples at best relearns the same distribution, and in practice drifts further generation by generation because of sampling error (the model collapse of 2.6). Filtering turns the training target into "the model's distribution conditioned on the answer being good", concentrating probability mass on good answers the model could already produce but not reliably. So the model can truly learn something new only if the filter knows something the model doesn't, such as a reference answer or a test result. Self-Instruct (Wang et al. 2022) is a useful counterexample: it had a model expand 175 seed tasks into a large set of instruction data to train itself, but its filter checked only similarity and format, not whether answers were right, so it could teach the format of "following instructions" but not tasks the model couldn't already do, and data quality was capped by the base model. Moreover, because self-training is a loop, the filter's mistakes get amplified: once a verifier's false positive (wrong judged as right) is kept, it is written into the weights, becomes more likely to be generated and kept again next round, and is reinforced round after round; a false negative (right judged as wrong) merely wastes some samples. A self-training filter should therefore keep less rather than keep something wrong.

In summary: the essence of self-training is amortizing "generate + verify" search into the weights; how much it can learn depends on what the expert can find and on how much the filter knows that the model does not.

Going deeper: the formulas, a comparison of the two rungs, and the choice of filter signal

(1) The form of expert iteration and of the self-training recipe.

\[ \pi_{k+1} = \arg\max_{\pi}\ \mathbb{E}_{x \sim \mathcal{D}}\ \mathbb{E}_{y \sim \mathrm{Expert}(\pi_k,\, x)}\big[\log \pi(y \mid x)\big] \]

Here \(\mathcal{D}\) is the problem set, \(\mathrm{Expert}(\pi_k, x)\) is what the expert built from the round-\(k\) policy produces on problem \(x\), and the new policy \(\pi_{k+1}\) does maximum likelihood on those results. The self-training recipe is one concrete form of it:

\[ \mathcal{D}_t = \big\{(x, y)\ :\ x \in \mathcal{X},\ y \sim \pi_t(\cdot \mid x),\ \mathrm{keep}(x, y) = 1\big\}, \qquad \theta_{t+1} = \arg\max_{\theta} \sum_{(x, y) \in \mathcal{D}_t} \log p_\theta(y \mid x) \]

Here \(\mathcal{X}\) is the problem set, \(\mathrm{keep}(x, y)\) is the filter function (1 to keep, 0 otherwise), \(\mathcal{D}_t\) is the data kept in round \(t\), and \(\theta_{t+1}\) are the parameters of the new model. Filtering turns the training target into

\[ \pi_t(y \mid x, \text{good}) \propto \pi_t(y \mid x) \cdot \mathbb{1}[\text{good}] \]

that is, only the "good answer" part of the model's distribution is kept and renormalized, where \(\mathbb{1}[\cdot]\) is the indicator function (1 if the condition holds, 0 otherwise).

(2) Rungs 1 and 2 compared on the four-part loop.

Part Rung 1: test-time self-correction (Chapter 1) Rung 2: self-training and RLVR (this chapter)
Generator The current model, generating and revising for a single query The current model, sampling in batches on training problems
Verifier Self-verification, generative verifiers, Lean, etc. External checkers: answer matching, unit tests, Lean, database state
Updater The context: the improvement holds only for this query The weights: SFT or RL gradient updates
Problem source User queries Human-curated problem sets, later extended to synthetic environments
Is the improvement kept? No, the next query must search again Yes, written into the weights, so less or no search next time

The two rungs merge into one system in DeepSeekMath-V2: the same proof verifier is used for revision at inference and directly as the reward in training.

(3) The choice of filter signal: mainly outcome verification.

Even "verifiable" signals are imperfect. Checking only the final answer of a math problem lets through solutions with "the right answer but wrong steps", which is especially bad on multiple-choice or yes/no tasks where guessing right is easy; incomplete tests let through buggy programs that happen to pass. Process verification (checking step by step with a PRM) blocks some of this, but step labels are expensive, "one step" is hard to define, and the PRM itself can be gamed, so large-scale self-training and RLVR still rely mainly on outcome verification plus cheap checks on format and length (ORMs and PRMs are compared in the LLM Training Pipeline direction (Chapter 8), question 8.7).

Follow-up questions

Follow-up 1: What is expert iteration, and why are AlphaZero and STaR both special cases of it?

Expert iteration is the loop of "a slow but strong expert produces targets, and the fast policy learns to imitate them". AlphaZero's expert is network-guided Monte Carlo tree search, whose move distribution is better than the network's own, and the network is trained to imitate that distribution; STaR's expert is "sample many times, then pick the correct ones with the reference answer", and the model is trained to imitate this filtered reasoning. The two have exactly the same structure; they differ only in how the expert is built and where the verification signal comes from: AlphaZero relies on perfect game rules, and STaR relies on the reference answers in the dataset.

Follow-up 2: How does self-training differ from distillation?

They differ in where the training data comes from, and hence in their ceilings. Self-training data comes from the model's own samples, filtered by a verifier, so what it can learn never goes beyond its own coverage and the verifier's judgment; distillation data comes from a stronger teacher and can bring in reasoning patterns the model cannot sample on its own (Yue et al. 2025 found that distillation can expand the capability boundary while RLVR mainly sharpens), but it is capped by the teacher. In practice the two are often combined: distill first to broaden coverage, then sharpen with RLVR (see the LLM Training Pipeline direction (Chapter 9)).

Follow-up 3: Without reference answers, how can self-generated reasoning data be filtered, and what are the risks?

Majority vote can serve as a pseudo-label, but on hard problems it reinforces systematic errors as if they were truth. LMSI (Huang et al. 2022) fine-tunes only on reasoning that agrees with the majority answer, raising PaLM 540B on GSM8K from 74.4% to 82.1%. It works on problems the model is moderately sure about; on hard problems, however, the model may make the same mistake consistently, and majority vote then keeps the wrong answer and writes it into the weights. This idea of "replacing the external verifier with the model's own signal" is exactly the subject of Chapter 3.

Common mistakes

  • Do not describe self-training as "training the model on its own outputs": Without filtering there is no new information; at best it relearns the original distribution, and in practice it drifts generation by generation.
  • Do not say that a filter's recall matters more than its precision: False positives are written into the weights and amplified round after round, whereas false negatives only waste samples.
  • Do not say that "verifiable" signals are perfect: Checking only the final answer lets through lucky guesses with wrong reasoning, and incomplete tests let through buggy programs.
  • Do not say that self-training can learn things beyond the expert's search ability: The apprentice can only compress the answers the expert can find.

2.2 How does STaR work, and what improvements followed? ★★

One-sentence answer

STaR has the model write its own reasoning, keeps only the samples whose final answer is correct to fine-tune itself, has the model "rationalize" a line of reasoning for problems it got wrong by giving the correct answer as a hint, and fine-tunes from the original model every round; it is essentially an offline policy gradient with a binary reward, no baseline and no negative samples. The 2023 works ReST, ReST-EM, RFT and expert iteration each changed one step of the template, and the lessons they left are: the more reliable the filter signal the better, retraining from the original model each round is cheap regularization, and gains concentrate in the first one or two rounds and then saturate. Today they are used mainly as a rejection-sampling SFT stage before RLVR.

I will address three aspects: how STaR works, why it is a form of policy gradient and what its limits are, and what the later work changed.

(1) STaR is the template for this chapter's recipe: write your own reasoning, filter by answer, train on what is kept, and iterate.

Having a model write out its reasoning (a rationale) before answering usually works much better than answering directly; but training this ability takes lots of data with rationales, and most datasets have only questions and final answers. The idea of STaR (Self-Taught Reasoner, Zelikman et al. 2022) is to let the model write its own rationales, keep only those whose final answer is correct, train on them, and iterate. Each round has four parts:

  • Generate: with a few-shot prompt of examples with rationales, have the model write a rationale and an answer for every training problem.
  • Filter: keep only the samples whose answer equals the reference answer.
  • Rationalization: for problems it got wrong, put the correct answer into the prompt as a hint and have the model write a rationale that leads to that answer; if the answer it reaches is indeed correct, add it to the training set, but with the hint removed, as if the model had worked it out on its own.
  • Train: fine-tune on all kept (problem, rationale, answer) triples, then generate again with the new model and start the next round.

One easily overlooked detail is that STaR fine-tunes from the original pretrained model every round rather than continuing from the previous round, a cheap form of regularization that keeps errors and overfitting from accumulating round after round. Rationalization is necessary because, with generation and filtering alone, the model can never learn problems it gets wrong at the start: no correct answer can be sampled for them, so they never enter the training set, and the training data stays inside "what the model already knows". Rationalization uses the answer as a hint to construct correct rationales even for hard problems, extending the training signal to problems it otherwise could not learn from. This is where the chapter first meets the question "how can the model learn what it cannot sample on its own?", and the answer here is to borrow information from outside (the answer hint), an idea that returns in 3.5.

(2) STaR is essentially policy gradient with a binary reward, no baseline and no negative samples, and only an offline approximation of it.

The STaR paper gives an elegant interpretation that connects this recipe to RL: treat the model as a policy, let the reward be the indicator of "the answer is correct", and let the objective be the expected accuracy. Taking the gradient in REINFORCE form multiplies each sample's log-probability gradient by its reward; since the reward is only 0 or 1, the gradients of wrong samples are multiplied by 0, and what remains is "maximum likelihood on the correct samples", which is exactly "filter + SFT" (the formula is in "Going deeper" below). It is only an approximation, however: true policy gradient resamples from the current policy after every update, whereas STaR samples a large batch with a fixed model and then trains many steps on it. Rationalization is even further from on-policy: those rationales are generated "having seen the answer", which gives hard problems a signal at the cost that the rationales may be worked backward from the answer and look different from how the model reasons on its own. STaR's other limits are also typical:

  • The starting point must be good enough: few-shot accuracy has to be above chance for the opening round to find any positive samples.
  • Only the answer is checked: samples with "wrong reasoning that happens to land on the right answer" are kept too.
  • Reference answers are required: it works only on tasks that have them.
  • Negative samples are wasted: the information in wrong samples ("this path doesn't work") is discarded entirely.

Section 2.3 shows that RLVR starts precisely from fixing two of these points: using negative samples and being truly online.

(3) Later work changed one step of the template at a time, and was the first to expose saturation within a few rounds.

Around 2023, the STaR template was rewritten again and again:

  • ReST (Gulcehre et al. 2023): scores samples with a learned reward model and follows one large sampling pass (Grow) with several training passes at rising thresholds (Improve); on machine translation the reward kept rising, but after more Grow steps human ratings stopped following, showing the policy had started to overfit the reward model.
  • ReST-EM (Singh et al. 2023): replaces the reward model with a binary verifiable reward and gives an EM interpretation: the E-step restricts the current distribution to correct answers, in practice sampling and keeping only the correct ones, and the M-step is SFT on those samples. It found that training on the model's own correct solutions beats training on human-written ones, but that most of the gain comes in the first one or two rounds, after which overfitting sets in quickly.
  • RFT (Yuan et al. 2023): rejection-sampling fine-tuning, which found that the diversity of reasoning paths matters more than their number, and that deduplicating by computation steps works better.
  • Expert iteration: Polu et al. (2022) applied it to theorem proving in Lean with an easy-to-hard curriculum; Havrilla et al. (2024) compared expert iteration with PPO on math reasoning and found them about equal.

The lessons these works left are still valid today: the more reliable the filter signal, the less the loop goes astray; retraining from the original model each round is cheap regularization; gains concentrate in the first few rounds and then saturate. The last point matters most: it is the earliest empirical sign of "sharpening" (2.5) and of "the generator–verifier gap being used up" (2.7). Today these offline methods are no longer the main recipe, but they remain widely used as a rejection-sampling SFT stage before RLVR; Llama 3, for example, samples several responses per prompt in every round and puts the best into SFT.

In summary: STaR gave the "generate, filter, train" template and revealed that it is really offline, positive-only policy gradient; later work explained it through EM and amortization and was also the first to find that it saturates within a few rounds.

Going deeper: the STaR gradient, the EM view of ReST-EM, and key numbers

(1) STaR as policy gradient.

\[ J(M) = \sum_{i} \mathbb{E}_{\hat r_i,\, \hat y_i \sim p_M(\cdot \mid x_i)} \big[\mathbb{1}(\hat y_i = y_i)\big], \qquad \nabla J = \sum_{i} \mathbb{E}_{\hat r_i,\, \hat y_i \sim p_M(\cdot \mid x_i)} \big[\mathbb{1}(\hat y_i = y_i)\, \nabla \log p_M(\hat y_i, \hat r_i \mid x_i)\big] \]

Here \(M\) is the model, \(x_i\) the \(i\)-th problem, \(\hat r_i\) and \(\hat y_i\) the rationale and answer sampled by the model, \(y_i\) the reference answer, \(\mathbb{1}(\cdot)\) the indicator function, and \(J(M)\) the expected accuracy. Wrong samples get weight 0, so the gradient reduces to maximum likelihood on the correct samples. Rationalized samples come from \(p(\hat r \mid x, y)\) rather than \(p(\hat r \mid x)\), so they are off-policy.

(2) The EM interpretation of ReST-EM.

\[ \text{E-step: } q^{t+1}(y \mid x) \propto r(x, y)\, p_{\theta_t}(y \mid x), \qquad \text{M-step: } \theta_{t+1} = \arg\max_{\theta}\ \mathbb{E}_{x}\, \mathbb{E}_{y \sim q^{t+1}(\cdot \mid x)}\big[\log p_\theta(y \mid x)\big] \]

Here \(r(x, y)\) is the binary reward, \(p_{\theta_t}\) the round-\(t\) model, and \(q^{t+1}\) the target distribution produced by the E-step. The optimal E-step is "the current model's distribution times the reward, renormalized", which for a 0/1 reward means restricting the distribution to correct answers; the M-step is SFT on those samples.

(3) The methods compared.

Method Filter signal Update Each round starts from What it added to the template
STaR (2022) Final answer matches the label SFT Original base model Rationalization with answer hints
ReST (2023) Learned reward model above a rising threshold Offline RL (behavior cloning worked best) Previous policy Several Improve steps per Grow step
ReST-EM (2023) Binary verifiable reward SFT as the M-step Original base model EM interpretation; cap on correct samples per problem
RFT (2023) Correct answer; dedup by reasoning path SFT on original data plus samples Base model Diversity of reasoning paths matters most
Expert iteration Verifier or game outcome Imitate the expert Previous policy General frame: amortize search into the policy

(4) Key numbers.

  • STaR: on CommonsenseQA, GPT-J (6B) reaches 72.5% with STaR plus rationalization, 68.8% without rationalization, and only 60.0% when fine-tuned directly on answers, while GPT-3, about 30 times larger, reaches 73.0% when fine-tuned directly.
  • ReST-EM: on PaLM 2, gains grow with model size; APPS started regressing in the second round; at most 10 correct solutions were kept per problem so that easy problems would not crowd out hard ones.

Follow-up questions

Follow-up 1: Why does STaR fine-tune from the original model every round?

It is cheap regularization that keeps errors and overfitting from accumulating round after round. If training continued from the previous round, the wrong reasoning and overfitting learned in that round would be carried into the next one and further amplified by the new round's sampling. Starting from the original model every round means the new model is determined only by the data currently kept, so the errors of different rounds do not pile up on the same set of weights.

Follow-up 2: Why does STaR work poorly on binary-choice tasks?

Because guessing right is too likely, so the filter keeps many samples with wrong reasoning but a correct answer. STaR checks only the final answer; on a binary-choice task, even completely wrong reasoning lands on the right answer about half the time, and all such samples pass the filter and are written into the weights. In other words, "the answer is correct" says very little about "the reasoning is correct", so the filter's precision is low, which violates exactly the "precision first" requirement of 3.1.

Follow-up 3: Why might training on the model's own correct solutions work better than training on human-written ones?

Because the model's own solutions are more "in-distribution" and easier to learn. Human-written solutions differ from the model's distribution in wording, step granularity and reasoning style, so the model must first fit that difference; the model's own correct solutions already lie in its high-probability region, so training only has to concentrate probability on the correct part of it. ReST-EM observed this on PaLM 2.

Follow-up 4: Why do expert iteration and PPO perform similarly on math reasoning?

Because RL barely explored beyond the solutions the SFT model could already produce. The analysis of Havrilla et al. (2024) shows that, in their setting, PPO and expert iteration were both effectively reinforcing the same set of solutions the SFT model already had, so RL's advantage in exploration never showed. This is an early piece of evidence for the "sharpening or expansion" debate of 3.5.

Common mistakes

  • Do not say that STaR is standard on-policy RL: It samples offline, uses only positive samples and has no baseline, and rationalized samples are off-policy on top of that.
  • Do not say that rationalized reasoning looks like the model's independent reasoning: It is generated having seen the answer and may be worked backward from it.
  • Do not say that more iterations are always better: Most of the gains of ReST-EM and similar work come in the first one or two rounds, after which overfitting sets in quickly.
  • Do not say that these offline methods are obsolete: Rejection-sampling SFT is still a routine stage before RLVR.

2.3 Why is RLVR called the online, scaled form of self-training? ★★

One-sentence answer

When the reward is only 0 or 1, standard policy gradient is exactly "the probability of being correct" times "the gradient of maximum likelihood on correct samples", so STaR, RFT and ReST-EM are essentially offline, positive-only RLVR; online RLVR, built on the same foundation, resamples at every step, uses negative samples, automatically focuses on problems that are sometimes right and sometimes wrong, and constrains each step with KL or clipping, which lets it train stably for a long time. It also pushes the bottleneck onto the problem source: only problems near the capability boundary give a learning signal, and a fixed problem set is sooner or later used up.

I will address four aspects: how the two are related mathematically, what online RLVR improves, where RLVR sits in the four-part loop, and where it pushes the bottleneck.

(1) Under a 0/1 reward, filtered self-training and policy gradient are the same gradient.

The problem left by 2.2 is that filtered self-training is offline, uses only positive samples, and saturates within a few rounds. The following identity gives its exact relationship to RL:

\[ \nabla J = \mathbb{E}_{y \sim \pi_\theta(\cdot \mid x)}\big[r(x, y)\, \nabla \log \pi_\theta(y \mid x)\big] = P(\text{correct} \mid x) \cdot \mathbb{E}_{y \sim \pi_\theta(\cdot \mid x,\ \text{correct})}\big[\nabla \log \pi_\theta(y \mid x)\big] \]

Here \(\pi_\theta\) is the policy, \(r(x, y) \in \{0, 1\}\) the verifiable reward, \(P(\text{correct} \mid x)\) the probability of answering this problem correctly, and the expectation on the right is taken over correct samples only. In other words, standard policy gradient equals "the probability of being correct" times "the gradient of maximum likelihood on correct samples". STaR, RFT and ReST-EM are therefore essentially offline, positive-only RLVR, and online RLVR (e.g. GRPO; algorithm details in the LLM Training Pipeline direction (Chapter 8), question 8.3) is an improvement on the same foundation.

(2) Online RLVR improves on filtered self-training in four places, and the main role of negative samples is preserving exploration.

  • The data is always fresh: it resamples from the current policy at every step, so the data always matches the current model; filtered methods use offline batches, and the data goes stale within a round.
  • Negative samples are used: after group normalization, correct responses are pushed up and wrong ones pushed down, rather than simply discarded.
  • The signal concentrates on the boundary automatically: when a group is all correct or all wrong the advantage is 0, so the learning signal naturally falls on problems the model "sometimes gets right"; in filtered methods, easy problems contribute more samples unless their number is capped.
  • Every step is constrained: KL or clipping keeps each update close to the current model, replacing the coarse constraint of "restart from the original model every round".

The role of negative samples deserves the most attention. The comparison by Xiong et al. (2025) is illuminating: a positive-only rejection-sampling method (RAFT++) performs on par with GRPO and even learns faster early in training; but its policy entropy falls much faster, exploration weakens, and GRPO overtakes it later. So the main role of negative samples is preserving exploration: rewarding only correct answers narrows the distribution quickly, while penalizing wrong answers pushes errors down and spreads probability over other possibilities. This becomes crucial in 2.5 when we ask why coverage is lost.

(3) RLVR counts as "self"-improvement because the model learns from its own samples, and it is stable because the verifier sits outside the model.

The name "RL with verifiable rewards (RLVR)" was introduced by Tülu 3 (Lambert et al. 2024), where it was just a stage after SFT and DPO. The real turning point was DeepSeek-R1-Zero (DeepSeek-AI 2025): large-scale RLVR on a base model alone, with no demonstration data, produced long-CoT reasoning (see the LLM Training Pipeline direction (Chapter 8), question 8.2). ProRL (Liu et al. 2025) went further, showing that with KL control, periodic resets of the reference model and a diverse task mix, prolonged RL makes progress on some tasks the base model cannot solve however many times it samples, and the longer it trains, the more the capability boundary expands. By 2026, RLVR is the default post-training engine for reasoning and agentic models. In terms of the four-part loop, its generator is the policy, its verifier a rule-based checker (answer matching, unit tests, Lean, database state), its updater online policy gradient, and its problem source a difficulty-filtered problem set. Because the verifier sits outside the model and cannot be "talked into" anything by it, the loop does not fall into self-confirmation. RLVR is also where rungs 1 and 2 meet: the self-verification behavior of reasoning models is a by-product of RLVR, and DeepSeekMath-V2's proof verifier is precisely the RLVR reward for proofs (see Chapter 1, questions 1.3 and 1.4).

(4) RLVR pushes the bottleneck onto the problem source: only problems near the capability boundary give a learning signal.

For a 0/1 reward, the standard deviation of rewards in a group on one problem is \(\sqrt{p(1-p)}\), where \(p\) is the problem's pass rate: it is largest at \(p = 0.5\) and zero at \(p = 0\) or \(1\). Problems that are all-correct or all-wrong give zero advantage and waste every sample. So easy problems teach nothing, and hard problems teach nothing either because no correct answer is ever sampled (difficulty filtering in practice is covered in the LLM Training Pipeline direction (Chapter 8), question 8.9). This creates a dynamic problem: as the model gets stronger, the capability boundary moves, problems that used to be the right difficulty become all-correct, and a fixed problem set is sooner or later "used up". This is the rung-2 form of compounding condition (ii) from Chapter 0 (question 0.5), "the problem supply must move with the frontier", and it is the problem that 2.4 addresses.

In summary: RLVR turns "filter + SFT" into an online policy gradient that uses negative samples and focuses on the boundary automatically; it lets self-training run stably for a long time, and at the same time moves the bottleneck from the updater to the problem source.

Going deeper: the two forms compared, and a demonstration of a problem supply that moves with the frontier

(1) Filtered self-training and online RLVR compared.

Filtered self-training (STaR, RFT, ReST-EM) Online RLVR (e.g. GRPO)
Data freshness Offline batches; data goes stale within a round Sampled from the current policy every step
Wrong samples Discarded Used: pushed down through negative advantages
Weight across problems Easy problems give more samples unless capped Group normalization; all-correct or all-wrong groups give zero signal
Leash to the starting model Restart from the base model each round KL penalty or clipping keeps each update small
Infrastructure Standard SFT pipeline Needs a rollout-and-train RL loop

(2) Difficulty and the learning signal.

\[ \mathrm{std}(r) = \sqrt{p\,(1 - p)} \]

This is the standard deviation of rewards in a group on a problem with pass rate \(p\) under a 0/1 reward. For example, it is 0.5 at \(p = 0.5\), 0.3 at \(p = 0.9\), and 0 at \(p = 1\). As a reference point for scale, DeepSeek-R1-Zero raised AIME 2024 pass@1 from 15.6% to 71.0%.

(3) Self-Improving Transformers: what happens when the problem supply moves with the frontier.

Lee et al. (2025) give the cleanest demonstration. On addition, multiplication, mazes and similar tasks, each round raises the difficulty by only one small step (for addition, one more digit), has the model label these slightly harder problems with its own predictions, and removes doubtful samples with two filters that need no reference answers: length filtering, and requiring several models trained with different random seeds to agree (for multiplication, at least four out of five), and then trains on what is left. Round after round, the model extrapolates from 10-digit to 100-digit addition "without apparent saturation".

Follow-up questions

Follow-up 1: Why does it matter that RLVR's verifier sits outside the model?

Because an external verifier cannot be "talked into" anything by the model, so the loop does not fall into self-confirmation. If the model graded itself, it would often fail to detect its own errors in exactly the places where it makes them, and RL would reinforce those errors as if they were correct; a rule-based verifier looks only at the answer or the test result, so its judgment is independent of the model's errors, the reward stays trustworthy throughout training, and training can safely run for a long time. The price is that it covers only automatically checkable domains, and that it is static (see 2.7).

Follow-up 2: What goes wrong when training only on positive samples?

The distribution narrows too fast and exploration stops early. When only correct answers are rewarded, probability quickly concentrates on the few correct paths already found, policy entropy drops fast, and other possible solutions become harder and harder to sample. RAFT++ in Xiong et al. (2025) learns faster than GRPO early on, but precisely because its entropy falls too fast, GRPO overtakes it later. Negative samples push wrong answers down while spreading probability over other candidates, which keeps room for exploration.

Follow-up 3: Why can Self-Improving Transformers extrapolate from 10-digit to 100-digit addition?

Because each step is small: the model is already very likely to get the "one more digit" problems right, so its coverage is high enough that even filters without reference answers suffice. Difficulty rises by only one level per round, so the problems always sit at the capability boundary, satisfying "the problem supply moves with the frontier"; and because accuracy is high, length filtering and agreement across models are enough to remove most wrong samples. It shows two things: when the problem source moves with the frontier, the loop can keep going for many rounds; and when the steps are small enough, even external answers may not be needed. The second point already touches the question of Chapter 3: can the model set its own problems and grade its own answers?

Common mistakes

  • Do not say that RLVR and STaR are two completely different paradigms: Under a 0/1 reward they optimize the same objective; they differ in whether they are online and whether they use negative samples.
  • Do not say that negative samples merely add more data: Their main role is preserving exploration and slowing the fall of entropy.
  • Do not say that harder training problems are always better: Problems with a pass rate of 0 give no gradient at all; medium-difficulty problems are the most valuable.
  • Do not read the "self" in RLVR as the model judging its own answers: The model learns from its own samples, but an external verifier decides what is correct.

2.4 How can the problem source be scaled up, and what role do synthetic environments play? ★

One-sentence answer

For agent tasks, "a problem" is an environment, and building environments by hand is the most labor-intensive part of agent RL, so in 2026 the bottleneck moved from "data" to "environments". There are three kinds of solution: having agents build and self-verify environments automatically from real code repositories; synthesizing database-backed environments entirely in code and letting the environments evolve together with the agent; or using a learned world model as a simulator. What they scale is the problem source of the four-part loop, but the reward still comes from external, executable checks and the pipelines are still designed by people, so they still belong to rung 2.

I will address three aspects: why the bottleneck moved to environments, the three ways of scaling the problem source, and why this is still rung 2.

(1) RLVR needs a steady supply of problems that are the right difficulty and automatically checkable, and for agent tasks that means environments.

Section 2.3 showed that RLVR needs a steady supply of problems that are the right difficulty and can be checked automatically. For math, that means more problems with answers; for agent tasks, "a problem" becomes an environment: a task description, an executable runtime (a code repository with dependencies installed, a database, a browser), a tool interface, and a verifier that automatically judges success when the task ends (environment components and reward design are covered in the Agent direction (Chapter 5)). Building such environments by hand is the most labor-intensive part of agent RL, so in 2026 the bottleneck moved from "data" to "environments", and the answer was to have agents build the environments themselves and verify what they built.

(2) Three ways of scaling the problem source appeared in 2026, each making a different trade-off between reward fidelity and scale.

  • Environments mined from real repositories: code leads the way. SWE-Universe (Chen et al. 2026) uses a specially trained, efficient "building agent" to construct verifiable software-engineering environments automatically from GitHub pull requests: it self-verifies iteratively to make tasks reliable and detects, inside the loop, environments that could be gamed (reward hacking). ScaleSWE (Zhao et al. 2026) filtered 100K verified instances out of a large number of PRs. "Verification" here has two layers: the tests in the environment verify the agent's solution, and the building pipeline verifies whether the environment itself is reliable and cheat-proof.
  • Fully synthetic, code-driven environments: Agent World Model (Wang et al. 2026) generated about 1,000 tool environments for everyday scenarios, each implemented in code and backed by a database; state transitions are more reliable than in LLM-simulated environments, and since the database state can be read directly, reliable reward functions can be written. Agent-World (Dong et al. 2026) goes further: it uses a "self-evolving agent arena" to find the agent's weaknesses automatically and generate targeted new tasks, so that agent and environment evolve together, which is already an automated form of compounding condition (ii): the problem source moves with the agent's capability frontier.
  • Learned simulators: Qwen-AgentWorld (Zuo et al. 2026) trains language world models on large numbers of interaction trajectories and uses them as environment simulators decoupled from the policy for agent RL; they can simulate thousands of real environments and bring gains beyond training on real environments alone.

The costs of the three also differ: rewards from real repositories are the most trustworthy, but scale is bounded by the available PRs; synthetic environments are trustworthy within the designed world, but may be too clean or too narrow; learned simulators scale the most, but a learned simulator is essentially a learned verifier, and the policy may learn to exploit its mistakes, "succeeding" in simulation while failing in the real world, the same problem as learned verifiers being gamed (see Chapter 1, question 1.5).

(3) This is still rung 2, because "what counts as correct" is still decided by people and the execution environment.

Synthetic environments already look very "automatic", so why are they still rung 2 rather than Chapter 3's "set your own problems, grade your own answers"? The key is who designs the verifier and the problem source. In these systems, the reward ultimately comes from external, executable checks: tests in real repositories, database state, Lean; and the pipeline that builds environments, the rules that detect cheating and the way task difficulty is controlled are all designed by people. The model takes part in the step of "producing problems", but "what counts as correct" is still decided by people and the execution environment. At the same time, this is the transition zone from rung 2 to rung 3: once the model decides what problems to set and replaces executable checks with its own judgment, the loop enters the territory of Chapter 3, where the biggest risk is precisely self-confirmation after the external verifier is gone.

In summary: synthetic environments extend the problem source from "human-curated problem sets" to "environments built and self-verified by agents", growing the scale by one to two orders of magnitude while the basis for verification stays outside the model.

Going deeper: the three kinds of environment compared, and concrete numbers

(1) The three kinds of environment compared.

Environments mined from real repos Code-driven synthetic environments Learned world models as simulators
Example SWE-Universe, ScaleSWE Agent World Model, Agent-World Qwen-AgentWorld
Where the reward comes from Real tests in real repositories Database state and executable checks The simulator's own prediction of the outcome
Reward fidelity High, if the tests are good High within the designed world Only as good as the learned model
Scale and diversity Bounded by available PRs Bounded by the synthesis pipeline Very large; any domain the model has seen
Main risk Weak or leaky tests Worlds too clean or too narrow The policy exploits simulator errors

(2) Concrete numbers.

  • SWE-Universe: ends up with 807,693 real, multilingual environments; Qwen3-Max-Thinking trained with this technique reaches 75.3% on SWE-bench Verified.
  • ScaleSWE: filtered 100K verified instances out of 6 million PRs from 5.2K repositories. Compared with the roughly ten thousand instances typical in 2025, the number of environments grew by one to two orders of magnitude.
  • Agent World Model: agents trained only on these synthetic environments generalized well out of distribution on three benchmarks.
  • Agent-World: discovers databases and tool ecosystems across thousands of real-world themes and synthesizes verifiable tasks of controllable difficulty.
  • Qwen-AgentWorld: trained on more than 10 million interaction trajectories across 7 domains, at two sizes, 35B-A3B and 397B-A17B.

Follow-up questions

Follow-up 1: When building SWE environments automatically, how do you make sure the environments themselves are trustworthy?

Add another layer of verification to the building pipeline that checks the environment itself, not just the agent's solution. The tasks built must be reproducible and their test results deterministic; and environments that can be gamed, for example where the tests are so weak that they pass without the problem really being fixed, must be detected actively. SWE-Universe's building agent does exactly this, self-verifying iteratively inside the loop and removing environments that can be hacked.

Follow-up 2: What are the benefits and risks of using a learned world model as a simulator for agent RL?

The benefit is almost unlimited scale and diversity; the risk is that the policy exploits the simulator's errors. A learned simulator can cover any domain the model has seen without hand-written code for each environment; but its reward is only its own prediction of the outcome, so it is essentially a learned verifier. RL's optimization pressure actively seeks out the places where the simulator judges wrongly, so the policy "succeeds" in simulation and fails in real environments; gains in the simulator therefore have to be checked in real environments.

Follow-up 3: Which part of the four-part loop does "co-evolving agents and environments" address?

It addresses the problem source, which corresponds to compounding condition (ii), "the problem supply moves with the frontier". A fixed problem set gets used up as the model gets stronger; Agent-World's arena automatically finds the agent's current weaknesses and generates targeted new tasks, so task difficulty keeps tracking the capability boundary. The task-generation pipeline and verification rules are still designed by people, however, so it still belongs to rung 2.

Common mistakes

  • Do not equate synthetic environments with self-play: The reward still comes from external, executable checks and the pipelines are designed by people, so this is still rung 2.
  • Do not say that a learned simulator's reward is as reliable as real tests: It is a learned verifier and will be exploited by the policy.
  • Do not verify only the agent's solution and not the environment itself: RL will actively find and exploit a leaky environment.

2.5 Does self-training sharpen existing abilities, or does it expand into new ones? ★★

One-sentence answer

In the 2026 understanding, RLVR mostly sharpens: it pushes probability mass toward good answers the model could already produce, and it can act only where the single-sample success probability \(c(x) > 0\); the inversion of pass@k at large \(k\) is not a law of RLVR but a set of specific, fixable mechanisms of coverage loss. RLVR genuinely expands capability under three conditions: the training problems sit at the capability frontier, diversity is protected, and the base model already has primitive skills that can be composed; otherwise, new capability has to come from outside.

I will address four aspects: where the 2025 debate stopped, the theoretical frame of sharpening and coverage, the mechanisms of coverage loss found in 2026, and when RL can compose new strategies.

(1) The 2025 debate ended in a stalemate: both sides had evidence, but nobody could say when it is sharpening and when it is expansion.

Scaling the problem source assumes that more problems and more RL buy more capability. But 2.1 said that the apprentice can only compress what the expert can find. The pass@k experiments of Yue et al. (2025) support "RLVR mainly improves sampling efficiency": at small \(k\) the RL model is clearly better, but as \(k\) grows the base model catches up and overtakes it at large \(k\). Counter-evidence followed quickly: ProRL's prolonged training made progress on tasks the base model could not solve however much it sampled; Wen et al. (2025) pointed out that the base model's pass@k at large \(k\) is inflated by samples with "the right answer but wrong reasoning", and that when the reasoning is checked too (CoT-pass@k), RLVR does extend the boundary; and Wu et al. (2025), with a per-problem "empirical support" analysis, found that RLVR shrinks support more than it expands it, a shrinkage hidden behind the pass@1 gains. The details of this evidence are in the LLM Training Pipeline direction (Chapter 8), question 8.8.

(2) Theoretical work gave a common language: self-improvement is sharpening, and sharpening can act only where coverage is positive.

Let \(c(x)\) be the probability that a single sample from the model gets problem \(x\) right, i.e. the coverage on that problem; pass@1 is its average over all problems, and pass@k is the average probability of at least one success in \(k\) samples (the formulas are in "Going deeper" below). A simple example explains the pass@k inversion: suppose two problems both have \(c = 0.3\) under the base model, so pass@1 is 0.3, and with very large \(k\) both problems are eventually solved, so pass@k approaches 1; after RL, one of the problems is pushed to \(c = 1\) and the other to \(c = 0\), so pass@1 rises to 0.5 but pass@k falls to 0.5. Average single-shot accuracy goes up while the number of solvable problems goes down. Huang et al. (2024) formalized this as sharpening: self-improvement moves probability mass toward the responses the model itself rates highest, which in effect amortizes test-time best-of-N search into training. The Coverage Principle (Chen et al. 2025) further showed that coverage (the probability mass the model puts on high-quality responses) is necessary and sufficient for post-training and best-of-N to succeed. In one sentence: sharpening can only act where \(c(x) > 0\); turning \(c(x)\) from 0 into something positive takes either exploration or outside information.

(3) The 2026 progress was finding where exactly coverage is lost and why, and every mechanism found can be fixed.

Researchers stopped arguing about "whether RLVR only sharpens" and started looking for the specific mechanisms of coverage loss:

  • Overtraining on saturated problems: Yuan et al. (2026) point out that once a problem has been solved, its contribution to pass@k is saturated, and further updates on it only concentrate probability on trajectories the policy already favors; in the common setting with only a few samples per problem, a single success is enough to make a problem nearly saturated, so most updates in standard RLVR are really "overtraining". Updating only on problems with zero successes lifts Pass@256 on hard benchmarks above the base model.
  • Boundary prompts vanish before they can be reinforced: Zhou (2026) found that "boundary prompts", which the base model occasionally solves but with correct solutions that are too rare, never get sampled in finite rollouts, and so vanish before they can be reinforced.
  • Coverage narrows at the start of the reasoning: Zhou and Li (2026) found that coverage loss concentrates at the start of the reasoning; the alternative solutions are still executable, they are just no longer "started".
  • Loss of test-time scalability: Oh et al. (2026) found that post-training pushes agentic tasks toward two extremes, "always solved" and "never solved", and that a base model with only a light harness often solves more tasks than its post-trained version once the test-time budget is large enough; they call this the "sharpening tax".

Entropy collapse belongs here too (see the LLM Training Pipeline direction (Chapter 8), question 8.5). Mapped back to the compounding conditions of Chapter 0 (question 0.5), almost every one of these mechanisms is either diversity not being protected (condition iv) or the training signal not landing on the capability boundary (condition ii). So the 2026 conclusion is: the pass@k inversion is not a law of RLVR but a set of specific, fixable failures.

(4) RL can create something new, but only by composing primitive skills the base model already has; otherwise, new capability has to be borrowed from outside.

Fixing coverage loss only keeps RLVR from losing things; can it create something the base model doesn't have? Controlled experiments in 2025–2026 give a precise answer. Yuan et al. (2025) showed on string-transformation tasks that if a model already knows single functions \(f\) and \(g\), RL can teach it the unseen composition \(f(g(x))\), while RL on single functions alone does not teach composition. Abdulsalam, Patel and Saxe (2026) looked more closely in a rewrite-grammar environment: with only a 0/1 final-answer reward, RL solves held-out problems that the pretrained model rarely solves even with much larger sampling budgets; the process first sharpens the primitive reductions, then discovers valid ways to compose them and consolidates them into a stable "repertoire", whereas rejection fine-tuning (RFT) improves early but soon plateaus. Their explanation is that the key difference between RL and RFT is not more exploration but selectivity: RL concentrates exploration on valid, reusable structure, consistent with the role of negative samples in 3.3. Another route brings in outside information directly: Cai et al. (2026), for example, first estimate the model's capability boundary with pass@k, give targeted teacher guidance near and beyond that boundary, and then consolidate the new reasoning patterns with RL. This follows the same logic as STaR's rationalization and as "distillation can expand the boundary": what the model cannot sample on its own has to be borrowed from outside.

In summary: in the 2026 understanding, RLVR mostly sharpens; it genuinely expands capability under three conditions: the training problems sit at the capability frontier, diversity is protected, and the base model already has primitive skills that can be composed. Otherwise, new capability has to come from outside: a stronger teacher, new data, or contact with the real world (grounding). Sharpening is not bad in itself: compressing what the base model needs hundreds of samples to do into a single correct attempt saves a great deal of test-time compute, which is exactly what amortization is for; the only problem is that sharpening doesn't compound, since it stops once the existing coverage is used up.

Going deeper: the coverage formulas, theoretical results, and details of each mechanism

(1) Coverage and pass@k.

\[ \text{pass@}1 = \mathbb{E}_x\big[c(x)\big], \qquad \text{pass@}k = \mathbb{E}_x\Big[1 - \big(1 - c(x)\big)^k\Big] \]

Here \(c(x)\) is the probability that a single sample gets problem \(x\) right, \(\mathbb{E}_x\) denotes the average over all problems, and \(1 - (1 - c(x))^k\) is the probability of at least one success in \(k\) samples. pass@1 cares only about the average of \(c(x)\), whereas at large \(k\) pass@k depends mainly on how many problems have \(c(x) > 0\).

(2) Two theoretical results.

  • Sharpening (Huang et al. 2024): if the base model has enough coverage of good responses, SFT-based sharpening is already minimax-optimal, while RL-based sharpening with online exploration can remove the coverage requirement, which is the theoretical room for RL to go beyond SFT.
  • The Coverage Principle (Chen et al. 2025): coverage predicts post-training success better than cross-entropy does, and next-token prediction itself implicitly optimizes coverage.

(3) Mechanisms of coverage loss and their fixes.

Mechanism What happens Targeted fix
Overtraining on saturated problems (Yuan et al. 2026) Once a problem is solved, further updates only concentrate mass; with few rollouts, one success already counts as saturated, so most updates are overtraining Update only on zero-success problems; gate updates by each problem's marginal contribution to the boundary
Boundary prompts (Zhou 2026) Rare correct base solutions are too sparse to appear in finite rollout groups, so they vanish before ever being reinforced Per-problem base anchoring: sharpen where the base has enough correct evidence, anchor to the base elsewhere
Narrowing at the entrance (Zhou and Li 2026) Coverage loss concentrates at the start of the trace; alternative solutions stay executable but are no longer started Restore alternative openings (e.g. interpolating late layers with early checkpoints)
Entropy collapse (Cui et al. 2025) Entropy is spent early, and performance saturates as \(R = -a e^{H} + b\) Covariance-aware clipping or KL (Clip-Cov, KL-Cov)
Two extremes on agentic tasks (Oh et al. 2026) Tasks are pushed to "always solved" or "never solved"; lightly harnessed base models win at high test-time budgets Per-prompt sampling temperature set by estimated difficulty

In the entropy-collapse row, \(R\) is downstream performance, \(H\) the policy entropy, and \(a, b\) fitted constants (see the LLM Training Pipeline direction (Chapter 8), question 8.5).

(4) Concrete numbers and related findings.

  • Narrowing at the entrance: on Countdown, per-token likelihood shifts before the first arithmetic operation are 11–16× larger than in the later reasoning.
  • The sharpening tax: Oh et al. (2026) observed it across 14 base/post-trained pairs and three agent benchmarks.
  • Outside guidance: Cai et al. (2026) raise average pass@256 by 9.8 points over the base model.
  • RL during pretraining: Bansal et al. (2026) trained models from scratch and applied RL to intermediate pretraining checkpoints, finding that RL is effective very early and often matches the full SFT→RL pipeline; on hard problems, targeted pretraining data composition matters more for RL than model size.

Follow-up questions

Follow-up 1: Why can updating only on zero-success problems lift Pass@256 above the base model?

Because problems already solved have saturated their contribution to pass@k, and further updates on them only narrow coverage. In a setting with only a few samples per problem, a single success already makes a problem nearly saturated, and most of standard RLVR's updates are spent on such problems, concentrating probability more and more on favored trajectories and crowding out other solutions. Updating only on zero-success problems puts all the optimization pressure beyond the boundary, wasting none of it on saturated problems and squeezing none of the existing coverage. Yuan et al. (2026) also found that a fair number of initially unsolvable problems do become solvable during standard RLVR, so a drop in aggregate pass@k does not rule out new capability.

Follow-up 2: What is the "sharpening tax"?

It is the loss of test-time scalability caused by post-training. Oh et al. (2026) found that post-training pushes agentic tasks toward two extremes, "always solved" and "never solved"; so once the test-time budget is large enough, a base model with only a light harness often solves more tasks than its post-trained version. Post-training buys a higher single-attempt success rate at the cost of smaller gains from adding test-time compute.

Follow-up 3: How do RL and rejection fine-tuning differ in composing new strategies?

The difference lies in selectivity, not in how much they explore. Abdulsalam, Patel and Saxe (2026) found that RFT improves early but soon plateaus, producing many rewrites that look like shortcuts but are invalid; RL instead concentrates exploration on valid, reusable compositional structure: it first sharpens the primitive operations, then discovers sequential and parallel compositions, and reuses and consolidates them into a stable repertoire. This is consistent with the role of negative samples: penalizing invalid attempts is itself a form of selection. Moreover, whether compositional strategies emerge also depends on whether pretraining has already organized the primitive abilities into procedures that RL can compress.

Follow-up 4: Why does RL on intermediate pretraining checkpoints broaden rather than narrow the output distribution?

Because the sharpening effect reported earlier appears only in the setting where RL follows SFT. Bansal et al. (2026) found that RL applied directly to base checkpoints broadens the output distribution, while the sharpening effect appears only when RL follows SFT. This suggests that "RL only sharpens" is at least partly a property of the SFT→RL pipeline rather than wholly a property of RL itself, and that when RL is applied and how the pretraining data is composed both affect how far RL can go.

Common mistakes

  • Do not say that "RLVR only sharpens" is a law: The pass@k inversion comes from several specific, fixable mechanisms.
  • Do not say that sharpening has no value: Users see pass@1, and sharpening saves a great deal of test-time compute.
  • Do not say that a drop in aggregate pass@k rules out new capability: Some initially unsolvable problems also become solvable during standard RLVR.
  • Do not say that RL can create skills from nothing: Controlled experiments show that it can only compose primitive skills the base model already has.

2.6 Does synthetic data cause model collapse? ★★

One-sentence answer

If every generation of models trains only on data generated by the previous one ("replace"), yes: the tails of the distribution vanish first and eventually the whole distribution shrinks, which is model collapse. But research since 2024 shows that collapse is a property of loop design, not a fate: when real data keeps accumulating, the error stays bounded, and selecting data with a verifier prevents collapse, at the cost of eventually converging to the verifier's "knowledge center"; 2026 research further found that a biased local verifier can actually speed collapse up. The practical rules are therefore: accumulate rather than replace, verify whatever can be verified, weight by generation, and monitor with references outside the model.

I will address four aspects: what model collapse is, why collapse depends on loop design, the ways verification and selection fail found in 2026, and the practical rules.

(1) Model collapse means that when each generation trains on the previous generation's outputs, the distribution gradually loses information, and the tails go first.

Section 2.5 was about one model losing coverage during RL; zoom out to "each generation of models trains on the previous generation's outputs" and the same phenomenon is called model collapse. Shumailov et al. (2023) found that if each generation trains only on data generated by the previous one, the model gradually loses information about the true distribution: first the tails go, that is, rare events and expressions, at a point when average metrics may still look fine, so the problem is well hidden; eventually the distribution shrinks into something that barely resembles the original. The tails go first because a rare event can easily fail to appear even once in a finite sample: an event with probability one in a thousand fails to appear in 100 samples with probability about 0.905; once it fails to appear, the next generation estimates its probability as 0 and never generates it again.

(2) Research since 2024 shows that whether collapse happens depends on how the loop is designed.

  • Replace: each generation trains only on the previous generation's synthetic data; errors compound generation by generation, the tails vanish, and the model eventually collapses (Shumailov et al. 2023).
  • Accumulate: Gerstgrasser et al. (2024) pointed out that early studies assumed synthetic data replaces real data, which isn't realistic; if data accumulates, with the real data staying in the training set, test error has an upper bound independent of the number of iterations.
  • Verify: Feng et al. (2024) showed that selecting synthetic data with a verifier prevents collapse even when the verifier is imperfect. But Yi et al. (2025) added an important qualification: verifier-guided retraining gains in the short run but in the long run converges to the verifier's "knowledge center", and unless the verifier is perfect, the gains plateau or even reverse.

This last point is the most formal statement of "a loop cannot exceed its verifier", and it agrees exactly with the experience about verifiers in Chapter 1.

(3) Research in 2026 turned to "how verification and selection themselves go wrong".

  • Biased local verification speeds collapse up: Qiao et al. (2026) studied verifiers that hold only a small, biased slice of the data, for example data silos at separate healthcare institutions: filtering synthetic samples against local reference data keeps samples that resemble the local data and drops globally important tail modes, so a filter meant to prevent collapse ends up accelerating it, with diversity decaying as a power law.
  • The generations cannot be treated alike: Amin et al. (2026) proved that on training sets mixing several generations of data, empirical risk minimization with equal weight on every generation need not converge to the true concept in the PAC sense, and that non-uniform weighting across generations fixes this.
  • How much real data is needed: Marchi et al. (2026) found that earlier lower bounds based on the Euclidean metric become vacuous in high dimensions, while bounds under the Fisher–Rao metric, which suits categorical distributions, stay meaningful, and the ratio actually required differs from what earlier work implied.
  • Many models consuming each other's outputs: Wei et al. (2026) widened the lens from a single model to an ecosystem of many models consuming each other's outputs; with models as nodes on a directed, weighted graph, they found that convergence and diversity depend on how much real data each model can access, how much the models consume from each other, and the structure of the graph.

(4) These results leave a few practical rules for self-training loops.

Concretely, accumulate rather than replace, so real data is always present; verify whatever can be verified, but remember that the verifier's own bias decides the direction of collapse; weight by generation rather than treating all generations' data the same; and monitor with references outside the model, such as perplexity on fixed real data, the diversity of generations, coverage of rare content, and pass@k at large \(k\). The last rule also ties 2.5 to this question: the drop in pass@k during RLVR can be seen as a mild, within-model version of model collapse.

In summary: synthetic data does not necessarily cause collapse; collapse is a property of loop design, depending on whether real data stays present, whether the verifier is reliable and unbiased, and whether monitoring is independent of the model itself.

Going deeper: the probability that a tail vanishes, and the data regimes compared

(1) Why the tails vanish first.

\[ P(\text{an event with probability } p \text{ never appears in } M \text{ samples}) = (1 - p)^M \approx e^{-pM} \]

Here \(p\) is the event's probability, \(M\) the number of samples, and \(e^{-pM}\) the approximation for small \(p\). For example, with \(p = 0.001\) and \(M = 100\), \((1-0.001)^{100} \approx 0.905\).

(2) The data regimes compared.

Data regime What each generation trains on Long-run behavior
Replace Only the previous generation's synthetic data Errors compound; tails vanish; collapse (Shumailov et al. 2023)
Accumulate All real data plus all synthetic data so far Test error stays bounded (Gerstgrasser et al. 2024)
Verify Synthetic data selected by a verifier Avoids collapse even with imperfect verifiers (Feng et al. 2024), but converges to the verifier's "knowledge center" (Yi et al. 2025)
Biased local verification Data filtered against small, skewed reference sets Tail modes are dropped and collapse speeds up (Qiao et al. 2026)
Networked ecosystem Many models consuming each other's outputs Stability and diversity depend on real-data access and graph structure (Wei et al. 2026)

Follow-up questions

Follow-up 1: Why can a biased local verifier actually speed up model collapse?

Because it systematically keeps samples that resemble the local data and drops globally important tail modes as "not alike". Filtering is meant to remove bad samples, but when the reference data is itself only a small, biased slice of the true distribution, "resembles the reference data" no longer means "good". When every generation is filtered by this standard, the distribution shrinks further and further toward the local data, and the tails vanish even faster than without filtering; Qiao et al. (2026) observed diversity decaying as a power law.

Follow-up 2: How would you monitor whether a self-training loop is collapsing, and why isn't perplexity on the model's own outputs enough?

Because a collapsing model becomes more and more confident about its own outputs. Perplexity measured on its own generated text actually goes down and looks like "improvement". Monitoring has to use references outside the model: perplexity on fixed real data, the diversity of generations, coverage of rare content, and pass@k at large \(k\) on reasoning tasks.

Follow-up 3: Why didn't methods like STaR and ReST-EM collapse quickly?

Because their loop design happens to avoid the conditions for collapse. Their problems come from real datasets, their filters have reference answers, they retrain from the original model each round, and they iterate for only a few rounds. The real problems and answers act as real data that is always present, the reference answers are a reliable external verifier, and retraining from the original model keeps errors from accumulating across generations.

Common mistakes

  • Do not say that synthetic data inevitably causes model collapse: Accumulating real data and filtering with a verifier both avoid collapse.
  • Do not say that filtering with a verifier makes the loop foolproof: The loop converges to the verifier's knowledge center, and a biased verifier can even accelerate collapse.
  • Do not judge a loop's health by perplexity on the model's own outputs: A collapsing model is actually more confident about its own outputs.
  • Do not conclude that there is no collapse because average metrics look normal: The tails vanish first, and average metrics are often the last to deteriorate.

2.7 What are the limits of rung-2 self-improvement? ★

One-sentence answer

Rung 2 writes improvements into the weights, but its problem source and verifier still come from people: problem sets are prepared by people, and verifiers are written by people, cover only automatically checkable domains, and are static; at the same time, a fixed verifier and problem set are used up within a few rounds, and the loop saturates once it has exhausted its existing coverage and generator–verifier gap. The next question is therefore whether the model can set its own problems and give its own rewards, which is rung 3 in Chapter 3.

I will address four aspects: the two human dependencies in the loop, domains without executable verification, saturation, and a check of rung 2 against the five compounding conditions that leads to the next rung.

(1) Two parts of the loop still depend entirely on people.

Rung 2 writes improvements into the weights and fixes rung 1's "nothing is kept" problem. But look at its four parts and two of them still depend entirely on people:

  • The problem source is prepared by people: it needs many problems with checkable answers whose difficulty sits right at the capability frontier; as the model gets stronger, the problem set gets used up. Synthetic environments raise the scale, but the building pipelines, difficulty control and cheat detection are still designed by people.
  • The verifier is written by people: answer matching, unit tests, database checks and Lean only cover domains that "can be checked automatically"; tasks without executable checks, such as writing, research judgment and open-ended planning, are largely kept out of rung 2.

And a human-written verifier is static: as long as it has no loopholes itself, it won't be fooled by a stronger generator, but it also won't get stronger along with the generator; and once it has a loophole, RL will actively find and exploit it (reward hacking in RLVR is covered in the LLM Training Pipeline direction (Chapter 8), question 8.1, and examples in agent environments in the Agent direction (Chapter 5)).

(2) In domains without executable verification, the ceiling of a rung-2 loop is the ceiling of the learned verifier.

RLVR's successes are concentrated almost entirely in math, code and agent tasks with a clear end state, precisely because these domains sit high in the verification hierarchy: formal checks, execution and tests (the verification hierarchy is in Chapter 1, question 1.5). When the same recipe is pushed into writing, research plans or open-ended QA, the reward can only come from rubrics plus an LLM judge, or from a learned reward model, which sit low in the hierarchy: their errors partly correlate with the policy's, they can be gamed, and RL actively looks for exactly those loopholes. What MaxProof observed on proofs, with proofs ballooning in length, templates taking over and the single judge being catered to, is a miniature of this. The 2026 effort is to "push these tasks up" the hierarchy: suppress false positives with meta-verification and the minimum over several judges, let verifiers call tools and look up evidence themselves, and break open-ended tasks into checkable sub-questions. But as long as the verifier is learned, the ceiling of the loop is the ceiling of that verifier, which is what "converging to the verifier's knowledge center" in 2.6 means; and that is also why "how to verify research" becomes the hardest question when Chapter 6 discusses automating AI research.

(3) Even in verifiable domains, a fixed verifier and problem set are used up within a few rounds.

The generator–verifier gap (the degree to which checking an answer is easier than generating one; analyzed in depth in Chapter 7, question 7.1) takes on a dynamic meaning here. Song et al. (2024) found that when "generate, self-verify, filter, distill" is iterated, the gap shrinks to nearly 0 within 2–3 rounds, because once the model has absorbed everything the verifier can tell apart, its effective diversity collapses as well. Sun et al. (2025) model solver and verifier capability as coupled dynamics driven by the gap between them, which fits real training trajectories and predicts the self-improvement ceiling from early in training. Add the coverage constraint from 2.5, and rung 2's limit fits in one sentence: a self-training loop with a fixed verifier and a fixed problem set uses up its existing coverage and its existing gap, and then stops. This matches exactly ReST-EM's experience in 2.2 that the gains concentrate in the first one or two rounds.

(4) Checked against the five compounding conditions, rung 2's bottlenecks are the problem source and the verifier, which leads to rung 3.

Checking rung 2 against the five compounding conditions of Chapter 0 (question 0.5; see the table in "Going deeper" below) makes the picture clear: the external verifier satisfies condition (i), but it is static; conditions (ii) and (iv) are where 2025–2026 research concentrated, and synthetic environments and coverage protection are both patching them; condition (iii) is only partly met, since the model cannot learn beyond what checking reveals; and condition (v) is nearly absent, which matters little when the weights are updated once, but becomes critical with the continual, repeated weight rewriting of Chapter 5. Looking back, the evolution within rung 2 itself follows the logic of "find the bottleneck part, then fix it": the generator was made to produce its own training data, then the updater was changed from offline and positive-only to online RL, then diversity protection was added, and finally the problem source was scaled up. Yet one thing never changed: the verifier was always external and written by people, and the design of the problem source always stayed in human hands. A natural question follows: can these two human dependencies be removed too, so that the model sets its own problems and gives its own rewards? That is rung 3, the subject of Chapter 3: self-reward, which replaces the external verifier with internal signals such as majority vote and confidence; self-play, where a proposer sets problems and a solver solves them; and training methods billed as "zero data".

In summary: rung 2's limit is that the problem source and the verifier are still supplied by people, and they get used up; Chapter 3 shows that the 2026 answer to "removing these two dependencies" is fairly clear: purely internal signals almost always just sharpen and rise then collapse, and only self-play that stays connected to the outside world (grounded), such as loops checked by executors, corpora or real code repositories, keeps improving.

Going deeper: rung 2 against the five compounding conditions, and its internal evolution

(1) Checking rung 2 against the five compounding conditions.

Compounding condition Status at rung 2 Why
(i) The verifier stays ahead of the generator Yes in checkable domains, but static External checkers can't be talked into anything, but they never get stronger; learned verifiers and simulators can be overtaken or exploited
(ii) The problem supply moves with the frontier Weak Curated sets get used up; curricula and co-evolving environments help, but people design them
(iii) New information enters the loop (grounding) Partly Only through the verifier's labels and the problem set; no knowledge beyond what checking reveals
(iv) Diversity is protected At risk Entropy collapse and coverage loss unless explicitly protected (zero-success updates, covariance control)
(v) Accepted changes are gated Minimal Held-out evaluation and restarts from the base model; no formal gate

(2) The evolution within rung 2.

Step Years What changed Which part of the loop it fixed
STaR 2022 Self-generated rationales filtered by answer match; rationalization with hints Generator supplies its own training data; reference answers act as the verifier
ReST-EM, RFT, expert iteration 2023 EM and amortization views; diverse reasoning paths; restart from the base model Updater made principled, but offline and positive-only
RLVR (Tülu 3, DeepSeek-R1, ProRL) 2024–2025 Online and on-policy; negative samples; group normalization; long, stable training Updater: online RL that keeps exploring
Coverage-preserving RLVR 2026 Zero-success updates, base anchoring, entropy control Diversity protection (condition iv)
Synthetic environments 2026 Agent-built, self-verified environments; co-evolving tasks; learned simulators Problem source (condition ii)
Compositional RL, RL during pretraining 2026 RL composes existing primitives; earlier RL broadens rather than sharpens Clarifies when the loop expands instead of only sharpening

Follow-up questions

Follow-up 1: How can RLVR be extended to tasks without reference answers, and what are the risks?

The reward can only come from rubrics plus an LLM judge or from a learned reward model, and the risk is that RL actively games these learned verifiers. The usual approach is to push such tasks up the verification hierarchy: suppress false positives with meta-verification and the minimum over several judges, let verifiers call tools and look up evidence, or break open-ended tasks into checkable sub-questions. But as long as the verifier is learned, the ceiling of the loop is the ceiling of the verifier, as the ballooning length and judge-catering MaxProof saw on proofs illustrate (rubric reward design is covered in the Agent direction (Chapter 5), and the biases of LLM-as-a-judge in the Inference, Evaluation and Deployment direction (Chapter 5)).

Follow-up 2: Can the ceiling of self-improvement be predicted early in training?

To some extent, yes. Sun et al. (2025) model solver and verifier capability as coupled dynamics driven by the gap between them; the model fits real training trajectories and predicts the final ceiling from early in training. They also found that injecting a small amount of external data at any stage gives roughly the same final effect. Intuitively, the ceiling of the loop depends on how much gap is left to absorb, and the rate at which the gap is being consumed is already observable early in training.

Follow-up 3: In two minutes, tell the story from STaR to RLVR to synthetic environments, and explain why it leads to self-reward and self-play.

The main thread is "find the bottleneck part of the loop, then fix it". STaR had the generator produce its own training data, filtered by reference answers, and revealed that self-training is positive-only policy gradient; ReST-EM, RFT and expert iteration explained it through EM and amortization, and also found that it saturates within a few rounds. RLVR turned the updater into online RL that uses negative samples and focuses on the boundary automatically, and since R1 it has been the default post-training engine. In 2026, researchers found the specific mechanisms of coverage loss and fixed them, scaled the problem source with synthetic environments built and self-verified by agents, and clarified the conditions under which RL composes new strategies. Yet the design of the verifier and the problem source always stayed in human hands, and the loop uses up its existing coverage and gap, so the natural question is: can the model set its own problems and give its own rewards? That leads to Chapter 3.

Common mistakes

  • Do not say that RLVR can be iterated indefinitely: A fixed verifier and problem set are used up within a few rounds.
  • Do not say that an external verifier gets stronger along with the generator: Human-written verifiers are static.
  • Do not say that an LLM judge lets RLVR extend to any domain: Learned verifiers get gamed, and they set the ceiling of the loop.
  • Do not say that synthetic environments have removed people from the loop: The building pipelines, difficulty control and cheat detection are still designed by people.