Group-relative sequence credit improves on-policy distillation learning
GR-OPD: Group-Relative Sequence Credit for On-Policy Distillation
Machine Learning
Summary
Assigning credit to each word during model training can miss how earlier words affect later feedback. The authors introduce a method called GR-OPD that groups feedback across whole answers to better guide learning. They prove their approach aligns with a key optimization goal and improve stability by adjusting how feedback is weighted over time. Experiments show their method works better than standard approaches, especially when thinking patterns between teacher and student models vary.
What this means in practice
- •For machine learning engineers: Improve training stability and accuracy of language models using on-policy distillation with better credit assignment methods.
- •For ai development teams: Create more reliable AI assistants in reasoning tasks by using group-relative sequence feedback for teacher-student model training.
Authors
Yushu Wang, Renkai Yang, Jingcao Xu, Zili Geng, Haihong Tang, Yaohui Jin, Hao He
Abstract
On-policy distillation (OPD) provides token-level teacher feedback, yet common sampled-token updates assign credit locally and omit the effects of earlier actions on subsequent feedback. We introduce \method{} (Group-Relative On-Policy Distillation), which decouples feedback computation from credit assignment by aggregating token feedback into calibrated sequence-level credit. We establish a theoretical basis for this approach by showing that, under ideal on-policy assumptions, broadcasting raw summed feedback to every response token yields an unbiased estimate of the negative gradient of the sequence-level reverse-KL objective. To support effective learning in practice, \method{} discounts later feedback that may become less reliable under distribution shift and uses same-prompt rollout groups to calibrate teacher guidance. It preserves relative response preferences while retaining a controlled fraction of the group mean, which we term collective teacher pressure. Across five Qwen3 teacher--student settings and six mathematical reasoning benchmarks, \method{} outperforms vanilla OPD in macro Avg@K in every setting, including gains of 10.9 and 11.5 percentage points in two settings with matched thinking patterns. It also maintains stable training under mismatched thinking patterns, where vanilla OPD collapses. Ablations show that retaining an appropriate amount of collective teacher pressure can improve learning, while excessive collective teacher pressure or an unrestricted feedback horizon can destabilize training.