Condition-Contrastive Extrapolation for On-Policy Distillation of Language Models
Wenxuan Luo, Chenxi Li, Haoyue Liu, Yongxin Guo, Xiaoying Tang
Abstract
On-policy distillation (OPD) improves a student language model by training on its own generated trajectories with supervision from a stronger teacher. However, when conditioned on student-generated prefixes, the teacher can favor invalid continuations that violate the question's premises, causing OPD to encourage erroneous reasoning steps. As a remedy, we introduce Condition-Contrastive Extrapolated On-Policy Distillation (CCE-OPD), which makes teacher supervision sensitive to question conditions. CCE-OPD incorporates (1) a fixed-prefix comparison in which the same frozen teacher evaluates the complete question and a counterpart with a selected condition masked, and (2) a bounded log-probability contrast that reweights the teacher distribution into an auxiliary distillation target. On 200 diagnostic reasoning states, condition contrast reduces the rate of preferring invalid continuations from 27.0% to 16.0%. Extensive experiments across six mathematical benchmarks show that CCE-OPD improves avg@8 over OPD by an average of 1.60 and 1.95 percentage points when distilling Qwen3-8B into 0.6B and 1.7B students, respectively. It also achieves the strongest results on four transfer benchmarks.
Create a lesson
Metadata
- Comments
- 15 pages, 2 figures, 12 tables
Related papers
When Students Fail to Learn from Teachers: Learning Dynamics of On-Policy Distillation
Shared title terminologycs.AIXinnan Zhang, Zeyi Liao, Siliang Zeng et al.
SimOPD: Relational Knowledge Transfer for On-Policy Distillation
Shared title terminologycs.AIKai Tang, Xing Zheng, Haobo Wang et al.
Selection Policies for Equal-Byte Mixed-Precision Quantization of Small Language Models
Shared title terminologycs.AISmit Anand
No Perfect Guardrail & No Perfect Guard: On the Decidability of Output Policies for Large Language Models
Shared title terminologycs.AIAhmed Amer, Loren Kinczel, Darrell D. E. Long
A Conditional No-Hair Theorem for Transformers: How Language Models Forget Their Prompt
Shared title terminologycs.AIShuyang Xiang
Layer-Level Control of Language Model Execution in Agent Frameworks
Shared title terminologycs.AIRan Guan, Yiqi Lin, Xiangxi Tian et al.