English

One Student, Many Teachers: Multi-Task On-Policy Distillation via Soft-Prompt Privileged Context

Machine Learning 2026-06-30 v1 Computation and Language

Abstract

On-policy self-distillation (OPSD) teaches large language models new skills through a teacher that shares the student's backbone and supervises its own rollouts. Existing teachers either inject privileged context at the input -- inducing post-hoc rationalization -- or fine-tune weights, accumulating drift and forgetting across tasks. We propose \method, whose teacher differs from the student only by a learnable soft prompt: trained on (x,ygold)(x, y_\text{gold}) pairs with the backbone frozen, the prompt yields a task-specific teacher that preserves the student's exact representational geometry. \method\ extends naturally to multi-task settings by routing each example in a merged corpus to its corresponding soft-prompt teacher, allowing a single student to absorb knowledge from KK teachers in parallel; at inference, all prompts are discarded. On Qwen3-1.7B-Base and Phi-4-mini-instruct across four tasks (Science, Tool Use, Biology, Math), the single-task variant (OPD with a PT teacher) matches or exceeds full fine-tuning while training orders of magnitude fewer parameters, and the multi-task variant achieves the best overall average (56.256.2 on Qwen3-1.7B-Base) while preserving general-capability benchmarks -- in contrast to sequential SFT, which degrades both.

Keywords

Cite

@article{arxiv.2607.18293,
  title  = {One Student, Many Teachers: Multi-Task On-Policy Distillation via Soft-Prompt Privileged Context},
  author = {Yingzi Ma and Zichen Zhu and Ming Jiang and Chaowei Xiao},
  journal= {arXiv preprint arXiv:2607.18293},
  year   = {2026}
}

Comments

10 pages, 5 figures