AI news and explainers at 7 AM weekdays, plus a Sunday weekly at 8Get it in your inbox

METAL LAB

On-Policy Self-Distillation without Any Supervision

arXiv:2608.062962026-08-08

A language model can grade and re-teach its own math answers with no external answer key

Post-training large language models usually needs ground-truth solutions or a bigger teacher model to guide them, but this paper proposes u-OPSD, a method that lets the model generate multiple attempts at the same problem and use the majority-vote answer as a stand-in for a ground-truth solution. Only the attempts that disagree with the majority get corrected by distilling the model's own consensus-conditioned prediction into them, and this label-free approach matches or beats supervised methods that use real ground truth on math benchmarks. Code is publicly released.

METAL LAB explanatory visual

u-OPSD: How the model becomes its own teacher without an answer key

Evidence statusMeasured results reported

  1. 1. Sample multiple rolloutsThe model independently generates G=8 attempts at the same problem
  2. 2. Majority voteThe most common final answer becomes the pseudo ground truth; rollouts are split into ones that agree and ones that disagree with it, and prompts below the confidence threshold (tau=0.5) are skipped
  3. 3. Condition the teacherThe longest rollout that agrees with the majority vote is used in place of a real solution to form the teacher's next-token distribution
  4. 4. Distill into disagreeing rolloutsThe teacher's predicted distribution is transferred (via forward KL) into the disagreeing student rollouts, correcting the model exactly where it was confidently wrong
An explanatory diagram made by METAL LAB, not a figure supplied by the paper's authors.

What they did

  1. Existing on-policy self-distillation (OPSD) methods let a model train on its own generations, but still need external help such as ground-truth solutions, environment feedback, or a larger guiding model.
  2. u-OPSD samples G=8 rollouts per problem and, if the fraction of rollouts agreeing on an answer reaches a self-consistency threshold (tau=0.5), treats the majority-vote answer as a pseudo ground truth.
  3. The longest rollout that agrees with the majority vote is used as a teacher reference; its next-token distribution is distilled into the disagreeing rollouts so the model corrects itself exactly where it was confidently wrong.
  4. On five math benchmarks (AIME24, AIME25, HMMT25, MATH500, AMC23), u-OPSD improved over base Qwen3 models in non-thinking mode by 8.5 and 10.7 points at 4B and 8B, and beat supervised OPSD (which uses real ground truth) by 3.2 and 2.3 points on average.
  5. In thinking mode, u-OPSD stayed on par with OPSD (0.9 points ahead at 4B, tied at 8B) and outperformed GRPO by 0.7 and 1.1 points.
