Beyond Prompt Count: How Data Shapes Transfer in On-Policy Distillation

Jiaxuan Wang, Jiafei Lyu, Yuchen Cai, Siye Wu, Pengyuan Wang +6 more
9/29/2026
cs.AI
distillation

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026beyond,
  title  = {Beyond Prompt Count: How Data Shapes Transfer in On-Policy Distillation},
  author = {Jiaxuan Wang and Jiafei Lyu and Yuchen Cai and Siye Wu and Pengyuan Wang and Jiashun Liu and Xiang Cheng and Kai Yang and Yangkun Chen and Saiyong Yang and Lan-Zhe Guo},
  year   = {2026},
  eprint = {2609.37377},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.37377v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.37377.svg)](https://codeofpaper.com/paper/2609.37377)

Discussion