OPSRD: On-Policy Self-Role Distillation
Weijie Ren, Yanwen Zhang, Hao Li, Zhuolin Qi, Hengyi Zhang, Naibo Wang
Abstract
Role prompting elicits specialized behavior from large language models through an expert identity, offering a lightweight way to guide reasoning on demanding tasks. However, evaluating or distilling complete role-prompted answers can miss useful next-token preferences when the sampled solution remains incorrect. Transferring these preferences also requires an objective that reaches alternatives the student rarely predicts. We introduce OPSRD, which uses a fixed expert role as privileged teaching context for on-policy self-distillation without reference solutions. A role-free student generates a trajectory, and a frozen instance of the same base model supplies role-conditioned distributions on its exact prefixes, exposing alternatives beyond the sampled continuation. Teacher-weighted forward KL targets alternatives the student underestimates, with clipping to limit individual vocabulary contributions. Supervision is restricted to the highest-entropy half of student positions, concentrating learning where predictions are uncertain. Experiments on three competition-math benchmarks with Qwen3-1.7B, 4B, and 8B show improvements over the base models without role prompts at inference. Forward KL achieves the highest macro-averaged accuracy among the three evaluated divergences at every scale. Code is available at https://github.com/zhansan114514/OPSRD.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.LG
- Comments
- 17 pages, 5 figures. Code: https://github.com/zhansan114514/OPSRD
Related papers
Better Supervision Is Nearby: Neighborhood On-Policy Self-Distillation
Shared title terminologycs.CLXincheng Wei, Yifan Ding, Yoshua Li et al.
Diagnosing On-Policy Self-Distillation for Reasoning Language Models
Shared title terminologycs.CLYang Li, Gongle Xue, Yuheng Yuan et al.
When Clipping Reverses Correction: Failure Dynamics of Pointwise Forward-KL On-Policy Self-Distillation
Shared title terminologycs.CLDi Huang, Hao Li, Yixin Chen et al.
Learning from Think-Mode Advantage via On-Policy Distillation
Shared title terminologycs.CLWanqi Ren, Jianxiang Wang, Danxuan Liu et al.
CoT-Proxy: Cross-Format Transfer for Distilling Long-Horizon Policies
Shared title terminologycs.CLDawid J. Kopiczko, Tijmen Blankevoort, Yuki M. Asano
LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation
Shared title terminologycs.CLXiaoqiang Wang, Suyuchen Wang, Bang Liu