Figure 1: Comparison between OPSD / SDFT with ground-truth solution or ICLs (left), SDPO with rich feedback from the environment (middle) and our u-OPSD without any supervision.
Figure 1: Comparison between OPSD / SDFT with ground-truth solution or ICLs (left), SDPO with rich feedback from the environment (middle) and our u-OPSD without any supervision.
Table 1: Performance comparison on math reasoning benchmarks for Qwen3 models with non-thinking mode.
MethodAIME24AIME25HMMT25MATH500AMC23Avg.
Qwen3-4B
Base25.8317.7810.8384.1066.2540.96
w/ GT.+ SFT26.6719.7213.0684.8569.3842.73
+ GRPO25.0022.5015.0086.2080.6245.86
+ OPSD32.2220.8316.3985.7576.2546.29
[1.2pt/1.4pt] w/o GT.+ TTRL25.0020.8311.9483.6067.5041.77
+ RENT22.2220.2811.3984.0074.3842.45
+ Intuitor23.8920.0011.6783.7070.6241.98
+ u-OPSD37.5027.7814.4486.5081.2549.49
Qwen3-8B
Base27.5023.3313.6184.0569.3843.57
w/ GT.+ SFT26.9421.6711.9484.1072.5043.43
+ GRPO30.5621.9413.0687.8573.7545.43
+ OPSD41.6728.0618.3387.1585.0052.04
[1.2pt/1.4pt] w/o GT.+ TTRL27.2221.1113.0684.4571.8843.54
+ RENT28.3321.6710.8384.0070.0042.97
+ Intuitor26.1122.5011.6784.2073.1243.52
+ u-OPSD45.5634.7218.6189.5583.1254.31
Figure 2: Overview of Unsupervised On-policy Self-Distillation (u-OPSD), which replaces ground-truth supervision in On-Policy Self-distillation with pseudo-labels generated from the model’s own majority-vote consensus.
Figure 2: Overview of Unsupervised On-policy Self-Distillation (u-OPSD), which replaces ground-truth supervision in On-Policy Self-distillation with pseudo-labels generated from the model’s own majority-vote consensus.
Table 2: Thinking mode, per benchmark at step 150, under the protocol of Table 1. Shading and bold as in that table.
MethodAIME24AIME25HMMT25MATH500AMC23Avg.
Qwen3-4B
Base74.1764.7245.5694.8095.0074.85
w/ GT.+ SFT73.0669.1741.6795.4094.3874.73
+ GRPO73.8969.4443.6195.4599.3876.35
+ OPSD75.2868.0643.0695.2099.3876.20
[1.2pt/1.4pt] w/o GT.+ TTRL72.7868.3345.5695.9096.2575.76
+ RENT74.7265.8343.0695.2599.3875.65
+ Intuitor76.3968.3342.7895.3597.5076.07
+ u-OPSD76.3968.0646.9495.7598.1277.05
Qwen3-8B
Base75.5666.6745.0096.3596.8876.09
w/ GT.+ SFT76.3969.7243.8995.8095.0076.16
+ GRPO76.9469.1747.7895.7095.0076.92
+ OPSD80.8369.7246.6795.7596.8877.97
[1.2pt/1.4pt] w/o GT.+ TTRL77.2268.6146.9495.7596.2576.95
+ RENT77.5070.2845.8395.9596.2577.16
+ Intuitor76.9470.2844.1796.2095.6276.64
+ u-OPSD76.9471.3947.5096.0098.1277.99
Figure 3: Training curves of the Qwen3-4B runs quoted in Tables 1 and 2, on AIME24, AIME25 and MATH500 over the first four checkpoints, in thinking (left three columns) and non-thinking mode (right three); the dashed line is the base model. Top: u-OPSD against the supervised arms. Bottom: u-OPSD against the label-free ones. The axis counts checkpoints: u-OPSD saves every 25 steps and GRPO every 50, so the GRPO points span its steps 50–200. The two modes separate at a glance—in non-thinking mode u-OPSD breaks away from every other arm, while in thinking mode all methods stay within about two points of base.
Figure 3: Training curves of the Qwen3-4B runs quoted in Tables 1 and 2, on AIME24, AIME25 and MATH500 over the first four checkpoints, in thinking (left three columns) and non-thinking mode (right three); the dashed line is the base model. Top: u-OPSD against the supervised arms. Bottom: u-OPSD against the label-free ones. The axis counts checkpoints: u-OPSD saves every 25 steps and GRPO every 50, so the GRPO points span its steps 50–200. The two modes separate at a glance—in non-thinking mode u-OPSD breaks away from every other arm, while in thinking mode all methods stay within about two points of base.
Table 3: Qwen3-30B-A3B-Instruct-2507, non-thinking, scored as pass@1 rather than average@n: generation i of every problem forms one single-sample run, and i=1,2,3 give three estimates, reported as mean ± population standard deviation. Each arm is shown at the checkpoint with the best five-benchmark mean under this metric. Because the metric differs from Tables 1 and 2, the two are not comparable and the numbers are kept apart. Bold marks the best value in each column.
ModelMethodAIME24AIME25HMMT25MATH500AMC23Avg.
Qwen3-30B-A3B -Instruct-2507Base80.00±0.0063.33±2.7243.33±2.7296.33±0.2595.83±1.1875.77±0.85
OPSD78.89±3.1461.11±3.1447.78±1.5797.20±0.4396.67±2.3676.33±1.58
u-OPSD75.56±5.6765.56±4.1650.00±0.0097.00±0.4399.17±1.1877.46±2.09
Qwen3-4B -Instruct-2507Base66.67±7.2053.33±5.4427.78±4.1693.87±0.3493.33±1.1867.00±2.25
OPSD62.22±5.0952.22±5.0931.11±5.0994.93±0.6495.00±0.0067.10±1.13
u-OPSD68.89±5.6757.78±1.5728.89±3.1494.20±0.8694.17±1.1868.78±1.70
Table 4: Performance under combinations of the teacher-reference selection (rows) and the distillation-target selection (columns), on Qwen3-8B non-thinking, G=8, τ=0.5, k=1. Each cell is the five-benchmark average at the best checkpoint in 25–150, with the step given in parentheses. “label-only” strips the teacher’s reference down to the boxed pseudo-label.
Teacher ref. \ distilllongestrandomshortest
label-only43.40 (125)43.00 (100)41.55 (25)
shortest (default)57.10 (125)54.37 (75)55.23 (150)
random57.96 (75)56.93 (75)55.77 (75)
longest59.00 (75)57.90 (100)55.01 (125)
Table 5: Ablation of the disagreeing-rollout selection policy (matched decay schedule). Each cell shows step 150 / best checkpoint in 25–150. All variants use G=8, τ=0.5.
VariantAIME24AIME25HMMT25MATH500AMC23
OPSD (supervised)27.50 / 27.5020.00 / 23.6112.50 / 13.3383.80 / 84.6571.88 / 72.50
disagree-1 (default)33.89 / 35.2827.78 / 27.7814.72 / 16.1187.60 / 87.6079.38 / 79.38
disagree-229.72 / 31.1123.33 / 27.5015.28 / 16.6786.20 / 86.3075.62 / 80.00
disagree-327.78 / 34.7225.83 / 31.1113.33 / 18.3385.45 / 87.1072.50 / 76.25
disagree-all (no cap)29.44 / 30.8322.50 / 25.8310.00 / 13.3385.25 / 86.0073.75 / 74.38
longest-133.06 / 34.7223.33 / 26.6714.72 / 18.3385.50 / 86.8073.75 / 78.12
Table 6: Comparison of divergence computation strategy: Full vocabulary is logit distillation over every token (2); sampled token evaluates the two policies only at the token the student drew (26); top-k rows truncate the teacher to its k largest entries. We report on Qwen3-8B non-thinking at the best checkpoint.
VariantAIME24AIME25HMMT25MATH500AMC23Avg.
Student token29.4419.7212.7884.7070.6243.45
top-k2050.0037.7819.4490.2088.1256.94
5048.0637.5024.1789.4585.6255.85
10053.8943.3320.5691.6585.6259.01
20051.6740.0022.5090.1588.7558.11
Full-vocabulary53.8937.5020.2889.9085.6257.10
Table 7: Divergence family Dβ under u-OPSD, on Qwen3-8B non-thinking, longest-1, G=8, τ=0.5. Each arm is shown at its best checkpoint in 25–150. Objective names follow 59, who report the same comparison under gold supervision.
ObjectiveAIME24AIME25HMMT25MATH500AMC23Avg.
Base27.5023.3313.6184.0569.3843.57
Forward KL KL(πT∥πS), β=0 (default)53.8937.5020.0089.7584.3857.10
Reverse KL KL(πS∥πT), β=1training diverges (not scored)
JSD (β=0.5)29.4421.9412.2283.7069.3843.34
Table 8: Reproduction of published OPSD results with the released code and hyperparameters (avg@12, temperature 1.0). “pub.” denotes the numbers published in the official OPSD repository; “ours” our rerun. Checkpoint columns are steps 50/75/100/150, matching the checkpoints published for this configuration.
ConfigBenchbasecheckpoints
Qwen3-4B (non-thinking)AIME24 pub.23.120.327.531.132.8
AIME24 ours22.223.127.232.231.9
AIME25 pub.21.421.420.821.121.9
AIME25 ours17.820.823.120.821.1
HMMT25 pub.10.811.113.116.414.4
HMMT25 ours12.210.612.816.411.7
Table 9: GRPO under matched and mismatched reasoning modes. Each row is the best of ten checkpoints (steps 50–500) by five-benchmark mean, scored at temperature 1.0 against the base model in the evaluation mode of that row. The two “thinking → non-thinking” rows reuse the checkpoints of the rows above them; only the evaluation prompt differs.
TrainEvalStepAIME24AIME25HMMT25MATH500AMC23Avg.Δ base
Qwen3-4B
thinkingthinking30073.8969.4443.6195.4599.3876.35+1.79
thinkingnon-thinking50025.0021.3913.8983.7576.2544.06+2.62
non-thinkingnon-thinking20025.0022.5015.0086.2080.6245.86+4.43
Qwen3-8B
thinkingthinking25076.9469.1747.7895.7095.0076.92+0.66
thinkingnon-thinking10027.2222.5013.3385.2067.5043.15+1.20
non-thinkingnon-thinking50030.5621.9413.0687.8573.7545.43+3.48
Table 10: Self-consistency threshold τ on Qwen3-8B non-thinking, longest-1, G=8. Each cell shows step 150 / best checkpoint in 25–150. τ is the fraction of valid rollouts that must agree for a prompt to receive a pseudo-label; τ=0 accepts every prompt.
τAIME24AIME25HMMT25MATH500AMC23Avg.
053.33 / 57.5041.39 / 46.6722.50 / 27.2290.70 / 92.1588.12 / 89.3859.21 / 61.83
0.350.83 / 53.3334.44 / 41.6720.28 / 23.0689.85 / 90.6585.00 / 88.1256.08 / 58.59
0.543.06 / 53.8935.83 / 37.5020.28 / 20.2888.00 / 89.9082.50 / 85.6253.93 / 57.10
0.732.78 / 37.5023.61 / 26.6713.06 / 14.4485.95 / 87.7074.38 / 76.2545.96 / 48.18
0.932.22 / 32.2220.83 / 22.5013.61 / 13.6184.70 / 84.8570.62 / 72.5044.40 / 44.40
Table 11: Number of rollouts per prompt G on Qwen3-8B non-thinking, longest-1, τ=0.5. Each cell shows step 150 / best checkpoint in 25–150.
GAIME24AIME25HMMT25MATH500AMC23Avg.
447.22 / 50.2835.83 / 37.7818.06 / 21.1188.15 / 90.2084.38 / 87.5054.73 / 56.99
843.06 / 53.8935.83 / 37.5020.28 / 20.2888.00 / 89.9082.50 / 85.6253.93 / 57.10
1253.61 / 57.2240.83 / 43.3320.56 / 26.3991.00 / 92.0086.25 / 90.0058.45 / 61.79
1651.67 / 55.2841.67 / 44.1722.22 / 22.2289.90 / 89.9087.50 / 87.5058.59 / 59.37
Table 12: How the teacher is updated, on Qwen3-8B non-thinking, longest-1, G=8, τ=0.5. Each cell shows step 150 / best checkpoint in 25–150. “fixed” freezes the teacher at the initial policy (the base model with the adapter disabled), which is OPSD’s own setting and ours everywhere else; the EMA rows let the teacher track the student at the given decay.
TeacherAIME24AIME25HMMT25MATH500AMC23Avg.
fixed43.06 / 53.8935.83 / 37.5020.28 / 20.2888.00 / 89.9082.50 / 85.6253.93 / 57.10
EMA 0.99943.61 / 52.7836.67 / 41.3918.33 / 23.3388.40 / 90.5087.50 / 87.5054.90 / 58.82
EMA 0.9952.78 / 54.1739.72 / 43.8923.33 / 23.3389.85 / 91.0083.75 / 86.8857.89 / 58.88
EMA 0.99554.17 / 55.0040.28 / 43.3321.94 / 22.5090.10 / 90.7583.75 / 89.3858.05 / 59.47
Table 13: Learning-rate schedule ablation: best AIME24 checkpoint (avg@12) per method under an effectively-constant LR (30-epoch horizon, ≈5×10−6 throughout) vs. the matched 150-step linear decay used throughout Tables 1 and 2. The constant-LR column is OPSD’s native configuration, so the released figure is directly comparable there; no released run exists under the decayed schedule.
MethodConstant LRLinear decay
OPSD (supervised)32.2227.50
as released32.8
disagree-137.5035.28
disagree-232.7831.11
disagree-333.6134.72
disagree-all33.6130.83
longest-131.9434.72

