Paper Breakdowns  /  STaR
Paper 70~11 min readNeurIPS 2022worked math + runnable code
Paper Breakdown

STaR,
explained.

To teach a model to reason, the obvious plan is to show it thousands of worked solutions — but writing those by hand is expensive, and you only have questions and answers. STaR's insight is that the model can write the worked solutions itself. Let it think out loud, keep the reasoning whenever it lands on the right answer, train on those keepers, and repeat. The model becomes its own teacher, bootstrapping from correct-by-luck reasoning to genuinely better reasoning. Here's the loop, and the trick that rescues the problems it can't yet solve.

Video breakdown
The animated walkthrough is in production.
Read the full breakdown below in the meantime ↓
01

No rationale labels

Chain-of-thought showed that models reason better when they write out intermediate steps. The natural follow-up is to train a model to always do that well — but that seems to need a big dataset of high-quality reasoning traces, and those are scarce and costly to write. What you usually have is only the easy part: questions paired with their final answers, no worked solutions.

STaR's move is to close that gap by having the model generate its own rationales and using the known answers as a filter. When the model reasons its way to the correct answer, that reasoning is probably decent — good enough to learn from. When it reasons to a wrong answer, discard it. You never wrote a single rationale; you just judged the model's own reasoning by whether it worked. That turns a pile of question-answer pairs into reasoning training data, for free.

The one-sentence version

Let the model generate rationales, keep only the ones that reach the correct answer, fine-tune on them, and repeat — the model bootstraps its own reasoning from question-answer pairs alone.

02

Generate, filter, fine-tune

The core loop is three steps, run over your dataset of problems:

1. generate rationale + answer  ·  2. keep iff answer is correct  ·  3. fine-tune on the kept rationales  →  repeat

Step 2 is the whole trick: the ground-truth answer is a free, automatic quality check that selects which self-generated reasoning to trust. The model isn't told how to reason — only whether its reasoning arrived somewhere correct, and it learns from the ones that did. After fine-tuning on the keepers, the model is a bit better, so the next round it generates more correct rationales, which makes it better still. The runnable version below shows the filter keeping only correct-answer rationales and accuracy climbing each round.

03

Rationalization

There's a flaw in the plain loop: hard problems never contribute. If the model can't solve a problem, it never produces a correct rationale for it, so that problem is silently excluded from training — forever. The model only ever learns from problems it could already almost do, and the hard ones stay hard. That caps how far bootstrapping can go.

STaR's fix is rationalization. For a problem the model got wrong, give it the correct answer as a hint and ask it to produce a rationale that reaches that answer — reasoning backward from the solution. If it can construct such a rationale, that reasoning trace is added to the training set (with the hint removed). Now the hard problems can contribute reasoning examples too, dramatically widening what the model learns from.

Two sources of training rationales
DirectModel solves it and lands on the right answer → keep the rationale.
RationalizedModel failed → give it the answer as a hint, keep a rationale that reaches it.
CoverageTogether they cover far more problems than direct solving alone.

The runnable below makes this concrete: direct solving covers a fraction of problems, and rationalization pulls in a big chunk of the ones it missed — so the training set spans the hard problems the plain loop would abandon.

04

The bootstrap

Run the loop repeatedly and it bootstraps: each iteration's improved model generates better, more numerous rationales, which fine-tune an even better model. It's a self-improvement flywheel powered by nothing but question-answer pairs and the model's own generations. The improvement isn't unbounded — it tapers as the model approaches the limit of what this data and process can teach — but the early rounds compound quickly.

What makes it work is the asymmetry between generating a rationale and checking it: the model can't always reason correctly, but you can always check whether its answer is right. That gap — hard to produce, easy to verify — is exactly what STaR exploits, turning a cheap verifier (does the answer match?) into a training signal for the expensive skill (reasoning). It's the same asymmetry that underlies a great deal of later reasoning work.

RUN IT YOURSELF

Filter, rationalize, bootstrap

STaR's loop is a filter and a flywheel. This keeps only the rationales whose answer is correct (the free quality check), shows that rationalization — hinting the answer on failed problems — lifts coverage from 40% to 75% by pulling in problems direct solving missed (which otherwise contribute nothing), and runs the bootstrap: accuracy climbs each iteration toward a ceiling with diminishing returns (0.30 → 0.60 → 0.75 → 0.83 …). Change the solve rates or the gain and watch the flywheel turn.

CPython · WebAssembly
05

The results

STaR delivered the improvement its loop promised, on arithmetic, commonsense, and math word problems:

FindingWhat it showed
Self-improvementIterating the generate-filter-finetune loop raised reasoning accuracy without any human rationales.
Rationalization helpsAdding rationalized traces for failed problems improved results over the direct loop alone.
Approached fine-tuned baselinesBootstrapping got close to models trained on human-written reasoning, using only answers.
Just Q-A pairsThe only supervision needed was final answers — a cheap, abundant signal.

The practical significance is the data efficiency: reasoning ability that seemed to require expensive hand-written traces could be coaxed out with only answers and the model's own generations. That reframed reasoning as something a model could substantially teach itself.

06

What it foreshadowed

STaR reads, in hindsight, like a blueprint for the reasoning-model era. Its loop — generate candidate reasoning, keep what's verified correct, train on it, repeat — is precisely the shape of the reinforcement-learning-from-verified-answers methods (like GRPO) that trained the current generation of reasoning systems. STaR did it with supervised fine-tuning on filtered samples; later work does it with RL and reward signals, but the core self-improvement idea is the same.

Its enduring lesson is the generate-verify asymmetry as an engine for self-improvement: whenever producing a solution is hard but checking it is easy, a model can bootstrap by generating many attempts and learning from the ones that pass the check. Reasoning with checkable answers is the clearest case, which is why STaR started there — and why that pattern now underlies how frontier models learn to think. It also sits naturally beside process reward models, which sharpen the "verify" side that STaR relies on.

Worth knowing

A subtle risk of the loop: a rationale can reach the right answer by flawed reasoning (correct by luck), and training on it teaches bad habits — the same "right answer, wrong reasoning" problem that process reward models were built to catch.

Frequently asked

Quick answers

What is STaR?

A self-improvement loop: the model generates rationales, keeps those that reach the correct answer, fine-tunes on them, and repeats — bootstrapping reasoning from question-answer pairs.

How are correct answers used?

As a free filter. A rationale is kept only if its final answer matches the ground truth, so the answers select which self-generated reasoning to learn from.

What is rationalization?

For failed problems, hint the answer and have the model produce a rationale reaching it. This lets hard problems, which never yield a correct rationale directly, join training.

Why does it matter?

It taught models to reason with only answers, no human rationales — the self-improvement blueprint behind modern RL-trained reasoning models.

Finished this one? 0 / 101 Paper Breakdowns done

Explore the topic

See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.

More Paper Breakdowns