Beyond Prompt Count: How Data Shapes Transfer in On-Policy Distillation
Jiaxuan Wang, Jiafei Lyu, Yuchen Cai, Siye Wu, Pengyuan Wang, Jiashun Liu, Xiang Cheng, Kai Yang, Yangkun Chen, Saiyong Yang, Lan-Zhe Guo
Abstract
On-policy distillation (OPD) trains students using teacher feedback on their own sampled responses, yet how prompt choice shapes transfer across teacher-student pairs remains poorly understood. We systematically study prompt quantity, source, and selection across RL- and SFT-continuation pairs and cross-model settings. We find that OPD can be highly prompt-efficient: a few prompts can approach large-pool performance, with four DAPO prompts matching the observed mathematics score of 3,840 DeepMath prompts. However, prompt utility is relational rather than intrinsic: changing only the teacher can reverse the relative effectiveness of mathematics and code prompts. To characterize these transfer differences, we analyze parameter and functional changes across prompt supports and model pairs. Functional alignment with the teacher varies across supports and target tasks; in continuation pairs, teacher-aligned prediction changes can coexist with weak parameter alignment. Continued OPD on effective supports can restore performance after unfavorable transfer. Finally, targeted selection does not consistently outperform uniform random sampling, and filtering out a source that performs poorly alone yields no consistent gain across three paired support draws. Overall, our results distinguish prompt efficiency from prompt interchangeability and show that effective data choice depends on the teacher-student pair and target capability, with random sampling providing a competitive baseline in the studied settings.
Create a lesson
Metadata
- Comments
- 39 pages. Code: https://github.com/wyy-1112/dissecting-opd
Related papers
UniEvo-VL: An On-policy Self-Distillation Training Recipe for Multimodal Model Self-improvement
Shared title terminologycs.AIFang Wu, Da Xing, Ji Wang et al.
Improving OCR Faithfulness via Gated and Attenuated On-Policy Distillation
Shared title terminologycs.AIBaode Wang, Zuming Huang, Kexuan Ren et al.
Solving Without Stopping: On-Policy Distillation at Small Scale
Shared title terminologycs.AIHongyang Li, Yiming Zhu, Xiao Li et al.
Train Ahead, Distill Back: Bootstrapping On-Policy Self-Distillation for Large Language Models
Shared title terminologycs.AIZheng Zhang, Xinyue Tan, Lufei Li et al.
SciFig2Data: A Workflow for Recovering Structured Data from Scientific Figures
Shared title terminologycs.AIXinhe Wu, Yicheng Ye, Yadong Jin
Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls
Shared title terminologycs.AIArtem Trofimov, Boris Novikov