Findings

  • Averaged over five math benchmarks, u-OPSD improved over base Qwen3-4B/8B non-thinking models by 8.5 and 10.7 points respectively, and beat ground-truth-supervised OPSD by 3.2 and 2.3 points.
  • In thinking mode, u-OPSD was 0.9 points ahead of OPSD at 4B and tied at 8B, while beating GRPO by 0.7 and 1.1 points respectively.
  • On instruction-tuned models, u-OPSD raised Qwen3-30B-A3B-Instruct-2507 from 75.77 to 77.46 and Qwen3-4B-Instruct-2507 from 67.00 to 68.78, exceeding OPSD by 1.1 and 1.7 points.
  • Among 64 training prompts analyzed, 96.3% of rollouts yielded a parsable answer, 94.0% of prompts cleared the self-consistency threshold, and 86.7% of the resulting pseudo-labels matched the actual gold answer.
  • Stripping the teacher's reference down to just the boxed pseudo-label (rather than the full reasoning trace) cost 11.4 to 15.6 points; using symmetric Jensen-Shannon divergence instead of forward KL cost 13.8 points, dropping performance to roughly the untrained baseline.

Where it can be used

  • Building training pipelines for domains lacking ground-truth labels, where a model's own majority-vote consensus substitutes for gold answers.
  • Improving model accuracy on competition-style math or other domains where final answers can be automatically extracted and checked for exact match.
  • Using this label-free approach as a comparison baseline against ground-truth-based methods like OPSD or GRPO in future post-training research.

