SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.11739 · 2026

Learning to Foresee: Unveiling the Unlocking Efficiency of On-Policy Distillation

Liang Lin, Kai Yang, Nus, Xin Xu, Ustc, Yuchen Cai, Junfeng Fang, Weijie Liu, Guangzhong Sun, Tianxiang Zhao, Guiquan Liu, Saiyong Yang, and 2 more

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 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/2605.11739.json · badge: /api/ran/2605.11739.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
caiyuchen-ustc/EffOPD canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
apply_chat_template Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/math_eval/eval_math.py
pointer only (licence: NONE); the stored copy get_code serves, from YuYingLi0/FiRe-OPD, is pointer only (licence: NONE) · get_code("6eceb1b9ba215e62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

compute_ce_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/prime/prime_core_algos.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f220595adfc5e83c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

compute_detach_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/prime/prime_core_algos.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("4d91e4383716e42c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

compute_online_dpo_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/spin/core_algos.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f19825983a523003")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

compute_onlinedpo_pref Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/spin/core_algos.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("41b6e81dc3ecba79")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

compute_score_data_source Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/open_math_reasoning/compute_score.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("05a86ccb0b3876dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

generate_config_from_args Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/verl/verl/model_merger/base_model_merger.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("8896f4e2bafe8abc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

get_dynamic_pipeline_shards Ran
ran, honoured the contract we drafted
caiyuchen-ustc/EffOPD/EffOPD/verl/verl/model_merger/megatron_model_merger.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("94209884dcb2308e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

get_kl_controller Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/spin/core_algos.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("757d109d90121142")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

last_boxed_only_string Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/math_eval/eval_math.py
pointer only (licence: NONE); the stored copy get_code serves, from trotsky1997/mathblackbox, is pointer only (licence: NONE) · get_code("90b5c896e5eaea5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

remove_boxed Ran
ran; our contract draft was wrong, not the code
caiyuchen-ustc/EffOPD/EffOPD/math_eval/eval_math.py
pointer only (licence: NONE); the stored copy get_code serves, from trotsky1997/mathblackbox, is pointer only (licence: NONE) · get_code("9a85fff3911bdfa2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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.

reward_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
caiyuchen-ustc/EffOPD/EffOPD/verl/recipe/r1/reward_score.py
pointer only (licence: NONE) · get_code("8a84f8cc921357e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, caiyuchen-ustc/EffOPD 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 12 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 7 the same month, 12 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
generate_config_from_args 57 other papers
28 dated earlier, 7 the same month, 19 later, 3 undated
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2509.25787 (2025-09)
Self-Evolving Vision-Language Models for Image Quality Assessment via Voting and Ranking
2510.08630 (2025-10)
ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection
and 54 more not named here
get_dynamic_pipeline_shards 52 other papers
25 dated earlier, 7 the same month, 18 later, 2 undated
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2509.25787 (2025-09)
Self-Evolving Vision-Language Models for Image Quality Assessment via Voting and Ranking
2510.08630 (2025-10)
ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection
and 49 more not named here
compute_ce_dpo_loss_rm 46 other papers
31 dated earlier, 2 the same month, 10 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 43 more not named here
compute_detach_dpo_loss_rm 44 other papers
29 dated earlier, 2 the same month, 10 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 41 more not named here
compute_online_dpo_loss 38 other papers
23 dated earlier, 2 the same month, 10 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 35 more not named here
get_kl_controller 38 other papers
23 dated earlier, 2 the same month, 10 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 35 more not named here
compute_onlinedpo_pref 30 other papers
16 dated earlier, 2 the same month, 9 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 27 more not named here
reward_func 15 other papers
8 dated earlier, 6 later, 1 undated
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2601.17687 (2026-01)
Agentic reinforcement learning empowers next-generation chemical language models for molecular design and synthesis
2601.21468 (2026-01)
MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning
and 12 more not named here
compute_score_data_source 13 other papers
7 dated earlier, 5 later, 1 undated
2601.21468 (2026-01)
MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning
2602.17550 (2026-02)
MASPO: Unifying Gradient Utilization, Probability Mass, and Signal Reliability for Robust and Sample-Efficient LLM Reasoning
2603.02938 (2026-03)
Beyond One-Size-Fits-All: Adaptive Subgraph Denoising for Zero-Shot Graph Learning with Large Language Models
and 10 more not named here
last_boxed_only_string 9 other papers
8 dated earlier, 1 later
2405.15179 (2024-05)
VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Banks
2406.07394 (2024-06)
Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8B
2410.02884 (2024-10)
LLaMA-Berry: Pairwise Optimization for O1-like Olympiad-Level Mathematical Reasoning
and 6 more not named here
remove_boxed 5 other papers
4 dated earlier, 1 later
2406.07394 (2024-06)
Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8B
2410.02884 (2024-10)
LLaMA-Berry: Pairwise Optimization for O1-like Olympiad-Level Mathematical Reasoning
2025.findings-emnlp.598 (2025 (year only))
MMATH: A Multilingual Benchmark for Mathematical Reasoning
and 2 more not named here
apply_chat_template 1 other paper
1 later
2606.02684 (2026-06)
Filter, Then Reweight: Rethinking Optimization Granularity in On-Policy Distillation

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

On-policy distillation (OPD) has emerged as an efficient post-training paradigm for large language models. However, existing studies largely attribute this advantage to denser and more stable supervision, while the parameter-level mechanisms underlying OPD's efficiency remain poorly understood. In this work, we argue that OPD's efficiency stems from a form of "foresight": it establishes a stable update trajectory toward the final model early in training. This foresight manifests in two aspects. First, at the Module-Allocation Level, OPD identifies regions with low marginal utility and concentrates updates on modules that are more critical to reasoning. Second, at the Update-Direction Level, OPD exhibits stronger low-rank concentration, with its dominant subspaces aligning closely with the final update subspace early in training. Building on these findings, we propose EffOPD, a plug-and-play acceleration method that speeds up OPD by adaptively selecting an extrapolation step size and moving along the current update direction. EffOPD requires no additional trainable modules or complex hyperparameter tuning, and achieves an average training acceleration of 3× while maintaining comparable final performance. Overall, our findings provide a parameter-dynamics perspective for understanding the efficiency of OPD and offer practical insights for designing more efficient post-training methods for large language models. Our code is available at: https://github.com/caiyuchen-ustc/EffOPD. "To foresee the future is to master the present." -Niccolò Machiavelli

For agents

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

get_harvested_code_for_paper("2605.11739")
get_code_for_paper("2605.11739")
have("2605.11739")

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

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

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

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

Connect an agent — have() is free.