Chapter 4 · Self-Reward, Self-Play and Zero-Data Learning¶
4.1 Where This Chapter Fits ★★¶
What the previous rung left open ★★¶
| Rung | What is improved | Signal source | Representative work | Main failure (why the next rung exists) | Chapter |
|---|---|---|---|---|---|
| 2. Verified self-training → RLVR | Weights | External verifier on the model's own samples (answers, tests) | STaR, ReST-EM, RLVR (DeepSeek-R1), synthetic SWE environments | Needs human-curated problems and verifiers; mostly sharpens within base-model coverage | Ch 3 |
| 3. Self-reward and self-play ("zero data") | Weights | Internal signals (majority vote, confidence) or self-proposed tasks checked by an executor or corpus | TTRL, Intuitor, Absolute Zero, R-Zero, SPICE, self-play SWE-RL, SDPO | Intrinsic rewards rise then collapse; only grounded self-play keeps improving; weight updates are costly, opaque and per-model | Ch 4 |
Chapter 3 showed how RLVR amortizes "sample + verify" search into the weights: the model samples a problem with a known answer several times, a verifier checks each attempt, and RL raises the probability of the correct ones. This rung has powered reasoning models since 2025, but two of its parts still depend on people. The first is the problem source: every training problem must be collected and curated by someone, together with an answer or test that can be checked automatically, so the size and difficulty of the problem pool are set by humans. The second is the verifier: answer matchers and unit tests are also written by people for each kind of task. Add Chapter 3's conclusion that RLVR mostly sharpens within what the base model already covers, and a natural question follows: since models keep getting stronger, can they set their own problems and give their own rewards, taking humans out of the loop?
In the four-part loop used throughout this direction (see Chapter 1), self-improvement consists of a generator, a verifier, an updater and a problem source. This rung (rung 3 on the ladder map in Chapter 1) tries to replace exactly two of these parts: the human-written verifier, with the model's own internal signals (agreement, confidence, self-judgment), and the human-curated problem pool, with problems the model proposes itself. The updater stays the same: RL on the weights (GRPO and related algorithms are covered in Post-Training Chapter 4), or self-distillation, which appeared in 2026. In 2025 this line of work, known as "zero-data" or "label-free" learning, was extremely active.
Interview questions
- ★★ What is "zero-data" self-improvement, and which parts of the loop does it try to take humans out of?
-
★ Does "zero data" mean the model uses no human knowledge at all?
No. "Zero data" means no human-curated problems or answers are used during RL, but the starting point is a model pretrained on huge amounts of human text and code; it knows Python and math, and that is all human knowledge. What problems the proposer can come up with is also limited by this prior. It is more accurate to say that it removes human labels from post-training, not all human knowledge.
This chapter's question and answer ★★¶
| Loop part | Rung 2 (RLVR) | Rung 3, internal-signal route | Rung 3, self-play route |
|---|---|---|---|
| Generator | The policy | The policy | The policy as solver |
| Verifier | Answer checker or tests on curated labels | Majority vote, confidence, entropy, self-judgment | Code executor, game rules, corpus answers, repository tests, or majority vote |
| Updater | RL on weights | RL or self-distillation on weights | RL on both proposer and solver |
| Problem source | Human-curated datasets | Unlabeled questions (often the test set itself) | Problems proposed by the model |
The question this chapter answers is: when both the reward and the problems come from the model itself, can the loop keep improving? Much 2025 work gave optimistic early results, and systematic 2026 studies gave a more sober answer, which can be summed up in three sentences. First, purely internal rewards (majority vote, confidence, entropy) are all essentially sharpening: they rise and then collapse, and when they collapse is decided by the base model's prior; many striking results were also tied to particular model families and data contamination (4.2–4.4). Second, self-play can set its own problems, but if neither the verification nor the problems touch the outside world, it stalls after a few rounds; only grounded self-play, where an executor, a corpus, real code repositories or executable environments bring new information into the loop, keeps improving (4.5–4.6). Third, self-distillation, which took off in 2026, uses "the model after seeing the feedback" as its own teacher and provides a dense signal, but its gains on reasoning sparked a sharp controversy (4.7). Section 4.8 distills these results into one lesson: the "self" can supply problems, but it can hardly supply information.
Interview questions
- ★★ Which part of the loop does the internal-reward route replace, and which does the self-play route replace?
4.2 Learning from Internal Signals ★★¶
Lineage: the model as its own judge ★¶
The idea of a model producing its own reward first appeared in chat alignment. Self-Rewarding Language Models (Yuan et al. 2024) had the same model both generate answers and score them with an LLM-as-a-judge rubric, pairing the highest- and lowest-scoring answers for iterative DPO; after three iterations, Llama 2 70B beat the then-current Claude 2, Gemini Pro and GPT-4 0613 on AlpacaEval 2.0, but its average response length more than doubled, and its judging ability improved much more slowly than its generation. Meta-Rewarding (Wu et al. 2024) had the model also act as a "meta-judge" that evaluates its own judgments, training the judge directly, which raised Llama-3-8B-Instruct's length-controlled AlpacaEval 2 win rate from 22.9% to 39.4%. Both are now seen as historical: they target subjective chat preference, saturate within a few iterations, and are vulnerable to self-preference and length hacking. But they raised this chapter's core question: can the reward come from the model itself? In 2025 the question moved to reasoning tasks, and "self-judgment" was replaced by cheaper, seemingly more objective signals: the model's own agreement and confidence.
Three kinds of internal reward ★★¶
Majority vote: TTRL. TTRL (Test-Time Reinforcement Learning, Zuo et al. 2025) does RL directly on unlabeled problems, which can even be the test problems themselves. For each problem it samples \(N\) answers; \(\mathrm{ans}(y_i)\) is the final answer of the \(i\)-th response, the most frequent answer \(\hat{a}\) becomes the pseudo-label, responses that agree with it get reward 1 and the rest get 0, and training uses GRPO. On Qwen2.5-Math-7B, AIME 2024 pass@1 roughly tripled (the latest abstract reports a relative gain of about 211%), and the trained model's single-sample accuracy beat the original model's own majority-vote score. Pseudo-labels are often wrong, so why does training work? The authors call it a "lucky hit": even when the majority answer is wrong, most wrong responses give answers different from that wrong majority, so they still get 0, which happens to be the correct reward. On AIME 2024 only about 37% of pseudo-labels were correct, yet about 92% of rewards were. But the authors also report no gain when the prior is too weak, for example Qwen2.5-Math-1.5B and Llama-3.1-8B-Instruct on AIME.
Self-certainty: Intuitor. Intuitor (Zhao et al. 2025) uses self-certainty as its only reward. \(U\) is the uniform distribution over the vocabulary and \(\pi_\theta(\cdot \mid x, y_{<t})\) is the model's next-token distribution at step \(t\); the larger the KL between them, the more "certain" the model is at that step, and averaging over the response gives \(r_{\text{cert}}\). It needs no final answer, so it also works on tasks where answers can't be matched; the paper reports it matches GRPO on math and generalizes better to code.
Entropy minimization. \(H\) is the entropy of the next-token distribution, and \(r_{\text{ent}}\) is the negative of the average token entropy. Agarwal et al. (2025) found that with negative entropy as the only reward (EM-RL), Qwen-7B matches or beats GRPO and RLOO trained on 60K labeled examples; RENT (Prabhudesai et al. 2025) reported similar results across the Qwen, Mistral and Llama families.
What they share. The three signals look different, but they reward the same thing: the model agreeing with itself. Majority vote rewards responses that "match most samples"; self-certainty and negative entropy reward responses with "sharper distributions". As long as the model's confidence correlates with correctness, that is, as long as the answers it gives most often and most confidently are usually right, pushing probability toward them raises pass@1. This is exactly the sharpening of Chapter 3: TTRL amounts to amortizing an inference-time search like majority voting (see LLM Basic Chapter 7, Section 7.3) into the weights, so that one sample gets what used to take many. And precisely because of this, as the next section shows, their ceiling is written in from the start.
Interview questions
- ★★ How does TTRL do RL on unlabeled problems, and why does training work even though pseudo-labels are often wrong?
- ★★ What do majority vote, self-certainty and entropy minimization have in common as internal rewards?
- ★ Why are Self-Rewarding and Meta-Rewarding now seen as historical?
4.3 Rise Then Collapse: The Ceiling of Internal Signals ★★¶
Every intrinsic reward is sharpening ★★¶
All three internal rewards from the previous section work at first, so how far can they go? Start with an extreme case: if we keep minimizing entropy, what is the optimum? Any deterministic distribution \(\delta_{y^\dagger(x)}\) that puts all probability on one response \(y^\dagger(x)\) is optimal, since all of them have entropy 0. Note that nothing in this objective mentions "correct": it doesn't care whether \(y^\dagger\) is a right or a wrong answer. In practice, training starts from the initial model \(\pi_0\) and runs gradient descent, and which \(y^\dagger\) it ends up at is largely decided by which answer \(\pi_0\) already favored. Majority vote is the same: its fixed point is "always output the current majority answer", and the reward function has no idea whether that answer is right.
He et al. (2026, ICLR 2026) made this intuition systematic. They split unsupervised RLVR into two classes: intrinsic methods take rewards from the model's own signals (confidence, entropy, agreement), and external methods take rewards from sources outside the model. In theory, all intrinsic methods end up sharpening the model's initial output distribution: this helps when initial confidence lines up with correctness and fails badly when it doesn't. In experiments, every intrinsic method shows a rise-then-fall curve, and whether the collapse comes early or late depends on the model's prior, not on implementation details. The authors therefore propose the "Model Collapse Step" (the training step at which collapse happens) as a practical indicator of the prior and of whether RL will be trainable. They also reach two positive conclusions: intrinsic rewards remain useful for test-time training on small datasets; and external methods that exploit computational asymmetry (checking is easier than solving) show early signs of breaking the "confidence–correctness" ceiling.
Why rise and then collapse? Think of training as two forces trading places. At first, most of the probability shift happens on problems the model "usually gets right", where the majority answer is correct, so sharpening lifts pass@1 and the curve rises. At the same time, on problems where the model is unsure or confidently wrong, sharpening locks in the wrong answer and gradually swallows correct answers it could still sample. Worse, the cheapest way to maximize agreement or certainty is often to degenerate: responses get shorter and more templated, and every problem gets the same answer. The longer training runs, the more the second force dominates, and the curve drops. Zhang et al. (2025), in their "No Free Lunch" study, saw the same thing: internal feedback helps base models early, then performance falls below the starting point; and it gives almost no gain on instruction-tuned models, because their distributions are already sharp and there is little left to sharpen.
Interview questions
- ★★ Why are all intrinsic rewards essentially sharpening?
- ★★ Why does training on intrinsic rewards rise and then collapse, and what decides when it collapses?
- ★ Why does internal feedback give almost no gain on instruction-tuned models?
The consensus trap and correct-answer extinction ★★¶
The way majority-vote rewards fail has its own name. CoVerRL (Pan et al. 2026) calls it the consensus trap: training keeps pushing up self-consistency, output diversity collapses along with it, and the model confidently reinforces systematic errors without noticing, because the reward itself is "everyone says so". TTRL-Guard (Lin et al. 2026) went further and described how such errors become irreversible. On problems where the model is weak, they found, the correct answer's signal stays "alive" only briefly: it is in the minority and gets sampled now and then, but every update pushes probability toward the wrong majority answer, and soon it can no longer be sampled at all. Once the correct answer vanishes from the samples it never earns reward again, its advantage stays at 0, and it never comes back. The authors call this the Correct-Answer Extinction Window, and point out that most of TTRL's reported gains come from sharpening problems the model could already solve, while problems that flip from right to wrong outnumber those genuinely learned.
The fixes have one thing in common: they put part of a verifier back into the loop. CoVerRL has one model alternate between generator and verifier roles: majority vote gives the verifier noisy but useful supervision, and the improving verifier in turn filters out self-consistent wrong pseudo-labels; self-verification accuracy rises from about 55% to over 85%, and math reasoning beats label-free baselines by 4.7–5.9 points. TTRL-Guard keeps gradient signal from minority answers, down-weights risky updates according to a "flip rate", and pauses updates on polarized problems, improving on TTRL by 54% relative on AIME 2025. Note that these methods don't make internal signals more informative; what they do is delay the collapse: the first partly restores "the verifier stays ahead of the generator" (compounding condition i), and the second protects diversity (condition iv). So by 2026 the role of internal rewards was clear: they suit small-scale test-time adaptation, auxiliary signals, or, as in the next section, probes, but not the main signal for long training runs.
Interview questions
- ★★ What is the consensus trap, and why can majority-vote rewards wipe out a correct minority answer?
- ★ How do CoVerRL and TTRL-Guard each delay collapse, and why can't they solve the problem at its root?
4.4 Spurious Rewards and Model-Family Artefacts ★★¶
Gains from rewards that carry almost no information ★★¶
If internal rewards only sharpen, how much of the information in a reward is actually doing the work? Several 2025 experiments pushed this question to the extreme. One-shot RLVR (Wang et al. 2025) found that RLVR on just one training problem raises Qwen2.5-Math-1.5B's MATH500 accuracy from 36.0% to 73.6%. Spurious Rewards (Shao et al. 2025) went further: giving Qwen2.5-Math-7B random rewards still improves MATH-500 by 21.4 points, compared with 29.1 points with ground-truth rewards.
A random reward has zero expected advantage, so the update should also be zero in expectation; why does the score go up? The authors attribute it to GRPO's clipping bias: PPO-style ratio clipping limits how much each token's probability can change in one update, and this limit doesn't act symmetrically on high- and low-probability behaviors, so even with an uninformative reward the expected update leans toward behaviors the model already uses often. For Qwen2.5-Math, that already-common behavior happens to be "reasoning with the help of Python code", which rises from about 65% to over 90% during training, and this style of reasoning is more likely to be right on these math problems anyway. In other words, a "signal-free" update is still sharpening; the direction just happens to be useful. The key counterexample is that this effect does not transfer to Llama3 or OLMo2.
Interview questions
- ★★ Why do random rewards improve Qwen2.5-Math but not Llama or OLMo?
Contamination, memorization and training stage ★★¶
| Finding | Evidence | What it implies |
|---|---|---|
| One example is enough | One-shot RLVR (Wang et al. 2025): MATH500 36.0% → 73.6% on Qwen2.5-Math-1.5B | RLVR largely elicits latent ability |
| Random rewards help Qwen2.5-Math | Spurious Rewards (Shao et al. 2025): +21.4 random vs +29.1 true on MATH-500; no transfer to Llama3 or OLMo2 | Clipping bias amplifies pre-existing behaviour |
| The gains track contamination | Reasoning or Memorization? (Wu et al. 2025): on a clean generator, only accurate rewards help | Some benchmarks are partly memorized |
| A memorization circuit is activated | Spurious Rewards Paradox (Yan et al. 2026): an anchor–adapter circuit in Qwen2.5 | The gain is retrieval, not reasoning |
| It depends on training stage | Probe with Participation Trophies (Mao et al. 2026): three regimes across OLMo checkpoints | Random-reward RL is a probe of reachability |
Why Qwen2.5 in particular? "Reasoning or Memorization?" (Wu et al. 2025) found that spurious-reward gains show up mainly on benchmarks such as MATH-500, AMC and AIME that may have leaked into pretraining data; on a clean data source that can keep generating new problems (RandomCalculation), only accurate rewards help. The Spurious Rewards Paradox (Yan et al. 2026) then located the mechanism: in Qwen2.5, spurious-reward RLVR activates an "anchor–adapter" circuit in which middle layers retrieve memorized solutions and later layers reshape them into the form of an answer. So many "random rewards work too" results improve memory retrieval, not reasoning.
Mao et al. (2026) offer a more constructive reading. Running experiments on several OLMo pretraining and mid-training checkpoints, they found that whether random rewards "work" depends on the training stage: early in pretraining, RL brings little gain even with correct rewards; later in pretraining, correct rewards work but random rewards remain weak; in mid-training, random rewards can also bring large gains. Two checkpoints with the same 3.5% accuracy on synthetic arithmetic reached 8.5% and 55% in their best correct-reward RL runs, showing that the same current performance can hide completely different answers to "how far can training push it". They therefore suggest treating random-reward RL as a probe that measures a model's latent reachability, not as a training method.
The most useful thing this section gives you for interviews is evaluation discipline. When you see a paper on "label-free" or "zero-data" RL, check at least four things: whether it was validated on several model families rather than only Qwen2.5-Math; whether it was tested on clean, recently released benchmarks; whether it was compared with baselines such as random rewards or format-only rewards; and whether training ran long enough to see the second half of the rise-then-collapse curve. Many striking 2025 numbers did not pass these checks, and that is a direct reason the field turned to grounded signals.
Interview questions
- ★★ What would you check when evaluating a paper on label-free RL?
- ★ What does it mean to say random-reward RL is a probe rather than a training method?
4.5 Self-Play: Letting the Model Set Its Own Problems ★★¶
Lineage: from AlphaZero to SPIN ★¶
The internal-reward route keeps a fixed problem set (often the test set itself) and only swaps out the verifier, so it is capped by the verifier's quality. Self-play swaps out a different part: the problem source. It takes its inspiration from AlphaZero, which works for two reasons: the rules are a perfect judge, and the opponent improves along with you, so practice difficulty automatically stays "just hard enough", which amounts to an automatically generated curriculum. An early attempt on LLMs was SPIN (Self-Play Fine-Tuning, Chen et al. 2024): the model plays against its previous self, with the human-written SFT response \(y\) as the "winner" and the previous model \(p_{\theta_t}\)'s own response \(y'\) as the "loser"; \(\sigma\) is the sigmoid and \(\lambda\) controls how far it may move from the previous round. This loss has exactly the form of DPO with the previous model as the reference (DPO is covered in Post-Training Chapter 3). Using only SFT data, SPIN raised a Mistral-7B SFT model's Open LLM Leaderboard average from 58.14 to 63.16. But its fixed point is \(p_\theta = p_{\text{data}}\): once the model can't be told apart from the human data, the gradient vanishes, so SPIN's ceiling is the SFT data itself. This shows that self-play without an outside judge can only approach a fixed target; to go beyond human data, the model has to set new problems itself and have a way to judge their answers.
Interview questions
- ★ How is SPIN related to DPO, and why is SPIN's ceiling the SFT data?
The proposer–solver template ★★¶
Most LLM self-play in 2025 uses an asymmetric proposer–solver structure: one role proposes problems (the proposer or challenger) and another solves them (the solver); the two roles are often played by the same model, and both are trained with RL. In the four-part loop, the solver is the generator, the proposer is the problem source, the updater is RL on both roles, and the verifier is the key design choice: it can be a code executor, game rules, or majority vote.
This design has to answer three questions: where do reference answers come from? How should the proposer be rewarded so that problems are "just hard enough"? And how do we stop the proposer from degenerating? The second question has two typical answers. On the left is Absolute Zero's learnability reward: \(\bar{s}(q)\) is the solver's average success rate over several attempts at problem \(q\); problems that are always or never solved have no learning value and give the proposer 0, and otherwise the proposer gets \(1 - \bar{s}(q)\), so the harder the problem (while still sometimes solvable), the higher the reward. On the right is R-Zero's uncertainty reward: \(\hat{p}(q)\) is the fraction of the solver's answers that agree with the majority, and the reward peaks at \(\hat{p} = 0.5\). Both reward problems the solver "sometimes gets right", for the same reason as in GRPO: when a group of responses is all right or all wrong, every advantage is 0 and there is no gradient (see Post-Training Chapter 4, Sections 4.4 and 4.11), so only problems that are sometimes right and sometimes wrong give RL a learning signal.
The proposer is itself optimized by RL, so it too games its reward: it proposes problems that are ambiguous, unsolvable or random (the solver can only guess, so its success rate looks nicely in the middle); it proposes the same high-scoring kind of problem over and over; and its problems drift away from the abilities we actually care about. With an executor many of these can be blocked, for example by requiring programs to run without errors and give the same result when run twice on the same input; without one it is much harder, because "a fifty-fifty vote" can mean either that the problem is hard or that it is ambiguous.
Interview questions
- ★★ In proposer–solver self-play, why do proposer rewards all favor problems the solver sometimes gets right?
- ★ How can the proposer game its reward, and how can this be prevented?
Absolute Zero, SPIRAL and R-Zero ★★¶
| Absolute Zero (AZR) | SPIRAL | R-Zero | |
|---|---|---|---|
| Problem source | Self-proposed code-reasoning tasks (deduction, abduction, induction) | Zero-sum games against a co-evolving copy | Challenger proposes questions |
| Verifier | Python executor validates tasks and computes answers | Game rules decide win or loss | Majority vote over 10 Solver answers |
| Curriculum signal | Learnability reward | The opponent improves with you | Uncertainty reward, peak at 50% agreement |
| Reported gain | AZR-Coder-7B: +10.2 overall, +15.2 math over base | Up to 10% on 8 reasoning benchmarks | Qwen3-4B-Base: +6.49 math, +7.54 general |
| Long-run behaviour | Keeps improving within executable domains | Keeps improving; transfer is indirect | Degrades after about 2–3 iterations |
Absolute Zero (AZR, Zhao et al. 2025) goes to an extreme: apart from one example of the identity function, it uses no external data at all. Each task is a (program, input, output) triple, and hiding different parts gives three kinds of reasoning problems: deduction, abduction and induction. A Python executor does two jobs at once: it checks that a task is valid (it runs, its result is deterministic, it has no dangerous imports), and it computes the reference answer directly and checks solutions. Precisely because the executor can both "provide the answer" and "judge right from wrong", the system can run with zero external data. AZR-Coder-7B's overall average is 10.2 points above its base, beating earlier same-size "zero" models trained on human-curated data; although every training task is code reasoning, its math score is 15.2 points above the base too. The authors also report a safety concern: when training Llama-3.1-8B, the model occasionally wrote worrying chains of thought, which they call the "uh-oh moment".
SPIRAL (Liu et al. 2025) returns to AlphaZero's original setting, having the model play TicTacToe, Kuhn Poker and a simple negotiation game against a continually updated copy of itself, with a separate baseline per role (role-conditioned advantage estimation). Trained only on these games, it improves 8 reasoning benchmarks by up to about 10%, beating SFT on 25K expert game trajectories, and different games develop complementary reasoning patterns.
R-Zero (Huang et al. 2025) drops the executor: a Challenger and a Solver are initialized from the same base, the Solver answers each question 10 times, and the majority answer becomes the pseudo-label. On Qwen3-4B-Base, math improves by 6.49 points and general reasoning by 7.54. But the authors themselves report two key findings: checked with GPT-4o, pseudo-label accuracy fell from 79% to 63% over the first three iterations; and after several iterations performance kept degrading, with the 0.6B model peaking at iteration 1 and the 4B model holding up for about 3. Put the three side by side and the pattern is clear: systems with an external verifier (AZR, SPIRAL) keep improving, while a system that replaces the verifier with self-judgment (R-Zero) loses its signal as problems get harder.
Interview questions
- ★★ How does Absolute Zero train without external data, and what role does the code executor play?
- ★★ Comparing Absolute Zero and R-Zero, what difference does having a verifier make?
- ★ Why can self-play on simple games improve math reasoning?
The diversity illusion and learnable information ★★¶
Why does ungrounded self-play usually stall after two or three rounds? Besides the verifier failure we just saw, there is also a cause on the proposer's side. R-Diverse (Li et al. 2026) calls it the diversity illusion: the training problems look varied, but keep reducing to the same few reasoning patterns. It takes two forms. One is local: R-Zero-style repetition penalties only deduplicate within a batch, so across iterations the data cycles among a few modes. The other is surface: the problems are worded differently but test almost the same reasoning skill. There are two matching fixes: a cross-iteration memory bank that penalizes problems already proposed, and measuring diversity by "which skill a problem exercises" rather than by its surface text. This keeps the gains going for more rounds.
Liu et al. (2026, ICML 2026 position track) give a more general explanation in terms of information: self-evolving loops stall quickly because each round adds data but not information the next round can learn from. Problems and answers the model generates itself carry only information from what the model already knows, and chewing on them again doesn't make it grow. They propose three ways out: asymmetric co-evolution, with proposer, solver and verifier evolving at different rates; capacity growth (parameters or inference budget) as learnable information increases; and proactive information seeking, bringing in new context and new problem sources from outside. The third is exactly the subject of the next section.
Interview questions
- ★★ Why does ungrounded self-play usually stall after two or three rounds?
- ★ What is the diversity illusion, and how does R-Diverse address it?
4.6 Grounded Self-Play: Loops That Keep Improving ★★¶
Four kinds of grounding ★★¶
| Method | Problem source | Verifier | Where new information enters | Reported result |
|---|---|---|---|---|
| SPICE (Liu et al. 2025) | A Challenger mines documents from a large corpus | Answers extracted from the document; rule-based check | The corpus; the Reasoner answers without the document | +8.9% math, +9.8% general reasoning across model families |
| Self-play SWE-RL (Wei et al. 2025) | The policy injects bugs into real repositories, each defined by a test patch | The repository's tests | Real code and its dependencies | +10.4 SWE-bench Verified, +7.8 SWE-bench Pro; beats a human-data baseline |
| SPADE (Liu et al. 2026) | The LLM writes executable Gym-style environments | Reward and verification code inside each environment | Corpus documents plus executed environment dynamics | +5.3 average on 8 held-out benchmarks (30B) |
| Agent0 (Xia et al. 2025) | A curriculum agent proposes tasks | Tool-integrated execution | A code interpreter extends what the executor can solve | Qwen3-8B-Base: +18% math, +24% general reasoning |
| Dr. Zero (Yue et al. 2026) | A proposer search agent | Search results | A search engine | Matches or beats supervised search agents |
From late 2025 into 2026, self-play loops that keep improving share one feature: new information enters the loop from outside the model. By where the information comes from, they fall into four kinds.
A corpus: SPICE. SPICE (Liu et al. 2025, Meta FAIR) has the Challenger mine a document from a large corpus, pose a question based on it, and extract the reference answer from the document; the Reasoner cannot see the document and must answer on its own, with answers checked by rules. This information asymmetry is the key: the proposer holds information that isn't in the model's parameters, so the problems and answers are not just a rearrangement of what the model already knows. The authors explicitly identify "corpus grounding" as the core difference from ungrounded self-play.
Real code repositories: Self-play SWE-RL. SSR (Wei et al. 2025, Meta) needs only sandboxed repositories with their dependencies installed, and no human-written issues or tests. One policy alternates between two roles: injecting bugs into real repositories, then repairing them, with difficulty rising over time. Each bug is defined by a test patch (tests that fail after the bug is injected and should pass once it is fixed), so "is it fixed?" can be judged automatically by running tests, with no human needed to write issues or grade answers. It improves SWE-bench Verified and SWE-bench Pro by 10.4 and 7.8 points and beats a human-data baseline throughout training, even though the natural-language issues used for evaluation never appear during self-play.
Executable environments: SPADE. SPADE (Liu et al. 2026) has one LLM act both as an environment designer, writing complete, multi-turn, stateful Gym-style environments in code (including state transitions, reward functions and verification code), and as an agent that learns in them. The designer is guided by the agent's regret: in the same environment, the agent's return with privileged hints minus its return without them. High regret means the environment is "solvable with hints but not yet without them", right at the edge of ability while still feasible. The paper reports two factors as critical: grounding the designer in documents sampled from a pretraining corpus, and giving it an accumulated environment memory. At 30B, SPADE beats the strongest fixed-environment baseline by 5.3 points on average across 8 held-out benchmarks.
Tools and search: Agent0 and Dr. Zero. Agent0 (Xia et al. 2025) co-evolves a curriculum agent and an executor agent; the executor can call a code interpreter, so it can solve harder problems, which in turn pushes the curriculum agent to propose harder ones. Dr. Zero (Yue et al. 2026) co-evolves proposer and solver search agents using only a search engine, matching or beating search agents trained with supervision. (Self-Challenging Agents (Zhou et al. 2025) follow a similar idea: the agent first explores its tools, then writes tasks with verification code and failure cases to train on.)
For open-ended domains without an executor, another option is to co-evolve the judge too. J-Zero (Chu et al. 2026) adds a judge alongside the challenger and solver. The judge isn't trained on its own scores, but on preference pairs whose order is fixed by how the responses were produced, for example that the solver's answer should beat the challenger's own answer. With such a judge, gains last for at least 10 iterations, while baselines start to degrade after 2.
Interview questions
- ★★ Where do SPICE, SSR and SPADE each bring new information into the loop?
- ★ Why does SPADE's regret signal keep environments hard but solvable?
- ★ Why does SSR define bugs by test patches rather than natural-language issues?
Why grounding keeps the loop going ★★¶
Why grounded loops can keep going is easiest to see against the compounding conditions of Chapter 1: they satisfy three of them at once.
First, the verifier doesn't weaken as problems get harder (condition i). An executor, a test patch or an answer in a document judges a hard problem just as accurately as an easy one. When the proposer pushes problems to the edge of ability, the verifier doesn't fail, so the generator–verifier gap still exists exactly where learning is most needed.
Second, new information enters the loop (condition iii). Facts in a corpus, real code in a repository and real feedback from running an environment are information the model's parameters didn't have, or didn't have organized. The loop is no longer just chewing on the model's prior, so it doesn't inevitably converge to the mode of the initial distribution the way internal rewards do.
Third, the problem supply moves with the frontier (condition ii), and there is now an external source of problems. Signals such as learnability and regret keep difficulty at the edge of ability, while corpora and code repositories are practically inexhaustible, so the proposer isn't left circling inside its own imagination; SPADE's environment memory and R-Diverse's cross-iteration memory bank protect diversity (condition iv).
Grounding has costs and limits too. It mainly applies to domains where checking is cheap: code, executable environments, and question answering where a clear answer can be extracted from a document. SSR and SPADE need large numbers of sandboxes and a lot of infrastructure. The proposer still games its reward, for example by writing environments whose verification code has holes, so validity and determinism checks are still needed. For the safety issues raised by agents that edit code and write environments, see Agent Chapter 7.
Interview questions
- ★★ Why does grounded self-play keep improving while ungrounded self-play stalls after a few rounds?
- ★ Which domains does grounded self-play suit, and which does it not?
Designing a grounded self-play loop ★★¶
A common open-ended interview question is "given a domain, design a training loop that improves itself". Organizing this chapter's lessons by the four-part loop gives an approach you can apply directly:
- Fix the verifier first. Rewrite the task into a form that can be checked by execution or matching: code with tests, environments with verification code, questions with answers extracted from documents. AZR writing every reasoning problem as a program and SSR defining bugs by test patches both follow this idea. If there is truly no executor, separate the judge from the generator or co-evolve the judge, and expect gains to saturate sooner.
- Then fix the problem source. Give the proposer an external source of problems (a corpus, code repositories, tools, a search engine) and create information asymmetry: the proposer sees something the solver doesn't. Use learnability or regret as the curriculum signal so that difficulty tracks the edge of ability.
- Protect diversity. Keep a cross-iteration memory bank, deduplicate by "which skill a problem tests" rather than surface wording, and penalize problem types that keep recurring.
- Gate the problems. Filter out unsolvable, ambiguous or random problems with validity and determinism checks, and spot-check the verification code the proposer writes as well.
- Monitor signal quality continuously. Every round, sample and check the accuracy of pseudo-labels or verification results, and track generation diversity and held-out performance; stop iterating when the signal clearly degrades, since further training only amplifies noise.
- Evaluate honestly. Test on several model families and clean benchmarks, compare with baselines such as random and format-only rewards, and run enough iterations to confirm there is no rise-then-collapse.
Interview questions
- ★★ Given a domain, how would you design a training loop that keeps improving itself?
4.7 Self-Distillation: Dense Self-Feedback and Its Controversy ★★¶
From a scalar reward to a self that has seen the feedback ★★¶
The methods so far settle where the signal comes from, but whether it is an internal reward or grounded self-play, the updater still gets just one scalar per attempt: right or wrong, win or loss. A reasoning trace thousands of tokens long earns a single 0 or 1, and which steps caused the failure can only be averaged out over many samples; this is the credit-assignment bottleneck. Yet many verifiable environments actually return far richer feedback: runtime errors, failing tests, written comments from a judge, which say directly "where it went wrong". The self-distillation methods of 2026 try to use this information without needing a stronger teacher: let the model itself, after seeing the feedback, be the teacher.
The formula is the common form of these methods. \(x\) is the problem and \(y\) is a response sampled by the student itself (the current policy, which sees no extra information), so training is on-policy; \(c\) is privileged context that only the teacher sees; the teacher is the same model \(\pi_\theta\), just with \(c\) added to its conditioning; \(\mathrm{sg}[\cdot]\) means stop-gradient, so the teacher's distribution serves only as a target; and \(D\) is a per-token divergence between distributions (for example KL). Intuitively, at every step the student actually took, it moves toward "how I would have written this step if I had known \(c\)". This is the same machinery as on-policy distillation (see Post-Training Chapter 5, Section 5.4); the only difference is that the teacher is "myself with privileged information" rather than a larger model.
SDPO (Hübotter et al. 2026) calls this setting RL with rich feedback, where \(c\) is the textual feedback returned by the environment. After reading the error or failing test, the current model re-scores its own failed attempt token by token, and these "feedback-informed" predictions are distilled back into the policy. It needs no external teacher or reward model; it relies on the model's ability to recognize its own mistakes in context. The paper reports better sample efficiency and final accuracy than strong RLVR baselines on scientific reasoning, tool use and LiveCodeBench v6; in settings with only scalar rewards, it uses successful responses as implicit feedback for failed ones; and when applied at test time to a single hard problem, it reaches the same discovery probability as best-of-k sampling with about a third of the attempts. In OPSD (Zhao et al. 2026), \(c\) is instead a verified solution: the teacher sees the solution, the student sees only the problem, and the per-token divergence is minimized on the student's responses; the authors report it is more token-efficient than RL and better than off-policy distillation.
From the self-improvement angle, self-distillation still exploits the generator–verifier gap: judging "this step is wrong" while looking at an error message is easier than writing correct code from scratch, so "myself after seeing the feedback" is a better verifier than "myself writing the code". The difference is that the gap is used directly to produce a dense per-token signal rather than a scalar.
Interview questions
- ★★ What is SDPO's "self-teacher," and how does it turn a scalar reward into a dense signal?
- ★ How does self-distillation relate to on-policy distillation?
Comparing three update signals ★¶
| RLVR (e.g. GRPO) | On-policy distillation | Self-distillation (SDPO, OPSD) | |
|---|---|---|---|
| Where the target comes from | A scalar verifier reward | A larger teacher's token distributions | The same model conditioned on feedback or a reference solution |
| Signal density | One number per response | Per token | Per token |
| Needs a stronger model | No | Yes | No |
| Uses textual feedback | No | No | Yes (SDPO) |
| Main risk | Sparse credit; sharpening | Teacher cost; teacher–student mismatch | An overconfident teacher; the signal may not reflect the privileged content |
Putting the three update signals side by side makes self-distillation's position clear. RLVR needs no stronger model, but each response gets one number, so the signal is sparse; on-policy distillation has a dense per-token signal, but it requires a stronger teacher, whose level is also its ceiling. Self-distillation tries to get both: a signal as dense as distillation, with no stronger model needed, as in RLVR. The price is that the teacher's quality depends entirely on whether the model can really make use of the privileged information in context; if it can't, "myself after seeing the answer" is just a more confident self, not a more correct one. This is precisely what the controversy in the next subsection calls into question.
Interview questions
- ★ Compare RLVR, on-policy distillation and self-distillation: where does each signal come from, and what are the risks?
2026 The 2026 controversy ★★¶
| Claim | Critique | Evidence |
|---|---|---|
| Privileged self-distillation improves reasoning | It hurts thinking models on long reasoning | Kaur et al. 2026: up to 17% relative drop in avg@16 on AIME24/25 and HMMT25 across five Qwen3 and OLMo thinking models |
| The gains come from the privileged information | A correct reference is not consistently needed; an unrelated problem's solution often does as well or better | Shrestha and Tessier 2026 |
| The gains generalize | Gains do not consistently transfer to unseen problems; gradients align only weakly with reward gradients | Adhinarta et al. 2026, reproducing SDPO and OPSD on Qwen3 1.7–14B and OLMo-3-7B |
Self-distillation was popular from the moment it appeared, but by the second half of 2026 its use for improving reasoning faced three lines of criticism.
It hurts thinking models. Kaur et al. (2026, NeurIPS 2026) found on five Qwen3 and OLMo thinking models that privileged-context self-distillation lowers avg@16 on AIME24, AIME25 and HMMT25 by up to 17% relative; the more privileged information is hidden from the student and the longer the rollout budget, the worse the drop, and long rollouts are exactly where thinking models gain the most. A larger privileged teacher behaves the same way: plain on-policy distillation improves thinking models, but adding privileged information wipes out the gains. Diagnostics show that privileged context changes learning at high-entropy "forking" tokens, lowering the fork rate, and penalizes self-correction tokens: trained models write noticeably fewer verification, backtracking and hedging markers such as "maybe".
Why? Think of it this way: a teacher who has already seen the answer never hesitates. At the points where an honest solver should stop to check or consider another path, the teacher assigns low probability to tokens like "wait, let me verify", because it already knows the answer. A student distilled to imitate such a teacher learns to act as if it already knew the answer, and loses the self-verification behavior that, as Chapter 2 explains, reasoning models rely on to correct themselves. This also explains why self-distillation is more reliable on instruct models: they rarely fork or backtrack in the first place, so there is nothing to wipe out.
The gains may not come from the privileged information. Shrestha and Tessier (2026) ran controlled experiments on OPSD: the correct reference solution did not reliably bring gains, and on several math benchmarks a solution to a different, unrelated problem worked better than the correct one. In other words, the teacher signal works mainly through "alignment of reasoning style", not through the content of the privileged information.
The gains may not generalize. Adhinarta et al. (2026, MIT and IBM) reproduced SDPO and OPSD on Qwen3 (1.7B to 14B) and OLMo-3-7B across code, science, tool use and math, and found that the reported gains don't reliably transfer to unseen problems; they come mainly from overfitting or from transferring reasoning behavior the model already had. Moreover, self-distillation gradients align only weakly with policy gradients that directly optimize expected reward.
This controversy can be seen as a 2026 rerun of the 2025 spurious-reward debate, with dense signals in place of scalar ones: a signal that "works" need not carry the information you think it carries. This doesn't negate the value of self-distillation. As a credit-assignment tool, on instruct models, and above all in continual learning (letting a model learn new knowledge with less forgetting through "myself after seeing a demonstration"; see SDFT in Chapter 6), it remains very promising. But using it on strong reasoning models needs finer token-level treatment, such as protecting the tokens tied to self-correction.
Interview questions
- ★★ Why does privileged-information self-distillation hurt thinking models?
- ★★ How would you test whether self-distillation's gains really come from the privileged information?
- ★ What do the self-distillation debate and the 2025 spurious-reward debate have in common?
4.8 The Lesson: Internal vs Grounded Signals ★★¶
The farther the signal is from the model, the farther the loop goes ★★¶
| Signal | Examples | What it can do | Typical failure | Late-2026 status |
|---|---|---|---|---|
| Self-judged preference | Self-Rewarding, Meta-Rewarding | Iterative alignment without new labels | Self-preference, length hacking, saturation in a few rounds | Historical |
| Agreement or confidence | TTRL, Intuitor, entropy minimization | Sharpen within coverage; small-data test-time adaptation | Rise then collapse; consensus trap | Probe or auxiliary signal |
| Random or format-only reward | Spurious Rewards, one-shot RLVR | Elicit latent or memorized behaviour | Model-family and contamination artefacts | Probe of reachability |
| Ungrounded self-play | R-Zero | Automatic curriculum | Label decay; diversity illusion; stalls after 2–3 rounds | Needs a verifier and memory |
| Grounded self-play | AZR, SPICE, SSR, SPADE, Agent0 | Keeps improving; beats human-data baselines in places | Limited to checkable domains; proposer gaming; infrastructure cost | Frontier |
| Self-distillation | SDPO, OPSD | Dense credit assignment | Hurts thinking models; unclear use of privileged information | Contested for reasoning; promising for continual learning |
Lining up this chapter's results reveals a clear pattern: how long the loop can keep going depends on how far the signal is from the model itself. The signals closest to the model (confidence, agreement, self-judgment) can only push the model toward what it already believes, so they are necessarily sharpening and rise then collapse; random rewards "improve scores" while carrying no information at all, which shows that what gets measured at this end is often latent ability rather than learning. The farther the signal is from the model (execution results, answers in a corpus, a repository's tests), the better it stays accurate at the edge of ability and the more new information it brings, so the longer the loop can run. This matches a survey of 1,250 RSI papers (Chen, Wang, Qu 2026): it ranks verification signals into a verification hierarchy from formal verifiers (strongest) to intrinsic self-assessment (weakest), with execution and tests, grounded external evidence and model judges roughly in between, and finds that the demonstrated strength of self-improvement tracks exactly this hierarchy (see Chapter 1, Section 1.6 and Chapter 2, Section 2.6).
So the name "zero data" is somewhat misleading. The methods that really work haven't escaped data; they have escaped human labels: the model generates the problems, but the information behind them and the basis for grading come from corpora, code repositories, executors and environments. In one sentence: the "self" can supply problems and a curriculum, but information and verification must come from outside.
Interview questions
- ★★ Why is the name "zero data" misleading, and what actually makes these methods work?
The generator–verifier gap from the self-play angle ★★¶
Self-improvement rests on the premise that checking an answer is easier than coming up with one, i.e. that the generator–verifier gap is positive: only if verification can pick out candidates better than average does training have anything to learn. The formal definition of the gap, how it changes with pretraining scale, why it shrinks to near 0 after two or three iterations, and why it is nearly zero on factual questions are all covered in Chapter 8 (Song et al. 2024). Here we focus on one insight that is specific to self-play.
In self-play the proposer is rewarded for problems that are "just hard enough", so training always concentrates at the edge of the model's ability. If verification comes from the environment, its reliability doesn't depend on difficulty: however hard the problem, the judgment stays accurate, so the gap doesn't shrink as problems get harder. If verification comes from the model itself, then at the edge of its ability, judging whether an answer is right is often as hard as solving the problem, so the gap disappears exactly where learning is most needed. R-Zero's pseudo-label accuracy falling round by round is a direct result of the proposer pushing problems to the edge while majority vote fails there. In other words, an adaptive curriculum and self-judgment are designs in natural conflict: an adaptive curriculum can only run for long when paired with a verifier that doesn't depend on the model's ability.
This suggests several ways to widen the gap, all of which have appeared in this chapter: give the verifier tools (Agent0's code interpreter); create information asymmetry (SPICE's proposer has the document and the solver doesn't; SPADE's privileged hints); separate the verifier from the generator or draw it from a different model family (Lu et al. 2025 found cross-family verification beats self-verification, and that reasoning post-training weakens the gains from self-verification); and co-evolve the judge or verifier (CoVerRL, J-Zero).
Interview questions
- ★★ Using the generator–verifier gap, explain why an adaptive curriculum paired with self-judgment tends to fail.
- ★ If you were designing a self-play system, how would you widen the generator–verifier gap?
Checking the five compounding conditions ★¶
| Condition | Internal-signal RL | Ungrounded self-play | Grounded self-play |
|---|---|---|---|
| (i) The verifier stays ahead of the generator | No: the verifier is the generator | No: majority vote decays at the frontier | Yes: executor, tests or corpus answers |
| (ii) The problem supply moves with the frontier | No: fixed question set | Partly: learnability rewards, but problems cycle | Yes: learnability or regret plus an external pool |
| (iii) New information enters the loop (grounding) | No | No | Yes: corpus, repositories, environments, tools |
| (iv) Diversity is protected | No: entropy falls by design | Weakly: within-batch penalties only | Partly: environment memory, cross-iteration memory |
| (v) Accepted changes are gated | No | No | Partly: validity and determinism checks |
Seen through the five compounding conditions of Chapter 1, the differences among this chapter's three routes are plain. Internal-signal RL satisfies almost none of them: the verifier is the generator itself, the problems are fixed, no new information comes in, and falling entropy is literally its objective. Ungrounded self-play partly satisfies condition (ii): it proposes problems automatically, but the problems cycle and the verifier fails at the edge. Grounded self-play satisfies (i), (ii) and (iii), and partly (iv), which is exactly why it keeps improving. Every route is weak on (v): an update is accepted only because "the reward went up this step", with no independent gate. This gap becomes even more prominent in Chapter 5's systems that rewrite their own code, and Chapter 8 discusses it in depth.
Interview questions
- ★★ Given a new domain, how would you judge whether self-play there can keep improving?
4.9 Summary and Bridge ★¶
What this rung achieved. Rung 3 showed that models can set their own problems and build their own curricula: in some settings AZR, SSR and SPADE beat baselines trained on human data without any human labels. It also made one basic fact clear to the field: rewards from inside the model can only sharpen, rising then collapsing, and a number of striking results were artefacts of model family and data contamination; the loops that keep improving all have new information entering from outside and a verifier that stays reliable at the edge of ability.
Which part is the bottleneck. In terms of the four-part loop, this chapter largely solved the problem source, provided the loop is grounded; the verifier is solved in domains where things can be executed or looked up, but remains the bottleneck in open-ended domains. The new bottleneck is the updater. Every improvement in this chapter has to be written into the weights: each one needs large-scale RL or distillation, which is costly and slow to iterate; what changed can't be inspected directly; switching to a new base model means starting over; it is impossible for closed models available only through an API; and every weight update risks forgetting old abilities.
Next chapter. Chapter 5 changes what the updater writes to, from the weights to the system around the model: the context and playbook, prompts, skills, memory, and even the agent's own code and improvement procedure. These changes are cheap, readable and reversible, can be made separately for each deployment, and can directly use the kind of rich textual feedback from Section 4.7, only written into text instead of into weights.
Interview questions
- ★★ In 90 seconds: what did 2025–2026 research on "zero-data" self-improvement conclude?
- ★ Why is the new bottleneck at rung 3 the updater?