Limits and open work

  • Experiments cover only the Qwen3 model family (4B and 8B) and one domain, competition mathematics, where final answers can be cleanly extracted and canonicalized.
  • Gains are much larger in non-thinking mode than in thinking mode, since stronger thinking-mode base models already leave less room for improvement.
  • The pseudo-labels are bounded by whatever answer the base model most often produces; the paper measured 13.3% of pseudo-labels being wrong in-domain and did not test training under deliberately corrupted votes.
  • Variance was only partly addressed with 12 samples per checkpoint across five benchmarks; seed-replicated error bars for every training setup are still pending and planned for a revision.
  • GRPO's mode-mismatch experiment tested transferring thinking-trained checkpoints to non-thinking evaluation, but the reverse direction was not tested.

Why it matters

If self-generated consensus can substitute for gold answers, models could keep improving on tasks where labeled data is expensive, unreliable, or simply doesn't exist, such as open-ended or hard-to-verify domains. This points toward a path for continual self-improvement that doesn't depend on ever-larger supervised datasets or stronger external teacher models.

Terms in this paper

  • on-policy self-distillation (OPSD) · A training method where a model teaches itself using its own generated outputs rather than a separate teacher model
  • majority vote · Sampling many answers to the same problem and treating the most common answer as likely correct
  • self-consistency threshold (tau) · The minimum fraction of sampled answers that must agree before that consensus answer is trusted for training
  • GRPO · A reinforcement learning method that updates the policy using rewards computed relative to a group of sampled rollouts, checked against a ground-truth answer
  • forward KL divergence · A way of measuring the difference between a teacher's and student's predicted probability distributions, used to pull the student toward the teacher

