arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.02381

Latent-MOPD: Latent Multi-Teacher On-Policy Distillation

Zhengyu Fang, Seoyeon Hong, Jie Yang, Muyang Li, Koyoshi Shindo, Brandon Joseph Lwowski, Jing Li

ABSTRACT

On-policy distillation (OPD) trains a student on the responses it generates. Existing LLM multi-teacher OPD transfers what specialists predict through their output distributions. We introduce Latent-MOPD, to our knowledge the first representation-level multi-teacher OPD method for LLMs. It integrates existing specialists through both their predictions and the hidden states used to compute them, without additional teacher training. To coordinate representation supervision from multiple specialists, we select late-layer targets according to the teacher-student relationship, bridge unequal hidden widths with a shared projection, and group updates by domain. Each teacher's supervision gradually shifts from hidden states to token predictions, with both channels using the same routed specialist. In our main same-family setting, Latent-MOPD outperforms the token-only, representation-only and uniform-averaging baselines on all nine benchmarks across math, code and logic. With the same parameter count as each teacher, the student also surpasses the per-benchmark best teacher on a majority of these benchmarks. With larger, separately developed cross-family teachers, Latent-MOPD outperforms both single-channel baselines on all benchmarks. A same-family all-layer representation-only control remains stable with domain-pure updates but collapses when teacher domains are interleaved within an update. Our results show that a single student can integrate capabilities from several specialists through both their output distributions and internal representations.

1 INTRODUCTION

Reinforcement learning (RL) has become an important tool for improving large language models (LLMs) (Ouyang et al., 2022; Shao et al., 2024), and specialized RL pipelines now produce models with complementary strengths in domains such as mathematical reasoning, coding, and logic. While each of these models excels in its own domain, a broader goal is a single model that combines their strengths by reusing the existing specialists (Figure 1). Multi-teacher on-policy distillation (MOPD) (Ma et al., 2026) extends on-policy distillation (OPD) (Agarwal et al., 2024) to several specialists, routing each student-generated response to its domain's teacher. The selected teacher scores the student's tokens, and its next-token distribution provides dense token-level guidance along the student's own rollout. In this way, the student learns what each specialist predicts, with supervision defined entirely at the output level.

These predictions, however, are the end result of internal computations. Interpretability studies show that hidden representations carry intermediate reasoning steps and causally influence later computation, even when these steps are not verbalized (Lindsey et al., 2025; Gurnee et al., 2026). This suggests that internal representations carry information about how a teacher computes its predictions, not only what it predicts. Representation-level OPD methods such as LastOPD and OPRD

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

(a)

Same-family

(b)

Cross-family

Figure

…… Base student

--- Representation-only

Latent-MOPD (ours)

…… Same-family ours level (ring)

Figure

MOPD-style (token-only)

Figure 1: Same-family gains beyond individual teachers, with a cross-family extension. (a) Same-family; (b) cross-family (last 1, Linear). Both panels use shared per-axis scales, with each outer vertex fixed at the same-family Latent-MOPD score. Solid polygons show Latent-MOPD; the dotted ring in (b) repeats the same-family reference. Representation-only denotes OPRD-style (all layers) in (a) and Rep-only (last 1) in (b). Labels give Latent-MOPD scores; bold with (>Teacher) marks those above the strongest teacher. Table 1 reports all nine same-family benchmarks.

show that, with suitable layer pairing and training schedules, hidden-state supervision can improve transfer over token-only OPD (Yang et al., 2026a;b). However, these approaches study learning from a single teacher. Learning from multiple specialists poses a different challenge: their distinct representation targets must jointly train the same student backbone. Routing determines whose supervision a prompt receives, but leaves a central question: how should multi-teacher OPD select representation targets and organize their supervision so that one student integrates the capabilities of several specialists?

Choosing representation targets requires more than matching layer indices. Before training, centered kernel alignment (CKA) (Kornblith et al., 2019) between each same-family specialist and the base student remains high through most layers, with larger differences near the output (Figure 3a). Across model families, this correspondence is uneven, with a sharp drop in similarity at intermediate depths (Figure 3b). These patterns suggest different considerations for alignment. Within a shared lineage, the common representational structure provides a basis for learning from the specialists' late-layer differences; across lineages, weak correspondence at intermediate depths instead motivates targets with a shared computational role, such as the states directly used for next-token prediction. The choice of representation targets, therefore, depends on both the relationship between the models and the role of the states being aligned.

Teacher routing does not determine how representation supervision should be organized over training. In a same-family all-layer representation-only control, mixing samples supervised by different teachers within an optimizer update collapses training within twenty updates, whereas domain-pure batches remain stable (Figure 3c; Section 5). Each sample receives supervision from the same specialist in both settings; the difference is whether several teachers contribute to a single parameter update. Sustained representation-only supervision is also problematic: in the cross-family setting, it falls below the student's initial performance in aggregate, so how latent supervision is scheduled over training matters as much as how it is batched.

To answer this question, we introduce Latent-MOPD. It selects late-layer targets according to the teacher–student relationship and organizes their supervision through domain-pure updates and a per-teacher crossfade (Figure 2; Section 3). Each rollout's specialist supplies both token predictions and hidden-state targets. We align hidden states directly within the same family and use a shared trainable map when widths differ. The crossfade shifts each specialist's supervision from latent states to token predictions on its own update clock, adapting the transient latent signal stud-

(a) Uniform averaging averaged output

(b) MOPD-style routed output

Figure

(c) Latent-MOPD routed output + representation

Figure 2: Three supervision designs on shared student-generated prefixes. (a) Uniform averaging gives each teacher's token probabilities equal weight. (b) MOPD-style routes token supervision to one frozen teacher. (c) Latent-MOPD adds a representation target from the same teacher, matching gψ(zS)g_{\psi}(z^{S}) to its hidden state. PG denotes the policy-gradient token update from outputs after the LM heads; bars are schematic distributions. Routed columns illustrate a math prompt. One layer pair is drawn: same-family aligns the last three using the identity, cross-family the last using a shared trainable linear map. Both use crossfade (Figure 4).

ied by LastOPD (Yang et al., 2026a) to domain-routed multi-teacher training. All teachers remain frozen, and the student needs neither the teachers nor the map at inference.

① Representation-level multi-teacher OPD. We introduce, to our knowledge, the first representation-level multi-teacher OPD method for LLMs. We identify effective layer choices for different teacher panels and show that grouping routed targets by domain stabilizes all-layer representation-only training.

② Same-family gains beyond individual teachers. One 1.5B student outperforms token-only, representation-only, and uniform-averaging baselines on all nine benchmarks across math, code, and logic, and surpasses the per-benchmark best teacher on five of them at the same model size (Figure 1; Section 4.2). With the other settings fixed, crossfade improves eight of nine benchmarks over constant joint weighting.

③ Transfer across teacher panels and initializations. With separately developed 7B Qwen-based teachers, Latent-MOPD outperforms both single-channel baselines on all six benchmarks (Section 4.3). Starting from a parameter-merged initialization, 62 distillation steps improve performance on five of six benchmarks across all three domains (Section 4.4). Further analyses examine layer selection, training dynamics, batch organization, and generalization (Section 5).

Code: https://github.com/fangzy96/Latent-MOPD.

References (88)