SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.18734 · ICML · 2026

Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models

Jing Huang, Aditya Grover, Mengchen Liu, Ucla, Zhihui Xie, Siyan Zhao, Hku, Guan Pang, Feiyu Chen, Large Model

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2601.18734.json · badge: /api/ran/2601.18734.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
siyan-zhao/OPSD canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
extract_boxed_answer Ran
ran; our contract draft was wrong, not the code
siyan-zhao/OPSD/grpo_train.py
pointer only (licence: NONE); the stored copy get_code serves, from ZJU-REAL/TTPO, is pointer only (licence: NONE) · get_code("728111e00c43689f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, siyan-zhao/OPSD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_boxed_answer Ran
ran; our contract draft was wrong, not the code
siyan-zhao/OPSD/eval/evaluate_math.py
pointer only (licence: NONE); the stored copy get_code serves, from ZJU-REAL/TTPO, is pointer only (licence: NONE) · get_code("b1030fc6426aa14c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, siyan-zhao/OPSD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_format_fn Ran
ran; our contract draft was wrong, not the code
siyan-zhao/OPSD/sft_train.py
pointer only (licence: NONE) · get_code("e69497d17971497c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, siyan-zhao/OPSD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_format_prompt Ran
ran; our contract draft was wrong, not the code
siyan-zhao/OPSD/grpo_train.py
pointer only (licence: NONE); the stored copy get_code serves, from ZJU-REAL/TTPO, is pointer only (licence: NONE) · get_code("9757a5c020c1242b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, siyan-zhao/OPSD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
extract_boxed_answer 5 other papers
5 later
2605.05040 (2026-05)
Preference-Based Self-Distillation: Beyond KL Matching via Reward Regularization
2605.21606 (2026-05)
When Are Teacher Tokens Reliable? Position-Weighted On-Policy Self-Distillation for Reasoning
2606.23104 (2026-06)
ReNIO: Reweighting Negative Trajectory Importance for LLM On-Policy Distillation
and 2 more not named here
extract_boxed_answer 3 other papers
3 later
2605.09548 (2026-05)
Crosslingual On-Policy Self-Distillation for Multilingual Reasoning
2606.23104 (2026-06)
ReNIO: Reweighting Negative Trajectory Importance for LLM On-Policy Distillation
2608.27448 (2026-08)
TTPO: Test-Time Policy Optimization
make_format_fn 1 other paper
1 later
2606.23104 (2026-06)
ReNIO: Reweighting Negative Trajectory Importance for LLM On-Policy Distillation
make_format_prompt 1 other paper
1 later
2608.27448 (2026-08)
TTPO: Test-Time Policy Optimization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Knowledge distillation improves large language model (LLM) reasoning by compressing the knowledge of a teacher LLM to train smaller LLMs. On-policy distillation advances this approach by having the student sample its own trajectories while a teacher LLM provides dense token-level supervision, addressing the distribution mismatch between training and inference in off-policy distillation methods. However, onpolicy distillation typically requires a separate, often larger, teacher LLM and does not explicitly leverage ground-truth solutions available in reasoning datasets. Inspired by the intuition that a sufficiently capable LLM can rationalize external privileged reasoning traces and teach its weaker self, we introduce On-Policy Self-Distillation (OPSD), a learning algorithm where a single LLM acts as both teacher and student with different contexts. The teacher policy conditions on privileged information (e.g., verified reasoning traces) while the student policy sees only the question; training minimizes the pertoken divergence between these distributions over the student's own rollouts. We demonstrate the efficacy of our method on multiple mathematical reasoning benchmarks, achieving superior token efficiency compared to reinforcement learning methods and better performance over offpolicy distillation methods. Code repo: https: //github.com/siyan-zhao/OPSD.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.18734")
get_code_for_paper("2601.18734")
have("2601.18734")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2601.18734.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2601.18734.svg)](https://syntology.ai/paper/2601.18734)

Connect an agent — have() is free.