Beyond Domain-Routed Supervision: Cross-Teacher Guarding for Multi-Teacher On-Policy Distillation
Organizations: Nanjing University
Abstract
Multi-teacher on-policy distillation (MOPD) extends on-policy distillation (OPD) by routing domain-specific data to specialized teachers, integrating their capabilities through dense token-level supervision on student-generated trajectories. However, domain routing only distinguishes the supervision sources for different domains; updates from all domains still act on shared parameters. When teachers differ substantially in response style and domain expertise, supervision that is effective in isolation may still lead to persistent gradient conflicts and capability degradation during joint optimization. To address this challenge, we propose Cross-Teacher Guarding for MOPD (Road MOPD), which introduces non-routed teachers as auxiliary cross-domain critics on the same student trajectories and coordinates multi-teacher supervision through token-level credit assignment and gradient updates. Specifically, cross-teacher-guided credit assignment uses teacher agreement to strengthen token-level corrections jointly supported by the teachers and attenuate conflicting signals; preventive multi-teacher gradient projection uses auxiliary gradients from the same trajectories to constrain potentially conflicting updates and adaptively controls projection strength to retain target-domain learning signals. In experiments, Road MOPD mitigates degradation in the disadvantaged domain, gains over 5 percentage points under high conflict, and improves overall performance in low-conflict and three-domain settings.
Figures & tables
| [0pt][0pt] (a) Math Medical |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Source | Sampled prompts |
| Math | DeepMath ( He et al., 2025 ) , difficulty level (57K candidates) | 10,000 |
| Code | Eurus-RL-Code ( Cui et al., 2025 ) | 10,000 |
| Medical | MedMCQA training split ( Pal et al., 2022 ) | 4,000 |
| MedReason ( Wu et al., 2025 ) | 3,000 | |
| Medical-R1-Distill-Data ( FreedomIntelligence, 2025 ; Chen et al., 2024 ) | 2,000 | |
| m23k ( Huang et al., 2025 ) | 1,000 |
| Hyperparameter | Value |
|---|---|
| Training / PPO minibatch size | 1,008 / 1,008 prompts |
| Rollout batches (paired / three-domain) | 58 / 116 |
| PPO epochs per rollout batch | 1 |
| Responses per prompt | 1 |
| Rollout temperature / top- | 1.0 / 1.0 |
| Maximum prompt / response length | 2,048 / 16,384 tokens |
| (a) Math Medical | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Math | Medical | |||||||||
| Method | AIME24 | AIME25 | HMMT 25 Feb. | HMMT 25 Nov. | Avg. | MedQA | Med Xpert QA | Med- MCQA | GPQA Med | Avg. |
| w/o Credit Assign. | 59.69 | 53.54 | 32.71 | 37.19 | 45.78 | 76.98 | 15.88 | 62.08 | 36.01 | 47.74 |
| w/o Grad. Protection | 61.46 | 54.48 | 33.75 | 39.06 | 47.19 | 76.04 | 15.39 | 63.28 | 37.71 | 48.11 |
| w/o Adaptive Retention | 58.13 | 55.42 | 33.02 | 36.56 | 45.78 | 77.53 | 15.59 | 63.61 | 36.84 | 48.40 |
| PCGrad † | 62.60 | 53.54 | 33.75 | 37.50 | 46.85 | 77.93 | 14.65 | 62.54 | 36.99 | 48.03 |
| Benchmark | Teacher | Student | Math-only | Medical-only | Code-only |
|---|---|---|---|---|---|
| Code | |||||
| HumanEval+ | 85.98 | 76.68 | 81.40 | 81.10 | 84.30 |
| MBPP+ | 79.63 | 65.08 | 69.71 | 72.95 | 70.44 |
| LCB v6 | 27.00 | 17.14 | 22.00 | 22.14 | 28.00 |
| Avg. | 64.20 | 52.97 | 57.70 | 58.73 | 60.91 |
| Math | |||||
| Benchmark | Student | Single OPD | Vanilla MOPD | ExOPD | Open- MOPD | CaMOPD | Ours |
|---|---|---|---|---|---|---|---|
| Math | |||||||
| AIME24 | 21.46 | 58.13 | 60.21 | 63.33 | 56.77 | 61.04 | 60.73 |
| AIME25 | 21.77 | 51.67 | 55.21 | 57.71 | 53.33 | 54.17 | 57.40 |
| HMMT25 Feb. | 10.00 | 31.56 | 31.98 | 33.85 | 30.52 | 31.87 | 33.33 |
| HMMT25 Nov. | 8.23 | 35.73 | 37.08 | 38.23 | 36.67 | 38.12 | 39.48 |
| Avg. | 15.37 | 44.27 | 46.12 | 48.28 | 44.32 | 46.30 | 47.73 |
| Benchmark | Student | Single OPD | Vanilla MOPD | ExOPD | Open- MOPD | CaMOPD | Ours |
|---|---|---|---|---|---|---|---|
| Code | |||||||
| HumanEval+ | 76.68 | 84.30 | 86.28 | 84.76 | 85.52 | 84.45 | 86.59 |
| MBPP+ | 65.08 | 70.44 | 70.63 | 71.23 | 70.44 | 70.90 | 72.95 |
| LCB | 17.14 | 28.00 | 26.86 | 28.57 | 25.71 | 27.57 | 29.29 |
| Avg. | 52.97 | 60.91 | 61.26 | 61.52 | 60.56 | 60.97 | 62.94 |
| Math | |||||||