Why a High-Scoring Teacher Model Fails as a Distillation Teacher
A teacher's worth in distillation is not how well it solves problems alone, but whether it can still finish correctly from the half-written states its student actually visits; SPTA trains the teacher on student prefixes, freezes it, and leaves the distillation objective untouched.
On this page
A teacher model that scores 60.99 on competition math looks like an obvious upgrade over a student scoring thirty points lower, yet that number was measured on clean prompts, not on the half-finished solutions the teacher will actually be asked to continue. The usual advice is to rank candidates by standalone accuracy and sign. This paper shows the ranking breaks in on-policy distillation, where the teacher is queried on student-generated prefixes that may contain flawed reasoning or unfamiliar phrasing. On those prefixes the same teacher falls to 28.91%. The authors propose Student-Prefix Teacher Adaptation, which adapts the teacher to student states before distillation and then freezes it [1].
The Default Bet: A High-Scoring Teacher Must Be a Good Teacher
Knowledge distillation transfers the predictive behavior of a large teacher into a smaller student. For autoregressive language models this has a known flaw: training on teacher-written sequences creates a mismatch with the student's own inference-time outputs, usually called exposure bias. On-policy distillation addresses it by sampling trajectories from the student and collecting token-level teacher supervision on those samples [1].
That fixes which states get supervised, not whether the supervision there is any good. The teacher's next-token distribution is conditioned on a student prefix, which may contain a wrong reasoning step, odd phrasing, or an intermediate state the teacher never saw during its own training. The paper calls this a teacher-side distribution mismatch and notes it worsens as prefixes grow longer.
Hand the Teacher a Half-Written Solution and It Stalls
The paper defines a recovery metric that is easy to state: let the student start a solution, truncate it at some fraction, let the teacher continue from there, and check the final answer. A ratio of zero is just the clean prompt. Evaluation covers five benchmarks, AIME24, AIME25, AMC23, HMMT24 and HMMT25, reporting avg@16 over 16 samples per problem.
| Retained student prefix ratio | Qwen3-4B teacher accuracy | DeepSeek-R1-Distill-Qwen-7B teacher accuracy |
|---|---|---|
| 0% (clean prompt) | 60.99% | 46.63% |
| 50% | 28.91% | 37.08% |
| 90% | 22.36% | 36.51% |
Qwen3-4B drops 32.08 points, from 60.99% to 28.91%, and sits at 22.36% with a 90% prefix. DeepSeek-R1-Distill-Qwen-7B falls less sharply, 9.55 points to 37.08% at the 50% ratio, and reaches 36.51% at 90%. Prefixes are drawn from the matching student, Qwen3-4B-Base for the Qwen3-4B teacher. The practical reading is blunt: a teacher that leads its student by thirty-plus points on a standalone exam does not keep that lead where distillation actually queries it.
How SPTA Works: Let the Student Write Half, Then Retrain the Teacher to Finish
Student-Prefix Teacher Adaptation runs in two stages, with one update to the teacher parameters in between and a frozen teacher afterwards.
- Prefix sampling: for each training prompt, a fixed source student generates m=4 rollouts and one is kept uniformly at random, so each prompt contributes a single prefix. The kept rollout is truncated at a ratio r drawn from U(0.01, 0.90), giving k=floor(rL) tokens. This prefix set stays fixed for the whole adaptation run.
- Teacher adaptation: the teacher samples a continuation from the prefix and receives a verifiable reward for whether the concatenated answer is correct. Critically, the RL action loss applies only to continuation tokens; the student prefix is conditioning context, never a supervised teacher action. Because the reward scores the final answer, the teacher may abandon a wrong line of reasoning instead of imitating it.
- Stage two: the adapted teacher is frozen and used to supply token-level targets on fresh student rollouts. The distillation objective is unchanged; only the teacher parameters differ.
- Iteration: the prefix distribution is refreshed from the newly trained student and adaptation runs again. The paper reports a further gain for the Qwen3-4B student at the cost of one more training round.
The authors' argument is that OPD needs a teacher placing mass on tokens that lead to a correct completion from that prefix, and prefix-conditioned RLVR optimizes exactly that family of conditionals. Task-level RLVR instead improves only the clean-prompt state at t=0 and relies on generalization to reach the prefixes OPD queries [1].
Five Benchmarks, Three Pairings: How 0.62 Points Became 3.65
Experiments span three teacher-student pairings on the same five math reasoning benchmarks. A single adaptation round raises mean student accuracy in all three. The sharper comparison is against a control that gives the teacher the same optimization procedure but starts from the prompt alone. In the two pairings carrying that task-level RLVR control, prefix-conditioned adaptation produces the stronger student under matched teacher optimization schedules, so the gain traces to where the teacher is optimized rather than how much extra training it received.
One pairing makes the failure mode concrete. Standard OPD with the original teacher improves the student by 0.62 points over no distillation at all, which is close to a no-op. With the adapted teacher the same pipeline yields 3.65 points.
| Teacher | SPTA recovery at r=50% | Gain at r=50% | Gain at r=90% |
|---|---|---|---|
| Qwen3-4B | 49.88% | +20.97 pts | +25.32 pts |
| DeepSeek-R1-Distill-Qwen-7B | 43.36% | +6.28 pts | +7.32 pts |
One more number is easy to skip. After adaptation, Qwen3-4B's clean-prompt accuracy actually falls by 6.60 points, while DeepSeek-R1-Distill-Qwen-7B gains 2.51. Recovery and independent problem solving can therefore move in opposite directions, which undercuts the intuition that simply making the teacher stronger is enough. What matters is training the teacher on the states it will be queried on.
When This Method Does Not Apply
First, recovery is an outcome-level diagnostic. It checks the final answer only, so it certifies neither every intermediate step nor the quality of the token-level targets OPD actually consumes. A teacher that lands the right answer may still place poor probability mass along the way.
Second, there is no own-prefix control. The comparison holds student prefixes fixed and swaps the teacher, but never asks the teacher to continue its own prefixes. Prefix source is therefore not separated from context length or continuation difficulty, and the paper does not say how much of the drop is student error versus the task simply being harder.
Third, prefix length is drawn uniformly from 0.01 to 0.90. The authors describe this as a coverage heuristic rather than an exact match to the student's token-level occupancy distribution, and they did not tune the range. Whether it transfers to other tasks or student scales is untested.
Fourth, scope is narrow. All five benchmarks are competition math with automatically checkable final answers, and the whole method depends on that verifiability. Open-ended writing, multi-turn dialogue, and tasks without reference answers give no reward signal to optimize. Adaptation also costs an extra RL round, and the iterative version adds a refreshed prefix set and another round on top. The method fails when your reward cannot be verified automatically, and it is out of scope when your real bottleneck is data mixture rather than teacher signal quality. Its contribution is to widen teacher selection from standalone accuracy to prefix-conditioned reliability [1].
