← Open Source
chrisliu298

awesome-on-policy-distillation

A curated collection of papers, technical reports, frameworks, and tools for on-policy distillation (OPD) of large language models

ListsTool collectionsPaper collections
Open on GitHub
Momentum
+4stars in 24 hours+0.5%
884
Stars
38
Forks
+14
This week
3
Contributors
Created 2026-03-22 · Updated 2026-10-15 · #2676 today
Top developers
README

⚗️ Awesome On-Policy Distillation

A curated collection of papers, technical reports, frameworks, and tools for on-policy distillation (OPD) of large language models.

On-policy distillation trains a student on samples from its own evolving policy, while a teacher (external, privileged, or self-conditioned) provides dense supervision on those same samples.

On-policy distillation (OPD) trains a student on trajectories sampled from its own policy while a teacher scores the student-visited prefixes with dense token-level guidance. This on-policy data collection reduces the train-inference distribution gap that affects off-policy KD/SFT on fixed traces. Depending on the estimator, OPD looks like GKD on student rollouts or policy-gradient/RL with teacher-defined per-token KL/log-prob rewards, making the natural contrast sparse outcome-reward RL rather than RL as a whole. As of 2026, OPD is a standard post-training primitive at Alibaba (Qwen3), DeepSeek (V4), Xiaomi (MiMo), Zhipu (GLM-5), NVIDIA (Nemotron-Cascade 2), and others.

Shipping today? Jump to Frameworks and Implementations. New to OPD? Read Start Here.

Contents

Start Here

A fast path through the field:

  1. Survey. OPD Survey — taxonomy, methods, and open problems in one place.
  2. Foundations. MiniLLM, GKD, and ExOPD — the core student-rollout plus teacher-supervision loop, including its dense KL-constrained RL framing.
  3. Practical intuition. Thinking Machines blog — the clearest end-to-end explanation of why and when OPD applies.
  4. When OPD works and when it breaks. Revisiting OPD, Entropy-Aware OPD, and Rethinking OPD — failure modes (instability, diversity collapse, tokenizer mismatch) and success conditions (compatible thinking patterns, novel teacher capability).
  5. No teacher logits. Black-Box OPD — discriminator-based reward when the teacher is API-only.
  6. No teacher at all. OPSD and SDFT — same model as student and self-teacher.
  7. Context and experience. OPCD and OEL — distill prompts and deployment traces into weights.
  8. Industrial recipes. Qwen3, DeepSeek-V4, MiMo-V2-Flash, GLM-5 — how labs ship OPD in production.

Key decision: access to teacher logits? Yes → white-box (GKD, Veto, Entropy-Aware OPD). No → black-box (GAD, OVD) or self-distillation (OPSD, SDFT).

Surveys and Essays

Surveys and Position Papers

Essays, Blog Posts, and Walkthroughs

Core OPD Papers

The papers that define on-policy distillation for LLMs.

Scope rule: A paper belongs here if its primary contribution is a new component of the OPD training loop itself — an objective, divergence formulation, stability fix, teacher access-mode variant, self-distillation variant, context-internalization mechanism, or systems/efficiency/privacy constraint applied to that loop — with student rollouts central to the learning signal, evaluated on LLM text generation or reasoning. Operational test: if removing the OPD-loop component leaves a working contribution (a working RL recipe, preference method, or KD baseline), the OPD piece is auxiliary → Adjacent. Papers that enable OPD (cross-tokenizer alignment, calibration), compose with OPD as one component of a larger RL/preference structure, or apply OPD to non-text-reasoning substrates live in Adjacent and Enabling Work or Domain Extensions.

Foundations

Gap-Bridging

Stability and Objective Design

Self-Distillation

Context and Experience Internalization

Efficiency, Systems, and Privacy Variants

Taxonomy

Cross-cutting views over the Core papers — representative examples per category, illustrative rather than exhaustive. For the full set, see the Core OPD Papers subsections. Many entries span multiple categories.

By Teacher Type

