SFT, rejection sampling, and distillation: bootstrap data before you reach for RL.
The cheapest post-training recipe of 2024 — sample a frontier model, keep the good trajectories, fine-tune on them — has been closed from two directions at once: no major reasoning API returns its raw chain of thought any more, and every major provider's terms forbid training a competing model on its output. What survives is the step that never needed a teacher. Rejection sampling against your own verifier is now the load-bearing technique, and your verifier, not your teacher, is the thing worth spending on.
Step 1SFT is imitation, and imitation has a hard ceiling
Supervised fine-tuning maximises the likelihood of demonstrated trajectories. Its ceiling is exactly the quality of the demonstrations: it will faithfully reproduce the demonstrator's reasoning, its shortcuts, and its mistakes, and it will not invent a strategy absent from the data. The whole game of advanced supervised training is therefore one question — where do better demonstrations come from when human-collected ones are scarce, inconsistent, or capped at human skill?
There are exactly three answers, and they form a sequence rather than a menu. You can filter the model's own samples (rejection sampling). You can do that repeatedly so each round samples from a stronger prior (expert iteration). Or you can take someone else's trajectories (distillation). The first two need a verifier. The third needs access to a teacher — and that is the one that changed.
Step 2Rejection sampling: let the model write its own training set
The key move: a model is often capable of occasionally producing an excellent trajectory even if it usually does not. Sample N trajectories per task, filter to the ones a verifier says are good, and SFT on the survivors. You have manufactured a training set above the model's average behaviour using its own best behaviour.
# Rejection sampling / best-of-N -> new SFT set cands = [sample(model, task) for _ in range(N)] good = [c for c in cands if verify(c)] # keep only passing sft(model, good) # imitate your own best
The technique has a paper trail worth knowing, because the names are used loosely. STaR (Zelikman et al., March 2022) adds a step plain rejection sampling lacks: when the sampled answer is wrong, re-generate the rationale given the correct answer — hindsight, which recovers hard examples the filter would otherwise delete. Rejection-sampling fine-tuning, or RFT (Yuan et al., August 2023), is the non-iterative form, and its finding is the practically useful one: the key factor influencing RFT performance is the amount of distinct reasoning paths, not the number of samples. Collecting rejection samples across several models pushed LLaMA-7B to 49.3% on GSM8K against 35.9% for plain SFT. The same paper notes RFT brings more improvement to weaker models — which is why it is the right first move on a small open-weight base and a smaller one on a frontier checkpoint.
This is not a research curiosity. Llama 2's post-training used two algorithms, PPO and rejection-sampling fine-tuning, and the paper states that until its fourth RLHF iteration only rejection sampling was used — applied to the 70B model alone, with the smaller models distilled from it. Llama 3 kept it in the loop: sample K outputs per prompt, typically 10 to 30, pick the best with a reward model, and iterate SFT → rejection sampling → DPO across rounds.
Budget rejection sampling from the yield, not from N. If your per-task pass rate is p and you want M accepted trajectories, you will generate about M/p and throw away the rest — at p = 0.15 that is roughly seven generations per keeper. The spend is therefore set by your current pass rate, which is also the number that falls as the technique works. Price the first round, not the steady state. See environment engineering for why rollout time, not gradient time, is what you are actually buying.
Step 3Expert iteration: compound the bootstrap, and watch what it deletes
Do it again. SFT on the filtered best raises the model's average; now its best-of-N is better still; filter and SFT again. Each round the policy distils its own search into its weights, and the next round's sampling starts from a stronger prior.
# Expert iteration: search, distill, repeat for round in range(K): good = filter(sample_many(model, tasks), verify) model = sft(model, good) # next round samples from a better prior
The relationship to RL is precise, and a 2025 analysis makes it formal: under its stated structural assumptions the GRPO objective reduces to filtered iterative SFT — an on-policy variant of supervised fine-tuning. Expert iteration is not an approximation of RL so much as a sibling of it with the exploration machinery removed.
What it deletes is the part to watch. A success filter keeps trajectories that worked and discards the ones that recovered, failed, or did something unusual — and those are a real part of the behaviour distribution. One 2026 agentic result is worth carrying as a warning: training on rejection-sampled data raised validation reward while collapsing the model's tool-calling rate from 83% to 52%, and the fix was mixing the original data back in rather than filtering harder. Narrowing is the characteristic failure of this family, and it shows up as a metric going the right way while a behaviour you were not measuring disappears. Gold history and the turn metric is the same hazard seen from the evaluation side.
Step 4Distillation: the teacher's trajectory is no longer on offer
Distillation trains a smaller or cheaper student on a stronger teacher's trajectories. What transfers is the teacher's behaviour on your task distribution — its tool-use patterns, reasoning structure, and recovery moves — not generic capability. In 2024 the teacher was an API call away. As of late 2026 two things stand in the way, and both are load-bearing.
The reasoning trace is not returned. Every major reasoning API now hands back a derivative rather than the thing itself. OpenAI's documentation states that reasoning tokens are not visible via the API while still occupying context and being billed as output tokens; summaries are opt-in, and the encrypted form is available only in a stateless configuration. Anthropic returns a summary of thinking on Claude 4 and later, with a cryptographic signature on each block and a redacted_thinking variant that is encrypted and not human-readable. Gemini exposes thought summaries behind a flag and a thoughtSignature described as an encrypted representation of reasoning state. Microsoft's Azure documentation is the bluntest about intent: attempts to extract raw reasoning by methods other than the summary parameter "are not supported, may violate the Acceptable Use Policy, and may result in throttling or suspension." The details are in reasoning summaries and encrypted traces; the consequence here is that a teacher's process is no longer a thing you can collect, only its final answers and tool calls.
The terms forbid it, and enforcement is now documented. OpenAI's Terms of Use prohibit using Output "to develop models that compete with OpenAI," and its business terms extend that to any competing AI model. Anthropic's commercial terms say a customer "may not and must not attempt to … access the Services to build a competing product or service, including to train competing AI models," while a support article carves out non-competing machine-learning uses — sentiment classifiers, categorisation, summarisation tools — as permitted. Google's Gemini API additional terms bar developing competing models and attempting to replicate any component of the service. These clauses existed before; what is new is a public account of enforcement. In February 2026 Anthropic published that it had traced over 16 million exchanges with Claude through approximately 24,000 fraudulent accounts to three named labs, in violation of its terms and regional access restrictions, and described classifiers and behavioural fingerprinting as the countermeasures. Those are Anthropic's allegations rather than adjudicated findings — but the detection capability they describe is the operative fact for anyone planning a pipeline.
Distillation from a third-party API is now a compliance decision before it is a technical one, and the technical half has been hollowed out anyway. If you are distilling an open-weight teacher you own or whose licence permits it, none of the above applies and the technique is as good as it ever was — which is very good. Draw that line explicitly in your design doc, because the two cases share a name and nothing else.
Step 5DeepSeek-R1 is the proof of the order, not the exception to it
The most-cited distillation result of the period is usually read as evidence that distillation replaced rejection sampling. The paper says the opposite. R1's supervised corpus of roughly 800,000 samples — 804,745 in the table — was built by generating reasoning trajectories through rejection sampling from a first-stage RL checkpoint, keeping only correct responses, plus about 200,000 non-reasoning samples reused from an earlier SFT pipeline. The distillation step then fine-tuned Qwen-2.5 and Llama bases on that corpus.
So the pipeline nests: RL produced a checkpoint, rejection sampling harvested it, and distillation consumed the harvest. The published student numbers are strong — R1-Distill-Qwen-32B at 72.6 on AIME 2024, 94.3 on MATH-500 and 57.2 on LiveCodeBench; the 7B student at 55.5 and 92.8 — and they are harness-dependent: an independent reproduction reports 54.0 on AIME 2024 and 91.6 on MATH-500 for the 7B, which is a useful reminder to attribute these to the paper rather than treat them as constants.
Read as a recipe rather than a result, R1 tells you the ordering holds even at the largest scale anyone has published: the teacher you distil is something you had to build with the earlier techniques first.
Step 6How much RL you are giving up, honestly
The temptation is to claim rejection sampling is as good as RL. The published evidence does not support that, and the claim it does support is more useful.
- A controlled comparison puts GRPO ahead. A 2026 study held the prompts, the verifier, the base model and the adapter fixed and compared GRPO against tuned rejection-sampling fine-tuning on a procedural task. GRPO won on every prompt set by 8 to 11 points, and three rounds of iterated RFT recovered 3.2 of a 10.9-point gap — about 30%. Note the task was a counting problem, not an agentic one.
- Another paper reports the gap as small. A 2025 minimalist-reasoning study finds its rejection-sampling baseline competitive with GRPO with a "surprisingly small gap" and faster early convergence. Both results can be true: the gap depends on the task, the tuning effort spent on each arm, and how much of the budget goes to sampling.
- No clean head-to-head exists on a multi-turn tool-use task. That is worth stating rather than papering over. The agentic-adjacent results point at complementarity instead: rejection-sampled SFT as a warm start expands pass@k coverage on hard problems while RL improves single-pass accuracy.
- Both are gated by the same artefact. Whatever the margin, the verifier decides which trajectories survive in one case and what the reward is in the other. Investing in the verifier raises the ceiling of both arms; investing in the algorithm raises one. See reward design and hacking for what a weak verifier does to the RL arm, and RLVR and GRPO for agents for the recipe itself.
Run the order, and stop at the first plateau. SFT if you already have good trajectories — fastest path, ceiling equals data quality. Rejection sampling as soon as you have a verifier and a model that sometimes succeeds; it needs no RL loop, no value function and no KL tuning, and it produces the eval set and the environment you needed anyway. Expert iteration while round-over-round gains persist, mixing original data back in to stop the distribution narrowing. Distillation only from a teacher you are permitted to copy, which in practice now means an open-weight one. RL last, for the residual gap supervision provably cannot close — and budget it knowing a third of its advantage is reachable by iterating the cheaper technique.
Related: prompt, fine-tune or RL for the decision one level up, training on your own traces for where production data fits in this order, distillation and quantization for the vocabulary, and parameter-efficient fine-tuning for how you will actually apply the gradient.