Skip to content

Chapter 2 · Test-Time Self-Correction and Verification


2.1 Where This Chapter Fits ★★

Rungs 0–1 on the ladder

Rung What is improved Signal source Representative work Main failure (why the next rung exists) Chapter
0. Prompted self-refinement One answer The model's own critique Self-Refine, Reflexion No new information: intrinsic self-correction does not help reasoning (Huang et al. 2023) Ch 2
1. Learned verification and test-time search One answer RL-trained self-verification, generative verifiers, meta-verifiers, Lean SCoRe, generative verifiers, DeepSeekMath-V2, Aletheia, AlphaProof Nexus Nothing persists across queries; compute is paid per query; self-evaluation bias Ch 2

Chapter 1 (1.2) treats every self-improvement method as the same four-part loop: a generator proposes candidates, a verifier decides which is better, an updater writes the improvement somewhere, and a problem source decides what to practise on. Each rung of the ladder changes two things: what gets improved, and where the improvement signal comes from. The table shows the first two rows of the ladder map in Chapter 1, Section 1.5, i.e. the two lowest rungs. On both rungs, what gets improved is just one answer: the model "writes, checks and revises" within a single inference, the weights don't move, and nothing is kept once the question has been answered.

Why start here? Because this is the shallowest and cheapest rung, and yet it raises the most basic question of the whole direction: can a system tell a better output from a worse one? If a model can't even recognize the errors in a single answer, then no deeper loop built on its judgment can work, whether that loop trains on its own data, sets and grades its own problems, or edits its own code. So although this rung looks like it is about "correction", the real protagonist is the verifier.

Interview questions

  • ★ Rungs 0 and 1 both improve a single answer; what is the fundamental difference between them?

The four-part loop at this rung ★★

\[y_0 \sim \pi_\theta(\cdot \mid x), \qquad f_t = V(x, y_t), \qquad y_{t+1} \sim \pi_\theta(\cdot \mid x,\, y_0, f_0, \dots, y_t, f_t)\]
problem source: the user's query x (fixed, from outside)
        │
        ▼
generator π_θ ──draft y_t──► verifier V (self / trained / tool / Lean) ──feedback f_t──┐
        ▲                                                                              │
        └──────── updater: append (y_t, f_t) to the context; weights unchanged ◄───────┘