Original abstract (English)

On-policy (Self-)Distillation (OPD / OPSD) has shown strong potential for post-training large language models (LLMs). However, existing methods still rely heavily on external supervision, including ground-truth signals, environmental feedback, or guidance from larger models, and therefore fall short of genuine "self"-distillation. In this study, we show that on-policy self-distillation can be achieved using only a model's own generations via internal consistency. We propose unsupervised on-policy self-distillation (U-OPSD). U-OPSD first samples multiple rollouts and constructs a pseudo solution by majority vote under a self-consistency threshold. It then conditions the model's distribution on the pseudo-solution and distills itself on the disagreeing completions, allowing the model to correct itself precisely where it is confidently wrong. Across diverse benchmarks, base models, and training settings, U-OPSD consistently improves over the base models and matches or surpasses supervised methods with ground truth (GT) such as OPSD and GRPO. On five mathematical reasoning benchmarks, i.e., AIME24, AIME25, HMMT25, MATH500, and AMC23, U-OPSD improves over the base model by 8.5% and 10.7% on Qwen3 non-thinking mode at 4B and 8B scales, and outperforms OPSD by 3.2% and 2.3% on average, respectively. In thinking mode, U-OPSD stays on par with OPSD, ahead by 0.9% at 4B and level at 8B and surpassing GRPO by 0.7% and 1.1%, respectively. Code is available at [https://github.com/williamium3000/u-opsd](https://github.com/williamium3000/u-opsd).

Authors · Yijiang Li

Read on arXiv

Latest papers

All papers →

Latest from METAL LAB

Figures: Yijiang Li et al., arXiv:2608.06296, CC BY 4.0