explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Why curated OPSD runs out of data
  • One checkpoint, four roles
  • How the synthesizer reward works
  • One round of OPSE in the diagram
  • Reported benchmark numbers
  • How to try it on your cluster
  • How OPSE fits next to other self-training lines
  • What to watch before you ship weights
  • Practical checklist for builders
  • Related reading
← Back to blog

explainx / blog

OPSE: Zero-Data On-Policy Self-Evolution for Math Reasoning Models

Self-Distillation, Reinforcement Learning, Qwen, Mathematics, Open Source

Part of AI Research

OPSE lets a language model write its own math problems and teacher-only hints, then self-distill with no human labels. Authors report +3.3 points on Qwen3-4B and open GitHub code.

Dec 2, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
OPSE: Zero-Data On-Policy Self-Evolution for Math Reasoning Models

A language model can improve on competition math benchmarks without human-written problems, reference solutions, or a stronger teacher — by writing its own training problems and teacher-only hints, then distilling on-policy against a frozen copy of itself. On-Policy Self-Evolution (OPSE), from Jiashuo Sun, Xueqiang Xu, Jiawei Han, and colleagues, posted on arXiv and Hugging Face Papers with open-source code. On Qwen3-4B-Instruct-2507, the authors report one round lifting four-benchmark average accuracy from 55.7% to 59.0%, while zero-data baselines gain at most 0.7 points and curated DeepMath OPSD gains at most 0.3.

Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

Why curated OPSD runs out of data

On-policy self-distillation (OPSD) trains a student on its own samples while a teacher — often the same weights — sees privileged context the student lacks. That context might be a reference solution or a strategy hint. The limitation is data design: a problem–privilege pair that teaches Qwen3-4B today may teach nothing to an updated checkpoint tomorrow, and building pairs by hand does not scale.

Future-OPSD showed one escape hatch for vision-language models: use past–future video as privilege without captions. OPSE targets text-only math with a sharper constraint: no external corpus at all — the model must invent both the problem and the hint.

That matters for teams blocked by license, cost, or contamination fears on public math sets. If you already run GRPO or multi-teacher on-policy distillation in production, OPSE is a recipe to test synthetic supervision before you buy another labeled bundle.

One checkpoint, four roles

Reinforcement-learning loop metaphor for OPSE synthesizer GRPO rewardReinforcement-learning loop metaphor for OPSE synthesizer GRPO reward

OPSE keeps a single starting checkpoint π₀. From it:

  1. A synthesizer (trainable) emits (problem, hint) pairs. The student sees only the problem; the teacher is frozen π₀ with the hint in its prompt.
  2. GRPO updates the synthesizer so hints that change next-token predictions earn reward only when they preserve the model’s majority answer and strengthen consensus across samples.
  3. The pipeline deduplicates problems with an embedding model (for diversity, not correctness), scores early teacher–student KL divergence on student prefixes, and keeps about 1,600 lowest-divergence pairs from a bank near 8,000.
  4. OPSD distillation runs on those pairs; the distilled student becomes the initializer for the next round in the paper’s multi-round experiments.

No step imports human solutions. The only outside model is a text embedder for deduplication and novelty penalties.

How the synthesizer reward works

The README and paper spell out gates readers can reimplement without the full veRL stack:

  • Consensus preserved: Sample k = 10 answers with and without the hint. The hint counts only if the teacher majority answer equals the student majority answer.
  • Consensus strengthened: At least two student completions must agree, and the teacher must be more consistent than the student (s_T > s_S).
  • Divergence: Reward scales with forward KL between teacher and student next-token distributions on the student’s own rollout, restricted to top-16 tokens, so empty hints earn nothing.
  • Diversity: Embedding-distance and novelty penalties stop the synthesizer from repeating near-duplicate problems.

This is deliberately label-free. The majority answer can still be wrong; the method rewards hints that strengthen existing consensus, not hints that import gold labels. That is a design choice teams should understand before copying the recipe into customer-support or coding domains where wrong consensus is costly.

One round of OPSE in the diagram

OPSE on-policy self-evolution pipeline diagram showing synthesizer GRPO, hint selection, and distillation roundsOPSE on-policy self-evolution pipeline diagram showing synthesizer GRPO, hint selection, and distillation rounds Image: Sun et al., arXiv 2612.00577

Figure 2 in the paper (saved above) walks the loop: GRPO synthesizer → harvest and gate → select low early divergence → OPSD student update → optional next round.

The lower-left example shows a hint raising the vote share for the same majority answer from 4/10 to 8/10 completions — the intuition behind strengthening without revealing the final boxed result in the student prompt.

Selection uses mean KL over the first L = 512 tokens of student responses. The authors argue that disagreement alone is a poor training signal; they keep pairs where early reasoning already aligns with what a hinted teacher would endorse. That connects to broader process supervision debates on reasoning models where token-level targets matter more than final-answer RL alone.

Reported benchmark numbers

The paper evaluates AMC23, AIME24, AIME25, and HMMT25 with mean@16 accuracy, three seeds, temperature 0.6, top_p 0.95, top_k 20, up to 38,912 new tokens, non-thinking prompts. AMC23 is the validation set used to pick checkpoints; the three AIME/HMMT sets are tests.

table · 4 cols
ModelMethodZero-data?Avg. (four benchmarks)
Qwen3-4B-Instruct-2507BaseYes55.7
Qwen3-4B-Instruct-2507R-ZeroYes55.3
Qwen3-4B-Instruct-2507G-ZeroYes56.0
Qwen3-4B-Instruct-2507OPSE (1 round)Yes59.0
Qwen3-4B-Instruct-2507OPSD on DeepMathNo55.6
Qwen3-4B-Instruct-2507GRPO on DeepMathNo55.2