In the formula, \(x\) is the question, \(\pi_\theta\) is the model (the policy), \(y_t\) is the \(t\)-th version of the answer, \(V\) is the verifier, and \(f_t\) is its feedback (a critique, a score, an error message, or Lean's verdict). Mapping onto the four parts: the generator is the model itself; the verifier can be the model itself, a specially trained verification model, or an external tool such as an interpreter, a search engine or Lean; the updater merely appends this round's answer and feedback to the context, and the next version is generated on the longer context; the problem source is the user's question, given from outside, which the system can't choose.

The development of this rung follows one line. In 2023 it turned out that simply prompting a model to "check itself" doesn't improve reasoning, because no new information enters the loop (2.2). So from 2024 on, research turned to training verification as a skill and letting it scale with compute the way generation does (2.3); self-verification also emerged inside the long CoT of reasoning models, but it mostly confirms the answer it already has (2.4). By 2025–2026, explicit "generate–verify–revise" loops with specially trained verifiers or Lean reached IMO gold and research-level mathematical results (2.5). And however strong the verifier, this route has three structural limits: nothing is kept, compute is paid every time, and self-evaluation bias doesn't go to zero (2.7). These are exactly the starting point of Chapter 3. (The basics of test-time scaling, such as self-consistency, best-of-N, and parallel versus sequential scaling, are in LLM Basic Chapter 7, Sections 7.1 and 7.3; here we cover only the "verify and revise" side and how it became a self-improvement mechanism.)

Interview questions

  • ★★ Describe test-time self-correction in terms of the four parts: generator, verifier, updater and problem source.
  • ★ How does test-time self-correction differ from self-improvement that updates the weights?

2.2 Rung 0: Why Prompted Self-Correction Falls Short ★★

Lineage: Self-Refine and Reflexion ★

In 2023, self-correction first appeared as prompting. Self-Refine (Madaan et al. 2023) has the same model write a draft, write specific feedback on it, and rewrite according to that feedback, for a few rounds; it gained about 20 points on average across 7 tasks, but the gains were concentrated on open-ended tasks such as "is the reply empathetic" or "is the code readable", and were small on math reasoning. Reflexion (Shinn et al. 2023) stores the reflections written after a failure in memory and reads them on the next attempt, reaching 91% pass@1 on HumanEval; but its reflections are triggered by external signals such as the results of running unit tests or task success. Today both survive mainly as agent-scaffold baselines; their design is covered in Agent Chapter 2, Section 2.4. In the language of the four-part loop, their key difference is the verifier: Self-Refine's verifier is the model itself, while Reflexion's is a test or the environment. That difference turns out to be the crux of everything that follows.

Interview questions

  • ★ How do the feedback sources of Self-Refine and Reflexion differ, and why does that difference matter?

Intrinsic self-correction does not improve reasoning ★★

Model Benchmark Initial answer After two rounds of intrinsic self-correction
GPT-3.5-Turbo CommonSenseQA 75.8 41.8
GPT-4 GSM8K 95.5 89.0
GPT-4 HotpotQA 49.0 43.0
Llama-2-70B-chat GSM8K 62.0 36.5

Huang et al. (2023) specifically tested whether a model can correct its own reasoning without any external feedback. The setup is simple: first answer the question; then ask the model to critique itself with "review your previous answer and find problems with it"; finally ask it to revise based on the critique. On math (GSM8K), commonsense QA (CommonSenseQA) and multi-hop QA (HotpotQA), the accuracy of GPT-3.5, GPT-4 and Llama-2 dropped almost everywhere after correction, sometimes dramatically (see the table). Analysing how answers changed showed that the model kept its original answer most of the time; when it did change, "correct to wrong" was often more common than "wrong to correct".

So where did the impressive earlier results come from? The authors found three reasons. First, ground-truth answers decided when to stop: some work on reasoning tasks stopped once the answer was right and kept revising only when it was wrong, which amounts to the outside world telling the model "you got this one wrong", so the model only had to retry on questions already known to be wrong. Second, baselines with unequal inference cost: multi-agent debate generates more responses, and compared with self-consistency using the same number of responses, the latter was actually better on GSM8K, which shows the gain came mainly from "agreement among several samples", not from criticism and revision themselves. Third, the initial prompt was weak: in Self-Refine's constrained generation task, a key requirement appeared only in the feedback prompt; once it was written directly into the initial prompt, a single generation beat the corrected result. The shared lesson: when evaluating a correction method, there must be no oracle, comparisons must use the same inference compute, and the initial prompt deserves as much care as the correction prompt.

Interview questions

  • ★★ Why is it said that LLMs cannot yet intrinsically self-correct their reasoning, and what was wrong with the early positive results?
  • ★ Is multi-agent debate better than self-consistency?

The net-gain formula: the bottleneck is verification ★★

\[\mathrm{Acc}(y_1) = a_0\,(1 - p_{c\to i}) + (1 - a_0)\,p_{i\to c} \quad\Longrightarrow\quad \Delta = \mathrm{Acc}(y_1) - a_0 = (1 - a_0)\,p_{i\to c} - a_0\,p_{c\to i}\]

Whether accuracy goes up or down after one round of revision can be read off this formula. \(a_0\) is the accuracy of the first answer, \(p_{i\to c}\) is the probability that a wrong answer gets fixed, and \(p_{c\to i}\) is the probability that a correct answer gets broken. Accuracy after revision is "was correct and wasn't broken" plus "was wrong and got fixed"; subtracting \(a_0\) gives the net gain \(\Delta\). It reveals a counterintuitive fact: the more accurate the first answer, the easier it is for self-correction to hurt. With \(a_0 = 0.9\), for example, breaking just 5% of correct answers costs 4.5 points; to win those back, the model would need to fix 45% of the wrong ones. So whether revision helps depends less on whether the model "can fix things" and more on whether it can tell which answers need fixing and which don't, that is, on its verification ability. Using the ground truth to decide whether to revise forces \(p_{c\to i}\) to 0, which is the mathematical reason oracle setups overstate the effect.

Tyen et al. (2023) split correction into two steps and tested them separately: first find which step is wrong (detection), then fix it (revision). The bottleneck was almost entirely detection: models are poor at finding logical errors in their own reasoning chains, but when told exactly which step is wrong, they can often fix it. In one sentence: the model can fix, but can't find. Why can't it find the errors? There are three reasons. First, errors are correlated: the knowledge gap or reasoning shortcut that caused the error while solving is still there while checking, so the same model looking again in the same way easily sees nothing wrong. Second, the first answer is already what the model considers best: with no new information coming in, the second answer is like drawing again from roughly the same distribution, and on average it won't be better. Third, the feedback prompt carries a hint: "find problems with your answer" implies something is wrong, and models have a sycophantic tendency, so they may change a correct answer just to "respond to the criticism". The survey by Kamoi et al. (2024) reached a consistent conclusion: correction with prompting alone, using the model's own feedback, has not been shown to work on general tasks; correction clearly works when reliable external feedback is available, or when the model has been trained at scale specifically for correction. Those two cases are exactly the topics of the next subsection and of Section 2.3.

Interview questions

  • ★★ Is the bottleneck of self-correction in detecting errors or in fixing them?
  • ★ Why is self-correction more likely to lower accuracy when the first answer is already accurate?
  • ★ Why is it hard for a model to spot errors in its own reasoning?

When it works: new information, or easier verification ★★

Turning "correction is unreliable without new information" around gives two conditions under which correction works: either the feedback brings information the model didn't have, or checking is much easier than generating. The first is external feedback. Code is the textbook case: Self-Debugging (Chen et al. 2023) has the model run its own code and puts the error messages and failing tests back into the context before revising, and coding agents fixing bugs on SWE-bench run the same loop. CRITIC (Gou et al. 2023) checks the draft with tools such as a search engine or code interpreter before revising, and its ablation shows that when the tools are removed and the model only critiques itself, the gains on QA and detoxification mostly disappear. The second is the case where verification is easier than generation: checking whether a Sudoku is filled in correctly is far easier than filling it in, so even the same model checks more reliably than it solves. Chain-of-Verification (CoVe, Dhuliawala et al. 2023) deliberately creates this situation: it breaks "is this passage correct" into a set of simple check questions and answers them independently, without seeing the draft, so it doesn't copy the draft's hallucinations. Having the model write its own tests belongs here too (CodeT, Chen et al. 2022): writing a test is easier than writing a whole correct program, and once a test exists, "what the program actually outputs" is decided by the interpreter, not by the model's judgment.

Even with an external signal, correction is not a free lunch. Olausson et al. (2023) analysed code self-repair carefully and found that at the same compute, spending the repair tokens on sampling a few more independent programs and picking one with the tests often works about as well as "sample fewer, then repair"; and when the diagnosis ("why it failed") was written by a stronger model or a human, repair improved sharply. So even when a test tells you "what failed", understanding the feedback and locating the error remains the bottleneck. The problem rung 0 leaves behind is therefore clear: where no ready-made external checker exists, the only way forward is to make the model's own verification stronger, and that is not something prompting can do. It takes training.

Interview questions

  • ★★ Under what conditions does LLM self-correction really work? Give examples.
  • ★ Why is having the model write its own tests more reliable than self-critique?
  • ★ How would you design a fair experiment to evaluate a new self-correction method?

2.3 Training Verification as a Skill ★★

The problem left by 2.2 is that the model "can fix but can't find", and prompting can't change that. The direction that began in 2024 treats verification as a skill that can be trained and scaled. There are two complementary routes: train the generator itself to correct itself (SCoRe), or train a dedicated verifier so that verification, like generation, gets more accurate with more compute (generative verifiers). Work in 2025–2026 further showed that verification is a skill separate from generation and has to be trained in its own right.

SCoRe: learning to correct oneself with RL ★★

\[\text{Stage I:}\ \max_\theta\ \mathbb{E}\big[r(y_2, y^*)\big] - \beta_2\, D_{\mathrm{KL}}\big(\pi_\theta(y_1 \mid x)\,\|\,\pi_{\mathrm{ref}}(y_1 \mid x)\big); \qquad \text{Stage II:}\ \max_\theta\ \mathbb{E}\big[r(y_1, y^*) + \hat r(y_2, y^*)\big],\ \ \hat r(y_2, y^*) = r(y_2, y^*) + \alpha\big(r(y_2, y^*) - r(y_1, y^*)\big)\]

The most direct idea is SFT: collect correction traces where "the first attempt is wrong and the second is right" and have the model imitate them. The authors of SCoRe (Kumar et al. 2024, Google DeepMind) found that this fails, for two reasons. One is distribution shift: the "first attempts" in the training data come from the data-collecting model, whose mistakes differ from the ones the trained model will make, so the model learns to fix "someone else's mistakes" but not its own. The other is behavior collapse: the model learns the laziest pattern, answering as well as it can the first time and nearly copying it the second time; on MATH, after SFT the second attempt improved over the first by only 0.4 to 1.8 points. Directly rewarding the second attempt's correctness with RL also collapses, because "learning to improve" and "answer well first, then don't change it" earn the same reward, and the latter is easier to learn.

SCoRe trains with multi-turn online RL on the model's own samples only: the model gives \(y_1\), sees a generic instruction that carries no information about correctness ("please check and improve your answer"), and gives \(y_2\). \(r(y, y^*)\) is the 0/1 reward against the reference answer \(y^*\), and \(\pi_{\mathrm{ref}}\) is the initial model. Because samples are drawn online, the model learns to fix the mistakes it actually makes, and distribution shift disappears naturally. The remaining collapse problem is solved in two stages. Stage I optimizes only the second attempt's reward while a large \(\beta_2\) pins the first attempt's distribution near the original model, so the model can't cheat by "answering well the first time" and has to learn to improve on the second. Stage II optimizes both attempts jointly and rewrites the second attempt's reward as \(\hat r\): it adds \(\alpha\) times the progress, so going from wrong to right earns an extra \(+\alpha\) and going from right to wrong costs an extra \(-\alpha\) (the paper uses \(\alpha = 10\); both stages also carry KL terms). Such a large coefficient makes "improving" itself the main objective. In results, on MATH (Gemini 1.5 Flash) the original model's second attempt was 11.2 points worse than its first, confirming 2.2; after SCoRe the first attempt is 60.0% and the second 64.4%, a correction gap 15.6 points better than the original model's. On HumanEval, the correction gap rose from +3.0 to +12.2.

The most important lesson of SCoRe: to learn self-correction, a model must be trained on its own distribution, and progress must be rewarded explicitly; otherwise optimization finds a shortcut that avoids correcting. In the language of the four-part loop, it borrows an external verifier (the reference answer) during training to build verification and correction into the generator, which then uses them on its own at inference time. The cost is that training tasks must allow automatic correctness checks (math, code).

Interview questions

  • ★★ Why does SFT work poorly for training self-correction, and what is behavior collapse?
  • ★★ How does SCoRe avoid collapse, and what does each of its two stages do?
  • ★ What happens if the progress coefficient \(\alpha\) in SCoRe is too small?

Generative verifiers: verification that scales with compute ★★

\[r_{\text{GenRM}}(x, y) = \frac{1}{K}\sum_{j=1}^{K} p_\theta\big(\text{"Yes"} \mid x, y, I, z_j\big), \qquad z_j \sim p_\theta(\cdot \mid x, y, I)\]

SCoRe builds correction into the generator; the other route is to make the verifier itself strong. Traditional discriminative verifiers (ORMs, PRMs) read a question and a solution and output a scalar score (details in Post-Training Chapter 4, Section 4.9). They score fast, but they output only a number, can't use the LLM's reasoning, and can't "think longer". GenRM (Zhang et al. 2024) rewrites verification as text generation, which is what LLMs do best: given the question \(x\), a candidate solution \(y\) and a verification instruction \(I\) ("Is the answer correct?"), it uses the model's probability of generating "Yes" as the score. Going further, the verifier first writes a step-by-step verification rationale \(z_j\) and then outputs Yes or No; it can also sample \(K\) rationales and average the probability of Yes (the formula), which is test-time scaling applied to verification. Because verification and solving share a format, they can be trained together. Under best-of-N, GSM8K rose from 73% to 93.4%, algorithmic tasks from 5% to 45.3%, and easy-to-hard generalization on MATH from 28% to 44.6%.

In 2025 this idea was extended to general reward models and to process verification. DeepSeek-GRM (Liu et al. 2025) trains a general generative reward model with online RL: it first writes evaluation principles for the question, then a critique and a score; at inference it samples several evaluations in parallel and a meta-RM guides the vote, and the results show that spending more inference compute on the reward model can beat scaling up its training. ThinkPRM (Khalifa et al. 2025) turns process verification into long CoT as well: fine-tuned on only about 1% of PRM800K's step labels, it beats discriminative PRMs and prompted LLM-as-a-judge on ProcessBench, MATH-500 and AIME'24.

The significance of this shift: the verifier went from a "scalar scoring head" to a reasoner that writes out its verification, so verification quality can now scale with inference compute, just like generation. The same generative verifier has two uses: at inference, as the selector in best-of-N or the critic in revision; in training, as the reward model. The second use becomes very important in 2.5 and Chapter 3. The cost is that every verification generates a passage of text, which is much slower than a discriminative verifier.

Interview questions

  • ★★ What is a generative verifier, and what are its advantages and costs compared with a discriminative reward model?
  • ★ How can test-time scaling be applied to the verification step itself?

Verification is a separate skill ★

One more question: once generation gets stronger, does self-verification get stronger "for free"? Evidence from 2025–2026 says it doesn't improve automatically, but it can be trained separately. Sample, Scrutinize and Scale (Zhao et al. 2025) found that frontier models' out-of-the-box self-verification is weak; but with enough random sampling followed by self-verification, Gemini 1.5 Pro surpassed o1-preview. They call this "implicit scaling": the more candidates there are, the more accurate verification becomes, because comparing several candidates side by side locates errors more easily than judging one answer in isolation. Learning to Self-Verify (Chen et al. 2026) directly measured the capability asymmetry between generation and self-verification: improving generation does not necessarily improve self-verification on the same task; training generation and self-verification together as two separate but complementary RL objectives makes both better than generation-only training, and training verification even improves generation in return.

Together these two works give a handy interview conclusion: verification is not a by-product of generation but a capability that needs its own training and its own compute budget; and "comparison" is a particularly effective form of verification. This conclusion shows up again in the Scorpio method in 2.7.

Interview questions

  • ★ Does self-verification automatically improve when generation improves?
  • ★ Why does sampling several candidates and comparing them make verification more accurate?

2.4 Self-Verification Inside Reasoning Models ★★

The methods in 2.3 all train "correction" or "verification" explicitly. Reasoning models in 2025 took a different route: reward only the final answer, and verification and backtracking grow by themselves inside the long CoT. This looks like a "free" implementation of rung 1, but the question is: how much of this emergent self-verification actually corrects errors?

Emerging from outcome rewards ★★

DeepSeek-R1-Zero (DeepSeek-AI 2025) ran RL (GRPO) with rule-based correctness rewards directly on a base model, with no demonstration data at all. During training, responses grew longer and reflection and re-evaluation such as "Wait, let me check this again" emerged spontaneously; the paper called this the "aha moment". AIME 2024 pass@1 rose from 15.6% to 71.0% (the training pipeline is in Post-Training Chapter 4, Section 4.2; reasoning models in general are in LLM Basic Chapter 7, Section 7.2). It differs fundamentally from the failed intrinsic correction of 2.2 in three ways. First, it is trained: any trajectory that "spots an error, fixes it and ends up correct" gets reinforced, so, as in SCoRe, correction is rewarded on the model's own distribution. Second, it happens within one generation: no external prompt says "go check", so there is no sycophantic bias from being hinted that the answer is wrong. Third, it connects to test-time scaling: the longer the model thinks, the more chances it has to verify and backtrack.

These behaviors weren't created from nothing by RL, though. Gandhi et al. (2025) studied four "cognitive behaviors": verification, backtracking, subgoal setting and backward chaining. Under the same RL setup (the Countdown game), Qwen-2.5-3B improved clearly while Llama-3.2-3B stalled, because Qwen's base model already showed these behaviors occasionally. Priming Llama with a few trajectories containing these behaviors let its RL results catch up, and this worked even when the priming trajectories had wrong answers. So a more accurate statement is: RL amplifies and stabilizes verification behavior that is already latent in the base model. This is of a piece with Chapter 3's conclusion that "RL mostly sharpens existing ability".

Interview questions

  • ★★ How do "wait" and backtracking emerge in reasoning models, and how do they fundamentally differ from prompted self-correction?
  • ★ Does RL create self-verification ability, or amplify an ability that already exists?

The skeptical evidence: most reflection only confirms ★★

Since RL rewards only the final answer, what are all those "wait"s doing? Kang et al. (2025) analysed the chains of thought of eight reasoning models on five math datasets and found that after the model reaches its first candidate answer, over 90% of reflections are confirmatory: right answers stay right, wrong ones stay wrong, and genuinely fixing a wrong answer is rare. Training on data with more reflection improves results mainly by making the first answer more accurate, not by improving error correction. The Illusion of Insight (d'Aliberti and Horta Ribeiro 2026) reached the same conclusion over more than a million reasoning traces: mid-trace "aha" shifts are rare, don't become more frequent with training, and seldom improve accuracy; rather than genuine insight or self-correction, they look like a symptom of unstable inference. Interestingly, they found that deliberately triggering a shift when the model is highly uncertain (high entropy) reliably improves accuracy.

Putting these together gives a balanced view: self-verification in long CoT is a real behavior, but as a verifier it is weak and mostly confirms the answer already reached; the gains from RL show up more as "getting it right on the first pass". Many of the extra reflection tokens are wasted, which is one source of overthinking (see LLM Basic Chapter 7, Section 7.3). Truly reliable error correction needs a specially trained verifier that is separate from the generator, which leads to the explicit loops of 2.5.

Interview questions

  • ★★ Are reasoning models' reflections really correcting errors? What is the evidence?
  • ★ What do mid-trace "aha moments" in reasoning models actually mean?

Comparing four routes to correction ★★

Prompted intrinsic correction SCoRe (multi-turn RL) Long-CoT RL (e.g. R1) Explicit generator–verifier–reviser loop
Where correction happens A separate turn after "review your answer" A second turn after a generic instruction Inside one chain of thought Across rounds, between separate generator and verifier roles
Who verifies The model, untrained The model, trained with a progress bonus The model, trained only through outcome rewards A dedicated trained verifier (often with meta-verification), or Lean
Main risk Breaks correct answers; sycophancy Collapse if the progress bonus is too weak Mostly confirmatory reflection; overthinking Verifier false positives; high compute per problem
Works reliably when Checking is easier than generating Training tasks have checkable answers Training tasks have verifiable rewards The verifier is trained (or formal) and kept ahead of the generator

Putting the four routes side by side shows a clear direction of travel: the verifier becomes more and more independent of the generator, and more and more specifically trained. In prompted correction, the verifier is the untrained model itself and shares all of the generator's blind spots; SCoRe and long-CoT RL train verification inside the generator, but verifier and generator are still the same parameters and the same generation; the explicit loop splits verification into its own role, which can be trained separately, given its own compute, or even replaced by Lean. As 2.5 shows, this step is what took rung 1 from "a few points on GSM8K" to IMO gold and research-level mathematics.

Interview questions

  • ★★ Compare prompted correction, SCoRe, long-CoT RL and an explicit generator–verifier–reviser loop.

2.5 Generator–Verifier–Reviser Loops: From Olympiads to Research Math ★★

Why proofs need a dedicated verifier ★★

R1-style outcome rewards have a hidden assumption: the problem has a final answer that can be compared. For proofs this assumption fails: a proof is either rigorous or has a gap, and there is no number to check. And even when a final answer exists, checking only the answer rewards reasoning with "the right answer but wrong steps". Section 2.4 also showed that a model's "incidental" self-checks are too weak to judge whether a long proof is rigorous. So from the second half of 2025, the strongest math systems converged on one structure: a specially trained verifier finds flaws in a proof and scores it, the generator revises according to the critique, the loop runs for several rounds, and the best of several candidates is selected at the end.

There are two ways to build that verifier. One is a natural-language verifier: an LLM that reads a proof, writes a critique and gives a score. It has broad coverage and can judge any proof, but it makes mistakes itself, can "hallucinate" issues that don't exist, and can be gamed by the generator. The other is a formal verifier: write the proof in Lean and hand it to the proof checker. As long as the statement is formalized correctly there are essentially no false positives; the cost is that formalization itself is hard, and coverage is limited to what Lean and its math library can express. A landmark was IMO 2025 in July: Gemini Deep Think won an officially graded gold medal end to end in natural language (35/42, solving 5 of 6 problems), using "parallel thinking" that explores and combines several solution paths at once (Google DeepMind 2025); OpenAI also reported 35/42 with an experimental model.

Interview questions

  • ★ Why can't proof problems use R1-style outcome rewards directly?

DeepSeekMath-V2: an open recipe for self-verifiable reasoning ★★

\[R_{\text{gen}} = R_{\text{format}}(Y, Z)\cdot\big(\alpha\, R_Y + \beta\, R_Z\big), \qquad R_Z = R_{\text{score}}(s', s)\cdot R_{\text{meta}}(Z), \qquad \alpha = 0.76,\ \ \beta = 0.24\]
generator ── proof Y + self-analysis Z (self-score s') ──► verifier ── issues + score s ∈ {0, 0.5, 1}
    ▲                                                                       │
    │                                                       meta-verifier: are these issues real?
    └──────────────── revise using the critique; reward R_gen ◄─────────────┘

DeepSeekMath-V2 (Shao et al. 2025) is the clearest open recipe for "self-verifiable reasoning". It has four steps.

  1. Train a proof verifier. It reads a proof, writes an analysis listing the issues it finds, and scores it against a rubric: 1 for a complete, rigorous proof, 0.5 for sound overall logic with minor errors or omissions, and 0 for a fatal gap.
  2. Then train a meta-verifier. The authors found that if the verifier is rewarded only for "getting the score right", it can give the correct score while inventing issues that don't exist and still get full reward. The meta-verifier checks whether the issues the verifier points out really exist and whether they justify its score, and its judgment is folded into the verifier's reward.
  3. Train the generator with the verifier as the reward, and reward honest self-assessment. The generator writes not only a proof \(Y\) but also an analysis \(Z\) of its own proof, with a self-score \(s'\). In the formula, \(R_Y\) is the verifier's score \(s\) for the proof, \(R_{\text{score}}(s', s)\) measures how close the self-score is to the verifier's score, \(R_{\text{meta}}(Z)\) is the meta-verifier's judgment of whether that self-analysis is accurate, and \(R_{\text{format}}\) checks the format. As a result, honestly admitting the errors in one's own proof scores higher than falsely claiming it is "fully correct", so the generator has an incentive to find and fix its own errors before submitting.
  4. Scale verification compute so the verifier stays ahead. As the generator gets stronger, its proofs get harder to judge, and the verifier risks being overtaken. The authors' fix is to auto-label new hard proofs with more compute: generate \(n\) independent verification analyses per proof; for analyses that report issues, run \(m\) meta-verifications and count an analysis as valid only if the majority confirm it; if enough valid analyses point to the same lowest score, use it as the label; if no issues are found at all, label the proof 1; send unclear cases to the bin or to humans. In the last two training iterations this pipeline fully replaced human annotation. The new labels then train the verifier, so verifier and generator get stronger together.

The result: with scaled test-time compute, it reaches gold-medal level on IMO 2025 and CMO 2024 and scores 118/120 on Putnam 2024, with open weights. From the four-part-loop perspective, step 4 is the one to remember: it is a concrete engineering implementation of compounding condition (i) from Chapter 1, Section 1.7, "the verifier stays ahead of the generator", and the means is spending more compute on verification than on generation, plus meta-verification so the verifier can't fool itself.

Interview questions

  • ★★ Walk through the DeepSeekMath-V2 recipe. Why is a meta-verifier needed?
  • ★★ As the generator improves the verifier risks being overtaken; how does DeepSeekMath-V2 keep the verifier ahead?
  • ★ Why reward the generator for scoring itself honestly?

Open reproductions: MaxProof and Nemotron ★

In 2026 the recipe was quickly reproduced and improved, with details made public. MaxProof (Chen et al. 2026, MiniMax) trains three abilities into one model: writing proofs, verifying proofs (rewarded for how well the errors it locates match the true errors, and for getting the verdict right), and repairing proofs from critiques. Its most instructive part is its record of reward hacking: in an earlier training cycle, the model learned to make proofs about 3× longer, to follow fixed templates, to wave through the hardest step with "it can be shown", and to cater to the preferences of the single judge, so verifier scores rose while proof quality stayed flat or got worse. The fix was a pessimistic reward: score with three judges at once and take the minimum, deliberately preferring false negatives over false positives. At inference, the same model takes turns as generator, verifier, refiner and ranker, running tournament selection over a population of candidate proofs (each candidate's fitness is again the minimum over several verifications). On IMO 2025, a single generation scored 27/42, and with this test-time search it reached 35/42; on USAMO 2026 it went from 26/42 to 36/42.

The Nemotron open recipe (Moshkov et al. 2026, NVIDIA) starts from Nemotron 3 Ultra, trains two specialist checkpoints with SFT and RL, and has them iteratively generate, verify and refine proofs entirely in natural language (no formal prover, external tools or internet), followed by a high-compute selection stage that picks each submission. It scored 30/42 at IMO 2026, exactly the gold threshold, and released the checkpoints, training data, code and a new 200-problem benchmark, Nemotron-IMO-Bench. This shows that by the second half of 2026, the DeepSeekMath-V2 recipe of "train a verifier, use it as the reward, generate–verify–revise at inference" could be reproduced in the open.

The common lesson of these systems: most of the engineering effort goes into the verifier, which has to have a low false-positive rate, aggregate pessimistically, and be able to check itself (meta-verification). Verifier engineering has therefore become a research direction of its own (for example, RL-trained generative verifiers for natural-language proofs, rewriting a proof into self-contained modules and checking each block, and verifiers that call tools over several turns).

Interview questions

  • ★★ Why does MaxProof take the minimum over several judges as its reward, and what is it guarding against?
  • ★ What kinds of reward hacking were observed when training proof models?

Toward research math: Aletheia, AlphaProof Nexus and h1 ★★

Natural-language verifier loop Formal (Lean) verifier loop
Verifier Trained LLM verifier, often with meta-verification or several judges Lean proof checker
False positives Possible; must be actively suppressed Essentially none, if the statement is formalized correctly
Coverage Any proof that can be written in natural language Only what Lean and its library can express
Main cost Verification compute; reward hacking of the judge Formalization effort; efficiency of the Lean interaction
Examples DeepSeekMath-V2, MaxProof, Nemotron-IMO, Aletheia AlphaProof Nexus, h1

Competition problems have reference answers and grading rubrics; research problems don't. In 2026 the same loop was pushed onto genuine research problems. Aletheia (Feng et al. 2026, Google DeepMind) is a math research agent built on an advanced Gemini Deep Think, and its core is a natural-language generator → verifier → reviser loop plus extensive tool use. Reported outputs include an autonomously generated paper in arithmetic geometry (on "eigenweights"), a human–AI collaborative paper, and a semi-autonomous pass over 700 open problems from Bloom's Erdős problems database, autonomously solving 4 open questions. In a follow-up on FirstProof, it solved 6 of 10 problems by majority expert assessment (with experts not unanimous on one).

AlphaProof Nexus (Tsoukalas et al. 2026) takes the formal route: LLM agents write Lean proofs, and Lean is the verifier. The most capable agent autonomously resolved 9 of 353 open Erdős problems and proved 44 of 492 OEIS conjectures, at roughly a few hundred dollars per Erdős problem. A basic agent that simply alternates "LLM generates, Lean checks" replicated the Erdős results too, only at higher cost on the hardest problems. h1 (Moalla et al. 2026) takes this observation to its limit: it gives the model nothing but a Lean 4 interface, imposes no decomposition or search structure, and lets the model iterate on Lean's feedback plus self-reflection; at matched models it matches or beats specialized workflows, AlphaProof Nexus included, and reaches the state of the art on PutnamBench, FATE-X and other benchmarks. Its ablation concludes that "an efficient Lean interface largely determines cost and solve rate".

Together, these three works make one point: when the verifier is reliable enough, the loop itself can be very simple, and the real lever is the verifier and its interface. You can see this as a "bitter lesson" for test-time loops: hand-designed search structure loses to a strong generator iterating simply against a reliable verifier. Conversely, in domains without Lean (most research problems), everything depends on how trustworthy the natural-language verifier is, which is the core difficulty when Chapters 7 and 8 discuss "verifying research".

Interview questions

  • ★★ What are the pros and cons of natural-language verifiers versus formal verifiers such as Lean?
  • ★ From IMO gold to resolving Erdős problems, what structure do these systems share?
  • ★ What does h1 show, and why can a minimal agent match specially designed workflows?

2.6 Kinds of Verifiers and When to Trust Them ★★

The lesson of 2.5 is that how far a loop can go is decided by its verifier. So which verifiers can be trusted, and how far? This section ranks verification signals by trustworthiness and then looks at which of their errors is the most dangerous.

The hierarchy of verification signals ★★

Signal Example Independence from the generator Typical failure Coverage
Formal checker Lean, proof assistants Full Wrongly formalized statement Narrow: formalizable math and code
Execution / tests Unit tests, interpreter, database state Full for execution; tests may be incomplete or model-written Weak tests pass wrong code; tampering with tests Code, tool use, agent tasks
Grounded evidence Search, retrieval, calculator High Noisy retrieval; evidence ignored Facts, computation
Trained verifier Generative verifier, PRM, proof verifier with meta-verification Partial Exploitable; drifts as the policy changes; hallucinated issues Broad
Other-family model judge LLM-as-a-judge from a different model family Partial Position, length and style biases Broad
Self-assessment Prompted self-critique, checks inside the CoT None Correlated errors; sycophancy; mostly confirmatory Universal

These signals can be laid out on a spectrum of "how independent they are from the generator". At the top are formal checkers and execution: they don't depend on the generator's judgment at all and are almost impossible to talk into anything, but they only cover domains that can be formalized or executed. In the middle are checks against external evidence and trained verifiers: their blind spots only partly overlap with the generator's and their coverage is broader, but all of them can be gamed. At the bottom is self-assessment: usable everywhere, but it shares all of the generator's blind spots. A 2026 survey of RSI (Chen, Wang and Qu 2026) orders signals from "formal verifiers (strongest)" to "intrinsic self-assessment (weakest)" and points out that the self-improvement strength methods actually demonstrate follows exactly this ordering.

Why does independence matter so much? Because if the verifier's errors are correlated with the generator's, it fails to see errors exactly where the generator makes them. Lu et al. (2025) measured this systematically over 37 models and 9 benchmarks: cross-family verification is more effective than both self-verification and same-family verification, and the more similar the solver and verifier, the smaller the benefit. More interestingly, reasoning post-training weakens self-improvement through self-verification while strengthening the gains from a verifier of another family. The intuitive explanation is that post-training makes a model more confident and more consistent about its own answers, so its self-verification finds it harder to disagree.

Interview questions

  • ★★ Rank verification signals by trustworthiness and explain the ordering.
  • ★ Why is cross-family verification more effective than self-verification?

False positives are more dangerous than false negatives ★★

\[P(\text{at least one wrong candidate passes}) = 1 - (1 - \varepsilon)^{N_{\text{wrong}}}\]

A verifier makes two kinds of error: false positives (judging something wrong as right) and false negatives (judging something right as wrong). In search and selection, the costs of the two are extremely asymmetric. In the formula, \(\varepsilon\) is the probability that the verifier wrongly accepts a wrong candidate, and \(N_{\text{wrong}}\) is the number of wrong candidates checked. For example, \(\varepsilon = 1\%\) looks low, but once you've checked 100 wrong candidates, the probability that at least one slips through is about 63%. The more you search, the more likely you are to pick an answer that "fools the verifier but is actually wrong"; this is Goodhart's law at inference time (over-optimization in best-of-N is discussed in LLM Basic Chapter 7, Section 7.3). A false negative is merely wasteful: one correct answer is rejected, and a few more samples usually turn up another.

This explains nearly every design choice in 2.5: MaxProof takes the minimum over several judges, DeepSeekMath-V2 uses a meta-verifier to check whether the verifier's criticisms are real, and AlphaProof Nexus switches to Lean, which has essentially no false positives. Another practice gaining weight is teaching the system calibrated abstention: saying "I could not verify this step" rather than forcing a verdict. In Chapter 3 the damage from false positives gets worse: in training, a wrong answer that slips through is not just selected once but reinforced, and then amplified round after round. (The asymmetry of verifier errors and its amplification inside loops are discussed in depth in Chapter 8.)

Interview questions

  • ★★ Why do a verifier's false positives become more dangerous as \(N\) in best-of-N grows?
  • ★ What can be done to keep a verifier's false-positive rate low?

The generator–verifier gap ★★

All the earlier conclusions can be summarized by one quantity: the generator–verifier gap, i.e. how much better the model "judges" than it "writes". Song et al. (2024) define it as how much true utility improves when the generator's outputs are reweighted or filtered by the verifier's scores; in self-improvement, the generator and the verifier are the same model. Only when the gap is positive does the loop have something to learn. For rung 1, its three empirical regularities matter most: the relative gap grows with pretraining scale; on factual QA it is almost 0, because you can't verify facts you don't know any better than you can generate them; and under iteration it is used up within two or three rounds (one reason self-training saturates so fast in Chapter 3). So test-time self-improvement has room to work on tasks where checking is easier than generating, such as math, code and puzzles, while tasks that depend on factual knowledge need external evidence. The formal definition, the details of these findings and the gap's role in deeper loops are in Chapter 8, Section 8.2.

Interview questions

  • ★★ What is the generator–verifier gap, on which tasks is it close to 0, and why?
  • ★ How does the relative advantage of self-verification change as models get larger?

Verifying open-ended tasks ★

The hardest case is a task with neither a reference answer nor a formal checker: long-form writing, research plans, open-ended agent tasks. Common approaches: write the evaluation criteria as a clear rubric and have an LLM judge score each item; use pairwise comparison instead of absolute scores (2.3 showed that comparison is itself a stronger form of verification); break the task into checkable sub-questions, for example verifying its facts one by one as CoVe does; and use a judge from a different model family. All of these signals are noisier than execution-based verification, so they need regular calibration against human evaluation, with attention to the judge's position bias, length bias and preference for its own style (see LLM Basic Chapter 7, Section 7.7). By 2026, the field's core open question has moved from "can models self-correct?" to "how do we make self-verification calibrated rather than sycophantic on problems with no checkable answer?", which is especially critical for proofs, research and open-ended agent tasks.

Interview questions

  • ★ How do you verify outputs on open-ended tasks with no reference answer?

2.7 Limits of Test-Time Self-Improvement ★★

Rung 1 is already strong enough to win IMO gold and solve open Erdős problems, so why does the ladder need to go higher? Because however strong the verifier, this rung has three structural limits, each stuck at a different part of the four-part loop.

Nothing persists ★★

At rung 1 the updater is just the context. Once a question is answered, every draft, critique and revision is thrown away, and the weights don't change at all. The next time the same kind of error comes up, the model has to make it again, find it again and fix it again. A model that has worked through a thousand proofs with a verifier's help is no stronger on proof number 1,001 than it was on the first. That is very different from how people learn: an error a person has corrected once is usually not repeated. For improvement to stick, it has to be written somewhere persistent: into the weights (Chapter 3, and continual learning in Chapter 6), or into context, memory and skill libraries that are kept across tasks (Chapter 5).

Interview questions

  • ★★ If test-time generator–verifier loops can already win IMO gold, why train the result into the weights?

Compute is paid per query ★★

The second limit is cost. AlphaProof Nexus spends a few hundred dollars per Erdős problem; MaxProof runs a tournament over a population of candidate proofs; Nemotron's submissions go through a high-compute selection stage. These costs are paid again for every query and grow linearly with usage. And the same compute can be spent in different ways: Olausson et al. (2023) on code and Snell et al. (2024) on math both found that whether sequential revision or parallel resampling wins depends on problem difficulty, so a revision method must be compared with parallel sampling at the same compute (see LLM Basic Chapter 7, Section 7.3).

This leads to the idea of amortization: if the same kind of search is going to run thousands of times, it's better to "compress" its results into the weights, so that one forward pass gets close to an answer that used to need a long search, and the next search starts from this better point. That is the idea behind AlphaZero and expert iteration, and it is the core of Chapter 3.

Interview questions

  • ★ What is amortization, and why does the cost of test-time search push us toward training?

Self-evaluation bias does not vanish with compute ★★

\[\text{ranking error}(C) \;=\; \underbrace{\text{bias}(C)}_{\text{falls, then plateaus}} \;+\; \underbrace{\text{variance}(C)}_{\text{shrinks as } C \text{ grows}}\]

The third limit lies in the verifier itself. If the verifier is the model itself, can more compute keep making its judgments more accurate? Buvanesh et al. (2026) answer no. They use "ranking error" to measure how reliably a model ranks its own correct answers above its wrong ones, and decompose it into bias and variance (the formula is schematic; \(C\) is the inference compute spent on self-evaluation). More compute keeps reducing variance, but bias first falls and then levels off on a plateau. This explains a common observation: self-verification and aggregation are meant to close the gap between pass@1 and pass@N (between "can get it right" and "can pick the right one"), but simply adding more candidates does not consistently close that gap. Their fix, Scorpio, scores randomly grouped candidates jointly; it is up to 7 points more accurate than the strongest baseline at verification, and matches that baseline's peak with 17–42% lower inference cost. This agrees with 2.3: comparison is a stronger form of verification; but it lowers the bias plateau rather than removing it.

Interview questions

  • ★ Why can't adding more candidates make pass@1 after self-selection catch up with pass@N?

Where the three limits sit in the loop ★

Limit Which part of the loop is the bottleneck Where the ladder addresses it
Nothing persists across queries Updater: only the context is updated Ch 3 (weights), Ch 5 (context, memory, skills), Ch 6 (continual learning)
Compute is paid per query Updater: no amortization Ch 3 (amortize verified search into weights)
Self-evaluation bias plateaus Verifier: correlated with the generator Trained, cross-family or formal verifiers (2.5–2.6); depth in Ch 8
Problems are whatever users ask Problem source: fixed from outside Ch 3 (curated problems, synthetic environments), Ch 4 (self-generated problems)

Putting the three limits back into the four-part loop makes things clearer (see the table). Rung 1 pushes the verifier very far: in checkable domains, compounding condition (i), "the verifier stays ahead of the generator", can already be met, and tools and Lean also bring in the new information that condition (iii) asks for. But its updater is only the context, so nothing accumulates, and its problem source is fixed from outside, so the system can't choose what to practise. Strictly speaking, this rung can't "compound" at all, because the loop resets to zero after every run. The first thing the next rung has to fix is the updater.

Interview questions

  • ★ Use the four-part loop to explain where rung 1's bottleneck lies.

2.8 Summary and Bridge ★★

What this rung achieved. Rung 0 (2023) showed that without new information, a model can't correct its own reasoning through prompting: it "can fix but can't find", and the bottleneck is verification. Rung 1 (2024–2026) turned verification into a skill that can be trained and scaled: SCoRe taught models to correct themselves with multi-turn RL, generative verifiers let verification get more accurate with compute, and self-verification emerged inside the long CoT of reasoning models (though it mostly confirms). In the end, explicit generate–verify–revise loops with dedicated verifiers backed by meta-verification, or with Lean, reached IMO gold, a near-perfect Putnam score and research-level Erdős results, and by the second half of 2026 the recipe could be reproduced in the open. The through-line: the verifier became more independent, more specifically trained, and given more compute, and its quality sets the ceiling of the loop.

Where it is still stuck. In terms of the four-part loop: the generator is strong, and the verifier is already strong in checkable domains, but the updater is only the context, so each query's improvement is thrown away after use and the cost of search is paid again every time; and the problem source is whatever users ask, so the system can't arrange its own practice.

How the next chapter addresses it. The natural next step is amortization: treat the rung-1 loop as the "expert", run it on many problems, keep only the results the verifier accepts, and use them to train the weights, the "apprentice", so that the next model gets right in one forward pass what used to need a search. DeepSeekMath-V2 has in fact already taken this step: its verifier is used for revision at inference and serves directly as the reward model in training. That is rung 2, the subject of Chapter 3: from STaR-style "generate, filter, train", to its online, scaled form RLVR, and the question of how far this route can push capability.

Interview questions

  • ★★ In two minutes, tell the story from rung 0 to rung 1 of self-improvement, and explain why it leads to self-training.