Teacher Type Papers
External white-box MiniLLM, GKD, DistiLLM, DistiLLM-2, Veto, Entropy-Aware OPD, ExOPD, Prefix OPD, Revisiting OPD, Rethinking OPD, TIP, TrOPD, TRD, SWITCH, OPD2, Demystifying OPD, ShortOPD, CADENCE, Distilled RL, Outcome-Confounded OPD, W2S-OPD, Lightning OPD 2.0, SAF-OPD, Counterfactual Recoverability, SPOT, Multilingual OPD2, RoCo-ACE, Relay-OPD, RSTG, SA-OPD, Adaptive FastOPD, TIDE, WDL-OPD, ReOrder-OPD, Simple-OPD, REOPD, CROP, Dual Nature, SOPD, R2-OPD, OPDVR, SuRe, AED, TA-OPD, GC-OPD, STAR-OPD, TGOPD, OPRD, DiffGate, OPSA, R²-OPD, Dr. OPD, Seg-OPD, SR-OPD, ReTaCo, KL-Free OPD, Cal-OPD, OPD Collapse, RA-OPD, LSPD, IPD, Unbiased Top-k OPD, CataOPD, REVO, S²D-OPD, OPD Scaling, RIDE, TV-OPD, GammaOPD, CLOOPD, EOS Mismatch, TS-OPD, SAKI, Prep-OPD, ResOPD, MAESTRO, Gated FKL/RKL, DuoOPD, SCOUT, Flash-OPD, One-Shot OPD, 1-Shot OPD Data, LastOPD, ERSR, Interpolated PD, DF-OPD, OLIVE, SparseOPD, RouteOPD, Offline OPD Learnability, R-OPD, IDA-OPD, SSTD, GVPO++, Low-Bit OPD, Adaptive Continuation, SpikeOPD, IER (+48 more)
External black-box Black-Box OPD / GAD, OVD, SPoT, ROPD, OmniOPD, DistIL, ZPPO, CausalOPD, SPEAR, GRGC, Persistent Negatives
Self-teacher with privileged context OPSD, SDFT, SDPO, OPSDC, GATES, pi-Distill, RLSD, SDZero, CREDIT, OPSA, DOPD, PHF, TRSD, Purified OPSD, AD-OPSD, CANON, BIRD, CriPO, PromptSD, H²SD, β-OPSD, CSCR, Privileged but Biased, DASH, U-OPSD, RP-OPSD, Woodpecker, RESD, PS-OPSD, DAPD, SPEE, RuPI, Privileged Likelihood, USD, SR-OPSD, CoDA, OP2SD, PAST, Adaptive Anchoring, SKALD, I-SDPO, Latent OPSD, HPSE, DUET, SMOPD, Rethinking PI, DualOPSD, SARA, SecOPD, MoE Routing, E²-OPSD, VISTA, SIPO, OASIS, B-OPSD, OG-OPSD, Diagnosing OPSD, DCSD, Contrastive SD, OPASD, AMPLE-Math, EOPSA, AIR-OPD, AOPSD, Clipped OPSD, N-OPSD, Privileged Context Design, Disentangling SD, Recursive OPSD, FlowBalance, SOLID, TISD, RC-OPD, AFD, FIRE, SCOPE-OPSD (+39 more)
Internal self-teacher (cross-depth) OISD
Self-teacher (non-privileged / answer-free) CAST, TS-OPSD, SafeSteer, NSD, RISE, ACSD, OPPD, OPSRD
Context-conditioned OPCD, OEL, FiC, CCOPD, NCA, PMD, Sleep, Coach, Agent Experience, Masked Distillation, Flux-OPD, Latent OPSD, HPSE, EDGE, RP-OPD, Inductive Feedback, GRASP, CC-OPD, Position-Selective SD, ThinkOPD (+2 more)
Multiple / lifecycle teachers MAD-OPD, CaMOPD, CGTR, Multi-Teacher MOPD, TU-OPD, Open-MOPD, MT-SDPO, TrustMOPD, [LMOPD](https://arxiv.o