The same table in the README lists OLMo-3-7B (+1.5 average) and Ministral-3-8B (+2.2 average) after one OPSE round. Ministral is the case where curated OPSD actually hurts versus base in the paper table — a reminder that privilege data must match the student, not just exist.

Three OPSE rounds on Qwen3-4B are reported to reach 62.6% average in the abstract; the public repo documents one round end-to-end. Iterative rounds restart from the prior checkpoint per docs/DEVIATIONS.md — not bundled as a single opse run today.

Alternate distillation losses

On the same selected pairs, the authors compare OPSD, OPSD + EOPD, and EAD losses. EAD posts the highest one-round Qwen3-4B average (60.7%) in the README table. Builders who already use E2-OPSD forks-style tooling may want EAD first; the default release path uses OPSD as in the main paper row.

How to try it on your cluster

The GitHub repository is operationally concrete:

bash
git clone https://github.com/GasolSun36/OPSE.git
cd OPSE
cp env.local.sh.example env.local.sh
bash scripts/setup/setup_gen_env.sh
bash scripts/setup/setup_distill_env.sh
pip install -e .
opse models
opse data
opse run

opse run --dry-run prints resolved commands without touching GPUs — useful for estimating whether your scheduler can hold an 8×80 GB node for ~28 hours. Stages resume when outputs exist; opse table prints the AMC23 checkpoint curve and the selected step under the paper’s rule (highest AMC23, earliest tie-break).

Released Hugging Face weights for the distilled student and the 1,600 problem–hint pairs were listed as “to be added” in the README when this post was written. Until those drop, your reproduction path is full pipeline or waiting on the cards.

Contamination and evaluation discipline

The paper cites Appendix B.4 for a contamination check on evaluation problems. For teams comparing OPSE against public leaderboard fine-tunes, mirror their protocol before claiming wins: seed manifest, identical decoding, and held-out synthetic banks matter more than a single +3.3 headline.

How OPSE fits next to other self-training lines

table · 4 cols
ApproachPrivilege sourceLabels?OPSE contrast
OPSD / Future-OPSDHuman or modality-native context (solutions, future video)Often yes for problemsOPSE drops all external problems
R-Zero / G-ZeroSelf-written problems or preferencesNoOPSE adds hint-gated teacher context and early-divergence selection
GRPO on curated setsTask rewards on fixed promptsNeeds prompt setOPSE grows the prompt set itself
P²-MOPDMultiple expert teachersTeacher models requiredOPSE uses no stronger teacher

For API consumers, OPSE is not a product launch. For fine-tuning shops, it is a benchmarked pattern to pit against your current synthetic data generator — especially if you already pay for GRPO harness adapters and want math reasoning gains without new licenses.

What to watch before you ship weights

  1. Wrong-majority risk. Rewards can reinforce a popular but incorrect answer cluster. Add held-out verifiers or tool checks if you move beyond math-with-boxed-answers.
  2. Compute honesty. ~320 GPU-hours for the paper evaluation protocol is not a laptop experiment. Budget like a NeMo RL job, not a LoRA afternoon.
  3. Hint leakage. Hints are teacher-only, but logging and tracing must keep them out of student-facing inference paths in production assistants.
  4. License. Code is MIT; HMMT25 data is CC BY-NC-SA per data/README.md — non-commercial constraint on that slice.

Practical checklist for builders

table · 2 cols
StepAction
1Read arXiv 2612.00577 §2–3 for reward and selection math
2Run opse run --dry-run on a login node to validate paths
3Reproduce one round on Qwen3-4B before swapping your base model
4Log majority-answer statistics per round to catch collapse
5Compare against your current synthetic SFT baseline on the same eval seeds

If you teach post-training, OPSE is a teachable inverse of scaling loop depth: instead of looping layers at inference, you loop data synthesis and distillation at training time.

Teams new to GRPO and distillation often start with a guided build before renting an eight-GPU node. explainx.ai's AI builder workshops walk through harness setup and eval discipline — the same habits OPSE assumes you already have when you read opse run --dry-run.

Related reading

  • Future-OPSD: video foresight without labels
  • P²-MOPD: multi-teacher on-policy distillation
  • Recurrent depth and reasoning loops
  • Qwen3.8 harness adapters and AsyncGRPO
  • GLM-5.4 Loop Transformer coding release
  • NVIDIA NCCL resharding for RL weight sync
  • Strongly polynomial LP and frontier math hype

Accuracy figures follow Sun et al., arXiv 2612.00577 and the OPSE README as of December 2, 2026. Independent replication may shift scores.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 30, 2026

UltraTerminals: Hugging Face Open-Sources 2,597 RL Agent Environments

Hugging Face harness-hub published UltraTerminals on November 30, 2026 with 2,597 runnable Harbor reinforcement-learning tasks spanning coding, Cedar and OpenFGA policy reviews, contracts, and business workflows.

Nov 30, 2026

Maco-RL: Mixed-Task RL Trains One Qwen Agent Across Code, Terminal and Office Tasks

Researchers at the Chinese Academy of Sciences and Huawei describe Maco-RL, a mixed-task reinforcement learning stack that jointly trains one Qwen 27B policy on coding, terminal, office, and feature tasks. The paper reports stronger Overall scores than training separate specialists, with less cumulative compute.

Nov 29, 2026

Left to Solve: AI Agents Attack 46,000 Open Math Problems in Lean 4

Left to Solve opened November 26, 2026 with more than 62,000 math targets, including Erdős prizes and Millennium problems stated in Lean 4. Coding agents work locally, open pull requests, and only the Lean kernel can mark a proof accepted; 2,616 open problems had crossed that bar by November 29.