Manuscript Offprint
arXiv:2611.03953P-MOPD: Accelerating Multi-Teacher On-Policy Distillation via Parameter Priors
P²-MOPD: Accelerating Multi-Teacher On-Policy Distillation via Parameter Priors
Sinuo Wang¹² Jiacheng Lu²³ Zeyu Zhang¹ Maojia Song⁴ Rui Sun²‡ Beidi Luan² Yutong Xie⁵ Jing Li² Daxin Jiang² Qi Wu¹† Zuo Bai²†
Abstract
Multi-teacher on-policy distillation consolidates expert capabilities by supervising student-generated trajectories, whereas task arithmetic offers a training-free alternative through linear parameter combinations. We view the linear combination of student and expert parameters as a single differentiable model and propose P²-MOPD, which jointly optimizes the mixing coefficients and the student weights under the same on-policy distillation objective. Unlike task arithmetic, which stays within the span of the frozen student and expert parameters for any choice of merging coefficients, P²-MOPD keeps the student trainable, so the experts act as parameter priors without confining it to this span. Across four domains at 1.7B and 4B scales, P²-MOPD achieves faster and more balanced recovery than MOPD from the same initialization, surpassing its final average recovery in half the training steps. At the end of training, our 1.7B model reaches 94.7% average recovery, versus 80.9% for MOPD.
²Co-corresponding authors. ‡Project lead. ¹Australian Institute for Machine Learning, Adelaide University, Adelaide, Australia ²StepFun, Shanghai, China ³School of Computer Science, Shanghai Jiao Tong University, Shanghai, China ⁴Singapore University of Technology and Design, Singapore ⁵Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates. Correspondence to: Zuo Bai baizuo@stepfun.com, Qi Wu qi.wu01@adelaide.edu.au.

Figure 1. Average recovery over training at Qwen3-4B (top) and Qwen3-1.7B (bottom). P²-MOPD surpasses the final average recovery of MOPD (TA init) (arrow) after half the training steps (star). Mean over three seeds (shaded: ±1 sd); both methods start from the same TA merge (square).
2026b; NVIDIA, 2026; Kimi Team, 2026). Ideally, the consolidated model retains the capability of every expert, rather than trading one domain for another. Because MOPD benefits from supervising the student's own behavior, its pipeline is heavy. Every step samples rollouts from the student and runs each teacher over them with teacher forcing to obtain token-level labels, and the student must approach each teacher's performance through many such steps. Prior work has also found that MOPD does not recover all domains evenly (Kim et al., 2026; Gao et al., 2026). Even when it starts from a merge of the experts, it can leave one domain far behind, and continued distillation can erode a capability that the merge already had. The other common way to consolidate experts is model merging. Task arithmetic (Ilharco et al., 2023) adds a weighted sum of the experts' task vectors to the base model without any training. Because the behavior of the merged model is never supervised, its quality is not guaranteed. In our experiments, for instance,
Preprint. November 4, 2026.
a uniform merge recovers less than half of the gap between the base model and the teachers (Table 1).
Task arithmetic falls short on its own, but its partial success is informative. If a training-free linear combination of the experts already recovers part of their capabilities, their parameters encode a useful prior for the consolidated model. We take this observation one step further. A linear combination of the base student and the frozen experts is itself a single model, differentiable in both its mixing coefficients and the student's weights, and can therefore be trained end to end under the MOPD objective. Viewed this way, the experts no longer serve only as an initialization or a one-off merge but act as parameter priors throughout training, so the student need not climb the whole way to each teacher on its own. Based on this view, we propose P²-MOPD (Parameter-Prior MOPD; Figure 2). It keeps the MOPD loss and its supervision on the student's own trajectories, but parameterizes the student as a linear combination of its own trainable weights and the frozen expert parameters (Equation (4)). The student thus receives two kinds of guidance from the experts under a single loss: their logits supervise its outputs, as in MOPD, and their parameters enter its weights through the mixing coefficients, which the on-policy loss updates together with the student weights. Unlike task arithmetic, P²-MOPD keeps the base student's weights fully trainable, so the consolidated model is not confined to the span of the student and expert parameters. Such confinement would be restrictive, since task vectors of separately trained experts interfere with each other (Yadav et al., 2023; Yu et al., 2024), and with only directions per module the merged model can trade one domain against another but cannot make adjustments that none of the experts contains. In P²-MOPD, the mixing coefficients move the model along expert-derived directions and the weights adapt it beyond them. The closest prior work, IM-MOPD (Kim et al., 2026), also reuses the expert parameters but merges task vectors into the student at fixed points according to an external validation rule, whereas P²-MOPD learns the combination continuously from the distillation gradient.
To understand why learning the combination helps, we project each model's change onto the task vectors (Section 4.3). MOPD from the merged start moves the student along most task vectors but hardly along that of the expert whose domain it leaves behind. P²-MOPD moves an order of magnitude farther along this direction, and across methods the recovery of that domain tracks the movement. The learnable coefficients thus make reachable a teacher-aligned direction that student weight-only updates do not take, while the weights adapt the student outside the span of the task vectors, so the two channels divide the work.
Across four domains (medicine, law, finance and instruction following) at two scales, P²-MOPD is both faster and
more balanced than MOPD from the same merged start (Section 4.2). After half the training steps, it already exceeds the final average recovery of MOPD at lower wall-clock cost (Figure 1), and at the end of training it raises worst-domain recovery from below half to nearly 90%. Learning the mixing coefficients alone, inside the span, falls far short, so both the expert prior and the freedom to leave its span are needed (Section 5). Our contributions are as follows.
-
We propose P²-MOPD, which treats a linear combination of the student and frozen experts as a single model and trains its weights and mixing coefficients jointly under the MOPD objective (Section 3).
-
Student weight-only MOPD updates barely move along the direction of the lagging expert; the learnable coefficients make this direction reachable, while the weights adapt the student beyond the task-vector span (Section 4.3).
-
At two scales, P²-MOPD surpasses the final average recovery of MOPD in half the training steps and raises worst-domain recovery from below 50% to nearly 90% (Sections 4.2 and 5).
2. Related Work
Multi-Teacher On-Policy Distillation. On-policy distillation (OPD) (Lu & Thinking Machines Lab, 2025; Yang et al., 2025; 2026a; Li et al., 2026; Fu et al., 2026; Zhao et al., 2026; Xing et al., 2026; Kang et al., 2026) supervises the student with teacher feedback on its own trajectories and has become a dense-reward alternative to reinforcement learning in LLM post-training. MOPD (Ma et al., 2026a) extends OPD to consolidating several RL-trained domain experts by routing each prompt to the teacher of its domain, and is used in recent frontier technical reports to consolidate domain experts into one model (Xiaomi LLM-Core Team, 2026b;a; DeepSeek-AI, 2026; Yang et al., 2026b; NVIDIA, 2026; Kimi Team, 2026). Follow-up work refines which teacher supervises which token and how strongly, through budget balancing across domains (Gao et al., 2026), label-free token routing (Xu et al., 2026), or soft-prompt teachers (Ma et al., 2026b). These methods improve the supervision but treat the student as a plain set of weights. Closest to ours, IM-MOPD (Kim et al., 2026) shows that the expert parameters themselves also help: it initializes the student by task arithmetic and periodically merges task vectors of under-recovered domains back into it. However, these merges are rule-based and rely on an extra validation signal rather than the distillation gradient. P²-MOPD instead treats the linear combination of trainable student parameters and frozen expert parameters as a single differentiable model, jointly optimizing the student weights and expert mixing coefficients throughout training under the same on-policy objective.
Model Merging. Model merging combines experts in weight space without training, for example by task arithmetic (Ilharco et al., 2023) and its interference-reducing variants (Yadav et al., 2023; Yu et al., 2024). Because good fixed coefficients are hard to choose, another line learns them: AdaMerging (Yang et al., 2024) fits task- or layer-wise coefficients by entropy minimization on unlabeled test data, and subsequent methods learn them from task data, expert logits or expert activations (Zhang et al., 2024; Gauthier-Caron et al., 2024; Xu et al., 2025). Other work interleaves merging with training as a discrete step between phases (Choshen et al., 2022; Sun et al., 2025; Shen et al., 2025). Together, these works show that trained expert parameters can be combined into a reasonable model even without training. They still treat merging as an operation that outputs a model, either offline or between training phases. Our view is different: since task arithmetic is a linear and fully differentiable function of its coefficients, the combination of student and expert parameters can be treated as one model. P²-MOPD trains this model inside MOPD, so the expert parameters serve as a prior and the on-policy objective updates both the mixing coefficients and the student weights, without confining the student to the span of the task vectors.
3. Method
P²-MOPD rests on a simple view. A linear combination of model parameters is itself a single model, whose forward pass uses only the composed weights, and the composition is differentiable in its mixing coefficients. P²-MOPD therefore reparameterizes the MOPD student as trainable student weights plus a learnable combination of frozen expert weights, and jointly optimizes the student weights and the mixing coefficients under the on-policy distillation objective (Figure 2). The experts thus guide the student in two ways: their logits supervise its behavior, and their weights serve as parameter priors. Section 3.1 defines the notation and objective, Section 3.2 introduces the parameterization, and Section 3.3 presents the update rule and its geometric interpretation.
3.1. Problem Formulation and Preliminaries
Experts and task arithmetic. Let be a shared base model and be domain experts obtained from by domain-specific post-training. The task vector of expert is (Ilharco et al., 2023), and a task-
arithmetic (TA) merge is
with coefficients (uniform, , throughout this paper). TA is training-free, but the merge is confined to the -dimensional affine span of the task vectors.
Multi-teacher on-policy distillation. MOPD trains one student on prompts with known domain labels . At step the current student samples a response for each prompt, and the expert of the prompt's domain, , scores it. Let and denote the student's and the routed teacher's next-token distributions at position . Following the top- form of MOPD (Ma et al., 2026a) as implemented in Open-MOPD (Gao et al., 2026), each candidate in a student-defined support (top- student tokens with a nucleus cut; Section A) receives the reward
with , a support-restricted reverse-KL signal (Section A). The rewards are treated as constants (sg), and the student is updated with a clipped policy-gradient surrogate. Since every rollout batch is used for one optimizer update, the update direction is the gradient of
at , where is the rollout batch and its number of unmasked response tokens. Standard MOPD applies this gradient to all parameters of a student initialized at , at an SFT warm-up, or at the TA merge , which we denote MOPD, MOPD (SFT warm-up) and MOPD (TA init) (Ma et al., 2026a; Kim et al., 2026); in MOPD (TA init) the task vectors enter only through the initial point.
3.2. Expert Parameters as Differentiable Priors
Parameterization. P²-MOPD is applied module-wise. A module is one linear projection of a decoder layer (query, key, value and output in attention; gate, up and down in the MLP). The remaining tensors (token embeddings, normalization weights and the output head, including a tied embedding) are trained as in MOPD. For a module let be the corresponding tensor of expert , with task vector . P²-MOPD parameterizes the student's module weights as

Figure 2. Overview of P²-MOPD. Each projection of the student is composed as its own learnable full weight plus a learnable linear combination of frozen expert directions, (Equation (4)), and the composed weights are used as one model for the forward pass. The student generates rollouts on prompts of all domains; the frozen teacher of each prompt's domain scores the student's tokens. The sampled tokens and the teacher logits are passed as detached data flow (gray lines), and the resulting MOPD loss is back-propagated to the student weights (student weight channel) and to the coefficients (coefficient channel). No gradient reaches the experts or the teachers, which come from the same expert bank.
where the full tensors and the scalar mixing coefficients are both trainable and the task vectors are frozen (left block of Figure 2). No gradient is back-propagated into any teacher network: the teachers enter the loss only through the constant rewards, and the task vectors enter the parameterization only as fixed directions. Since is unconstrained, Equation (4) represents exactly the same models as a plain student. What it changes is how the student moves: a single scalar step on moves the whole module along a task vector. In this sense the frozen experts act as parameter priors, a bias on the optimization path rather than on the model class (Section 3.3).
Coefficient granularity. Equation (4) gives every module its own coefficients (module granularity, scalars). The coefficients can also be tied across modules: at layer granularity all projections of one decoder layer share coefficients, and at model granularity there is one coefficient per expert ( scalars), the learnable analogue of Equation (1). Tying only constrains ; every module keeps its own task vectors and weights. It is implemented by writing the full table as for a fixed binary assignment matrix and optimizing the free parameters , so the gradient of a tied coefficient is the sum of the gradients of the modules it covers. Our main experiments use module granularity; the method does not depend on it, and finer tying is not necessarily better (Section 5 and Table 6).
Initialization. P²-MOPD starts from the TA merge , in which every tensor (modules and alike) is merged with the TA coefficients . It sets and , so that reproduces the merged module weights exactly, and takes from the merge. Equiv-
alently, at initialization : a linear combination of the base and expert weights whose coefficients remain learnable for the entire run.
Gradients. Let be the ordinary gradient of the distillation loss with respect to the composed weight, evaluated at the current weights. By the chain rule through Equation (4),
The coefficient gradient is the directional derivative of the loss along the frozen task vector: a negative value means that, to first order, increasing module 's contribution from expert decreases the current batch loss. Because the batch contains prompts of all domains, every coefficient receives a sum of contributions from all domains, , not only from the domain of expert .
3.3. Joint Optimization and Its Interpretation
Update rule. Equation (4) is the conceptual model: it defines and gives the coefficient gradient through the chain rule. The optimizer, however, does not maintain . It maintains the materialized weights in full precision and advances them with a two-channel step (Algorithm 1; the two backward paths of Figure 2):
Algorithm 1 P²-MOPD: one training step (module granularity)
Require: merged start ; frozen task vectors ; learning rates ; clip norms
1: module tensors of ; its remaining tensors;
2: for do
3: Sample prompts with labels ; generate
4: Score with the routed teacher ; form Equation (2)
5: at Equation (3)
6: from the unclipped Equation (5)
7: Clip to global norm ;
8: Clip to norm ;
9: Equation (6)
10: Synchronize to the rollout engine
11: end for
Ensure: a standard checkpoint with folded in; the trajectory of for analysis
where and collects the inner products of Equation (5). Three details of Equation (6) matter. (i) Both channels consume the same pre-update gradient , computed once at ; there is no second backward pass. (ii) The coefficient gradient is taken from before the weight gradient is clipped, and the two channels are clipped separately, so neither channel's clipping budget is consumed by the other. (iii) The student weight channel uses no weight decay, so running AdamW on the materialized and adding the coefficient increment is identical to running the same optimizer on and recomposing , because is the same for and by Equation (5) (Section B). The non- parameters follow the AdamW channel alone. The per-step displacement of a module is therefore
At module granularity the second term lies, for each module, in a subspace of dimension at most ; over the whole network the coefficient channel moves within a structured subspace of dimension at most , while the first term is unrestricted and moves both inside and outside that subspace. Coarser tying (layer, model) replaces the per-module span by the smaller span of stacked task vectors, dimension at most or .
Parameter priors as preconditioning. Like reparameterizations that leave the model class unchanged but alter the optimization geometry (Salimans & Kingma, 2016; Arora et al., 2018), the two channels can be read as one preconditioned step (Amari, 1998). Fix one module, write with , and let for a fixed batch. If both channels used plain SGD, with no momentum, no clipping and no decay, then and , hence
The parameter prior thus acts as a preconditioner: a positive semidefinite term of rank at most amplifies the gradient component along the task vectors, with strength set by relative to (under layer or model tying, is replaced by the stacked task vectors of the tied group). Adam and clipping act on each channel separately, so Equation (8) describes the direction of the change, not its size; Section 4 measures its effect.
4. Experiments
4.1. Experimental Setup
Models and data. We follow the protocol of IM-MOPD (Kim et al., 2026) at two scales, Qwen3-4B and Qwen3-1.7B. The base is the general SFT reference model of that work, and at each scale four domain teachers (medical, law, finance, instruction following) are fine-tuned from the same , so the task vectors are well defined. The domains are evaluated on MedQA, CaseHOLD, FinQA and IFBench. We omit the fifth domain, -bench (Barres et al., 2025), because its user simulator requires a paid commercial LLM API. Every training batch contains 128 prompts, 32 from each domain, and each prompt is distilled from the teacher of its domain. Teacher provenance, prompt pools and test splits are given in Section C.
Methods. MOPD (TA init) is the primary control: MOPD from the uniform TA merge (), that is, P²-MOPD with the mixing coefficients frozen at (the corner of Algorithm 1). MOPD starts from and MOPD (SFT warm-up) from an SFT warm-up on teacher samples. Open-MOPD (Gao et al., 2026) adds per-domain budget balancing, and IM-MOPD (Kim et al., 2026) periodically merges the task vectors of under-recovered domains into the student; both start from the same merge. P²-MOPD uses module-wise granularity unless stated otherwise.
Training and evaluation. All experiments run on eight GPUs (Section F). Every run trains for 100 steps of one rollout batch each, the training budget of IM-MOPD; we call the checkpoint at step 100 the final checkpoint. Checkpoints at steps 25, 50, 75 and 100 are scored with the official IM-MOPD evaluation harness, which samples three responses per test item with evaluation seeds 42, 43 and 44 and averages their scores (avg@3; Section G). Per-domain recovery is ; the headline metric is the average recovery over the four domains, and the worst-domain recovery measures balance. Because the base-to-teacher spans differ by up to a factor of three across domains, we report raw scores alongside. P²-MOPD, MOPD (TA init) and IM-MOPD are also trained with three training seeds at both scales; we report their means and standard deviations over the three training runs and compare P²-MOPD and MOPD (TA init) in pairs of runs with the same training seed.
4.2. Main Results
Faster recovery. Figure 1 compares P²-MOPD with MOPD (TA init), which differs from it only in freezing the mixing coefficients at their TA values. P²-MOPD is ahead from the first checkpoint, by +6.2 (4B) and +21.5 (1.7B) average-recovery points at step 25, and stays ahead in all 24 seed-paired comparisons (two scales, three seeds, four checkpoints; Section G). After half the training steps it reaches 92.3 (4B) and 90.5 (1.7B), already above the final average recovery of MOPD (TA init) (83.1 and 80.9) in every seed pair, and the advantage carries over to wall-clock time (Section 4.4). The two scales differ in how the gap evolves. At 4B it widens at every checkpoint, to +11.7 at the end of training. At 1.7B it emerges at the first checkpoint, and P²-MOPD continues to recover gradually.
Final performance. At the end of training P²-MOPD leads at both scales in average recovery (Table 1) and in mean raw score, by +2.66 (4B) and +2.17 (1.7B) points (paired, three seeds); the raw gain is positive in every seed. P²-MOPD also ends well above MOPD and MOPD (SFT warm-up), and above IM-MOPD at both scales, with non-overlapping seed ranges (93.5–97.2 versus 86.6–89.2 at 4B, 94.2–95.8 versus 59.0–77.4 at 1.7B). At 1.7B, IM-MOPD's end point depends on which domains its validation-gated rule happens to merge, and its average recovery varies by 18 points across seeds.
Balanced recovery. The clearest effect is on the worst-recovered domain (Figure 3). For MOPD (TA init) this is almost always MedQA, while the other three domains are recovered about as fast as by P²-MOPD (Figure 3b, c). At 1.7B, MOPD (TA init) even ends below the MedQA recovery of the TA start (44%) in all three seeds: continued distillation erodes a capability the merge already had. P²-MOPD closes this gap from the first checkpoint and ends with a worst-domain recovery of 89.4 (4B) and 88.0 (1.7B), against 47.2 and 32.0 for MOPD (TA init), while the across-domain std of recovery falls from 21.8 to 4.6 (4B) and from

Figure 3. Balance of recovery across domains. (a) Final worst-domain recovery (bars: three-seed mean; dots: seeds). (b, c) Recovery of the worst domain, MedQA (dashed; mean 1 sd over three seeds), and the mean recovery of the other three domains (solid). MedQA is the lowest domain for both methods at almost every checkpoint. MOPD (TA init) recovers the other three domains as fast as P²-MOPD but leaves MedQA behind.
28.4 to 4.8 (1.7B). IM-MOPD is also balanced at 4B (worst domain 84.1), where every seed merges the medical teacher at step 25, but it first exceeds 80% average recovery only at step 50 or 75, against step 25 for P²-MOPD; at 1.7B its worst domain is 48.7.
Where the gain comes from. Table 2 breaks the average-recovery difference down by domain. The gain is concentrated where MOPD (TA init) falls short: MedQA is higher in every seed-paired comparison at both scales, by +29.0 (4B) and +48.2 (1.7B) recovery points on average, several times the difference in any other domain. CaseHOLD is mostly higher by small margins. On FinQA, which MOPD (TA init) already recovers almost fully, P²-MOPD is slightly lower in most pairs, and IFBench differs in both directions with a large spread across pairs. These differences lie around a high level: at the end of training P²-MOPD recovers on average at least 88% of the teacher gap in every domain, including 98% (4B) and 94% (1.7B) on FinQA (Table 1), and the small FinQA deficit reflects the competition for analysed in Section 4.3. P²-MOPD thus lifts the domain that MOPD leaves behind while keeping every other domain
Table 1. Final results. Per-domain test scores (%), avg@3: each item is scored by the mean over three samples at temperature 1.0) and summary metrics; for P²-MOPD, MOPD (TA init) and IM-MOPD all entries are three-seed means and the summary metrics show ± sd. Avg. Recovery: average recovery over the four domains; Avg. Score: mean raw score over the four benchmarks; Worst: worst-domain recovery; AULC: area under the learning curve, i.e. the average recovery averaged over the checkpoints at 25, 50, 75 and 100 steps. The base student and the teachers define recovery 0 and 100; the TA merge is the untrained common start. Bold: best trained method.
| Method | MedQA | CaseHOLD | FinQA | IFBench | Avg. Recovery | Avg. Score | Worst | AULC |
|---|---|---|---|---|---|---|---|---|
| Qwen3-4B | ||||||||
| Base student (θ₀) | 68.84 | 62.03 | 58.76 | 25.89 | 0 | 53.88 | - | - |
| Domain teachers | 79.86 | 73.57 | 75.41 | 59.22 | 100 | 72.02 | - | - |
| TA merge | 73.95 | 66.00 | 70.01 | 33.78 | 42.98 | 60.93 | 23.67 | - |
| MOPD | 62.90 | 66.30 | 75.04 | 61.33 | 46.80 | 66.39 | -53.94 | 20.43 |
| MOPD (SFT warm-up) | 69.76 | 71.47 | 74.22 | 53.11 | 66.15 | 67.14 | 8.32 | 61.86 |
| MOPD (TA init) | 76.07 | 72.62 | 75.35 | 51.08 | 83.13±9.03 | 68.78±3.67 | 47.22±23.72 | 83.13±2.72 |
| Open-MOPD | 75.07 | 72.26 | 73.73 | 59.78 | 84.20 | 70.21 | 56.55 | 80.97 |
| IM-MOPD | 78.22 | 71.76 | 73.25 | 57.78 | 88.02±1.33 | 70.25±0.32 | 84.12±0.20 | 79.11±2.83 |
| P²-MOPD | 78.74 | 72.58 | 75.01 | 59.41 | 94.85±2.06 | 71.43±0.46 | 89.42±2.54 | 92.05±1.16 |
| Qwen3-1.7B | ||||||||
| Base student (θ₀) | 44.10 | 44.65 | 43.62 | 19.89 | 0 | 38.07 | - | - |
| Domain teachers | 58.99 | 70.52 | 62.66 | 46.44 | 100 | 59.65 | - | - |
| TA merge | 50.67 | 57.20 | 47.40 | 24.44 | 32.41 | 44.93 | 17.15 | - |
| MOPD | 5.21 | 68.10 | 53.59 | 34.56 | -15.74 | 40.36 | -261.18 | -1.55 |
| MOPD (SFT warm-up) | 38.33 | 68.02 | 51.87 | 34.11 | 37.13 | 48.08 | -38.72 | 30.04 |
| MOPD (TA init) | 48.87 | 69.15 | 62.96 | 45.22 | 80.93±3.02 | 56.55±0.52 | 32.03±10.12 | 71.38±2.04 |
| Open-MOPD | 50.80 | 69.08 | 60.80 | 43.67 | 79.79 | 56.08 | 44.99 | 73.26 |
| IM-MOPD | 55.22 | 62.49 | 54.71 | 38.30 | 67.81±9.18 | 52.68±2.10 | 48.73±17.02 | 53.17±1.55 |
| P²-MOPD | 57.20 | 69.49 | 61.53 | 46.66 | 94.74±0.91 | 58.72±0.21 | 88.01±1.27 | 86.68±0.63 |
Table 2. Per-domain recovery (%) of P²-MOPD and its difference from MOPD (TA init). Final: recovery of P²-MOPD at the final checkpoint (three-seed mean). Δ: mean difference, P²-MOPD minus MOPD (TA init), with sd over all twelve seed-paired comparisons per scale (four checkpoints × three seeds).
| Domain | Qwen3-4B | Qwen3-1.7B | ||
|---|---|---|---|---|
| Final | Δ | Final | Δ | |
| MedQA | 89.8 | +29.0±8.3 | 88.0 | +48.2±14.4 |
| CaseHOLD | 91.4 | +3.8±4.2 | 96.0 | +4.5±3.1 |
| FinQA | 97.6 | -1.9±3.5 | 94.1 | +0.8±15.6 |
| IFBench | 100.6 | +4.8±23.2 | 100.9 | +7.6±12.9 |
| Avg. Recovery | 94.9 | +8.9±4.6 | 94.7 | +15.3±4.5 |
close to its teacher.
4.3. Why Learnable Coefficients Help
Task-vector projection. To see where each method moves the student, we project the displacement of every module from the TA start onto the span of its four task vectors, in units of α (Section C). MOPD (TA init) does use the task vectors, but unevenly: it moves +0.09 to +0.13 along , and , and only +0.03 along , the direction of the domain it fails to recover, at both scales and in every seed (Figure 4). P²-MOPD moves farthest along exactly this direction, by +0.40 (4B) and +0.42 (1.7B), 13–15 times as far. Within P²-MOPD, the two channels divide

Figure 4. Task-vector projection of the final displacement from the TA start in α units (three-seed means; seed sd ≤ 0.007). Each line connects MOPD (TA init) to P²-MOPD along one task vector. The share of the displacement energy that lies in the task-vector span is 5.2% / 10.7% for MOPD (TA init) and 85.4% / 90.0% for P²-MOPD (4B / 1.7B).
the work: the coefficient channel accounts for 81% (4B) and 84% (1.7B) of the displacement energy, whereas the student weight channel moves almost entirely outside the span (only 1.7% and 4.0% of its displacement lies inside). The same projection also accounts for MedQA across methods. Among the final checkpoints of P²-MOPD, MOPD (TA init) and IM-MOPD at both scales, the three that recover MedQA above 84% all moved at least 0.30 along ; P²-MOPD at both scales through its coefficients, and 4B IM-MOPD through merging the medical teacher at step
Table 3. Controlled interventions (1.7B, final checkpoint). Each indented row changes one factor of the run above it. : whether a learnable coefficient moves the student along . Med KL: training reverse KL to the medical teacher on student rollouts (mean of steps 91–100). MedQA and Avg.: MedQA recovery and average recovery (%). −: not reported.
| Run | Med KL↓ | MedQA↑ | Avg.↑ | |
|---|---|---|---|---|
| MOPD (TA init) | × | 0.115 | 22.1 | 78.1 |
| medical prompts only | × | 0.098 | -6.9 | - |
| P²-MOPD | ✓ | 0.032 | 87.2 | 95.8 |
| medical prompts only | ✓ | 0.013 | 90.2 | - |
| random directions | × | 0.111 | 1.4 | 70.2 |
| learn only | ✓ | 0.028 | 94.1 | 95.0 |
| freeze | × | 0.112 | 24.2 | - |
- The other three moved at most 0.03: MOPD (TA init) at both scales, and 1.7B IM-MOPD, which did not merge the medical teacher. Recovering the lagging domain thus coincides with a large step along its task vector, a step that student weight-only updates do not take and that P²-MOPD takes through one coefficient per module.
Conflict resolution in coefficient space. P²-MOPD turns cross-domain interference into a contest over a few interpretable scalars, settled continuously by the gradient in favour of the lagging domain. The per-domain coefficient gradients show where the conflict lives: the medical gradient lies 98% on and has cosine with the finance / IF gradients at 4B ( at 1.7B), so the domains disagree mainly about one scalar per module. They also show how it is settled: at every step the medical gradient pushes up while the finance and IF gradients push it down, their sum follows the medical gradient, and rises from 0.25 to 0.63 (4B) and 0.65 (1.7B). The price is paid by the domains that lose this contest, and it is small: a slight FinQA deficit and mixed IFBench differences (Table 2), against a far more balanced recovery overall (Figure 3). The student weight channel is what makes this resolution possible. With the weights frozen, the coefficients alone must serve all four domains and do not favour (its lead over the mean of the other three is , against in P²-MOPD); with the weights free to adapt the other domains, the coefficients can specialize on . The conflict is real but does not explain the gap of MOPD (TA init), which we test by training on medical prompts alone (Table 3, 1.7B). Without the other domains, MOPD (TA init) still barely moves along (, against with four domains), its medical KL stays more than seven times that of P²-MOPD under the same change, and its MedQA recovery falls to . Inside P²-MOPD, removing the other domains adds only 3–9 points of MedQA recovery from step 50 on, small against the gap of 65 points to MOPD (TA init).
Table 4. Cost to reach a fixed quality on 8 GPUs. Step: mean seconds per step. Cost: wall-clock of 100 steps relative to MOPD (TA init). Time to target: wall-clock to exceed the final average recovery of MOPD (TA init), as a fraction of its 100-step wall-clock; checkpoints are 25 steps apart, so these are upper bounds. Recovery at budget: average recovery of the last checkpoint within the wall-clock of 100 steps of MOPD (TA init), which is step 75 for P²-MOPD. Recoveries are three-seed means; all granularities are in Table 7.
| Method | Step (s) | Cost | Time to target | Recovery at budget | |
|---|---|---|---|---|---|
| 4B | MOPD (TA init) | 180.6 | 83.1 | ||
| P²-MOPD | 225.6 | 95.7 | |||
| 1.7B | MOPD (TA init) | 153.9 | 80.9 | ||
| P²-MOPD | 167.4 | 89.3 |
Isolating the medical direction. The remaining explanation is reachability: MOPD (TA init) falls short on MedQA because student weight-only updates do not move along . The other interventions in Table 3 separate this direction from the extra capacity that the coefficients add. If the gain came from extra trainable directions, any directions per module would serve; random directions in place of the task vectors do not beat MOPD (TA init) at any checkpoint. Learning only the row, one scalar per module, recovers nearly all of the gain (95.0 versus 95.8 average recovery), and freezing returns MedQA to the level of MOPD (TA init) (24.2 versus 22.1), so the gain follows the medical coefficient in both directions. Learning only requires knowing in advance which domain lags; P²-MOPD learns all coefficients and finds this direction on its own. The learnable coefficients thus make reachable a teacher-aligned direction that student weight-only updates do not take, while the student weight channel adapts the other domains.
4.4. Training Cost
P²-MOPD adds only the coefficient table and its optimizer state (at most on the order of scalars), and its output is a standard checkpoint with folded into the weights, so inference is unchanged. Training makes each step more expensive but needs far fewer steps. The extra time comes from streaming the task vectors to compute the coefficient gradients and the composed update (Section B). This lengthens the actor update from 14.7 to 73.8 s at 4B and from 11.1 to 37.1 s at 1.7B. However, it is rollout generation, not the actor update, that dominates each step, so 100 steps of P²-MOPD take only (4B) and (1.7B) the wall-clock of MOPD (TA init). Table 4 converts this into the time needed to reach a fixed quality. MOPD (TA init) reaches its final average recovery (83.1 / 80.9) only at the end of its 100 steps. P²-MOPD already exceeds it at step 25 at 4B (85.4, the wall-clock) and at step 50 at 1.7B (90.5, ); since checkpoints are 25 steps apart, these

both (P²-MOPD) weights only, MOPD (TA init) coefficients only
Figure 5. Inside versus beyond the task-vector span (module granularity): mixing coefficients only (student weights frozen, confined to the span), student weights only (mixing coefficients frozen; MOPD (TA init)) and both (P²-MOPD). The last two are three-seed means (shaded: ±1 sd). Dotted: the TA start.
are upper bounds. Within the wall-clock of 100 steps of MOPD (TA init), P²-MOPD completes about 80 (4B) and 92 (1.7B) steps, and its step-75 checkpoint, which fits in this budget at both scales, reaches 95.7 / 89.3. From step 50 on, it also exceeds the best checkpoint of MOPD (TA init) at any step (85.8 / 80.9).
5. Ablation Studies
Inside versus beyond the task-vector span. With the weights frozen, every module stays at : the student can only move within the span of the task vectors, and P²-MOPD reduces to learning the task-arithmetic coefficients by on-policy distillation. Training the weights as well lets the student leave the span. Table 5 and Figure 5 compare the two, together with the untrained TA start and MOPD (TA init), which trains the student weights with the mixing coefficients frozen. Learning the mixing coefficients inside the span improves on the TA start by +10.0 and +16.9 average-recovery points (4B / 1.7B), but stays far below P²-MOPD (+51.9 and +62.3), which also has the best worst-domain recovery at both scales. The step beyond the span is small but decisive: it carries only 14.6% / 10.0% of the displacement energy of P²-MOPD (Figure 4), yet allowing it is what separates P²-MOPD from the coefficients-only variant. Conversely, the student weight channel without learnable coefficients, MOPD (TA init), gains +40.2 and +48.5 points but leaves MedQA behind (Section 4.3). The coefficients thus move the student along teacher-aligned directions, the weights adapt it beyond their span, and only the combination gives the best average and worst-domain recovery. P²-MOPD is therefore more than a learned merge: the experts supply the directions, and the distilled model is free to leave the space that any merge of them can reach. The sensitivity to the coefficient learning
Table 5. Inside versus beyond the task-vector span, final checkpoint. Rows from top to bottom: the untrained TA start, mixing coefficients only (student weights frozen, confined to the span), student weights only (mixing coefficients frozen; MOPD (TA init)), and both channels (P²-MOPD); the last two rows are three-seed means. Avg.: average recovery; Worst: worst-domain recovery.
| Train W | Train | Qwen3-4B | Qwen3-1.7B | ||
|---|---|---|---|---|---|
| Avg. | Worst | Avg. | Worst | ||
| 42.98 | 23.67 | 32.41 | 17.15 | ||
| ✓ | 52.98 | 35.62 | 49.31 | 27.17 | |
| ✓ | 83.13 | 47.22 | 80.93 | 32.03 | |
| ✓ | ✓ | 94.85 | 89.42 | 94.74 | 88.01 |
Table 6. Coefficient granularity at the final checkpoint. Avg. Rec.: average recovery; std: across-domain std of recovery; # : number of free coefficients. Module (shaded, the main setting) is a three-seed mean.
| Qwen3-4B | Qwen3-1.7B | |||||
|---|---|---|---|---|---|---|
| module | layer | model | module | layer | model | |
| # | 1008 | 144 | 4 | 784 | 112 | 4 |
| Avg. Rec. | 94.9 | 73.4 | 96.5 | 94.7 | 94.4 | 97.2 |
| std | 4.6 | 16.6 | 3.6 | 4.8 | 1.5 | 9.3 |
rate is reported in Section D.
Coefficient granularity. Table 6 compares module, layer and model granularity at the end of training. At 1.7B all three end between 94 and 97% average recovery, and layer tying ends with the lowest across-domain std (1.5). At 4B, model tying (96.5) falls within the seed range of module granularity (93.5–97.2), so the two cannot be separated, whereas layer tying ends at 73.4, about 20 points below both. The 1.7B layer run does not show this drop. Model tying has the highest mean at both scales, but its across-domain std depends on the scale (3.6 at 4B, 9.3 at 1.7B). Module-wise granularity is the setting that combines high average recovery with a low across-domain std at both scales (average recovery 94.9 / 94.7, std 4.6 / 4.8). We therefore use it as the main setting.
Initialization. The advantage of P²-MOPD over MOPD does not come from the TA start. At 1.7B we also start both methods from the base model ( , so that is MOPD), with otherwise identical settings. P²-MOPD leads MOPD at every checkpoint and at both coefficient learning rates we tried ( and ), ending at 61.2 and 66.2 average recovery against –15.7 (Section D). As from the TA start, most of the gain comes from MedQA. The expert priors therefore help even when the student does not start at the merge: P²-MOPD does not depend on a merged initialization to improve on MOPD, and it learns from the base student itself how much of each expert to draw on.
Learned coefficients. The learned mixture is stable: after training, the mean coefficient of each teacher agrees across the three seeds to within 0.01, so the mixture is a structured outcome learned from the experts and the student. It also moves away from the uniform 0.25 in a consistent direction. The medical coefficient rises the most (to 0.63 at 4B and 0.65 at 1.7B, against 0.33–0.46 for the other three teachers; Table 9), toward the domain that MOPD (TA init) fails to recover (Section 4.3). When the weights are frozen, the coefficients have to absorb the whole update: they move much further (std over all module coefficients 0.38–0.40 versus 0.12–0.14), and some module coefficients become negative. Learned jointly with the weights, they stay a moderate mixture of the experts, because the student weight channel adapts what the task-vector span cannot express. The learned coefficients are thus a reproducible and interpretable by-product of training: without any validation data, they identify the teacher that the student most needs.
6. Conclusion
We proposed P²-MOPD, which treats a linear combination of the student and frozen experts as a single model and trains its weights and mixing coefficients jointly under the MOPD objective. Across four domains at 1.7B and 4B, it surpasses the final average recovery of MOPD in half the training steps and raises worst-domain recovery from below half to nearly 90%. The gain comes from reachability. Student weight-only updates barely move along the task vector of the lagging domain, whereas one learnable coefficient per module makes this direction reachable, and the student weight channel adapts the model beyond the task-vector span. The advantage persists without a merged initialization, and the learned coefficients consistently identify the teacher that the student most needs. More broadly, expert parameters need not be consumed once, as an initialization or a merge. Kept as learnable priors throughout distillation, they guide where the student moves, which makes expert weights, and not only expert predictions, a source of supervision for multi-teacher consolidation.
References
Amari, S.-i. Natural gradient works efficiently in learning. Neural Computation, 10(2):251–276, 1998.
Arora, S., Cohen, N., and Hazan, E. On the optimization of deep networks: Implicit acceleration by overparameterization. In International Conference on Machine Learning (ICML), 2018.
Barres, V., Dong, H., Ray, S., Si, X., and Narasimhan, K. -bench: Evaluating conversational agents in a dual-control environment. arXiv preprint arXiv:2506.07982, 2025.
Choshen, L., Venezian, E., Slonim, N., and Katz, Y. Fusing finetuned models for better pretraining. arXiv preprint arXiv:2204.03044, 2022.
DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348, 2026.
Fu, Z., He, B., Zuo, Y., Huang, H., Zhang, J., Xiao, R., Qian, C., Luo, Q., Gao, H.-a., Wang, Y., et al. Rethinking on-policy distillation of large language models ii: One training example. arXiv preprint arXiv:2609.04172, 2026.
Gao, H.-a., Chi, H., Yan, Y., Feng, S., Wu, H., Jiang, Z., He, B., Ma, W.-Y., Zhang, Y.-Q., and Zhou, H. Open-mopd: Diagnosing and fixing capability imbalance in multi-teacher on-policy distillation. arXiv preprint arXiv:2608.19098, 2026.
Gauthier-Caron, T., Siriwardhana, S., Stein, E., Ehghaghi, M., Goddard, C., McQuade, M., Solawetz, J., and Labonne, M. Merging in a bottle: Differentiable adaptive merging (DAM) and the path from averaging to automation. arXiv preprint arXiv:2410.08371, 2024.
Ilharco, G., Ribeiro, M. T., Wortsman, M., Gururangan, S., Schmidt, L., Hajishirzi, H., and Farhadi, A. Editing models with task arithmetic. In International Conference on Learning Representations (ICLR), 2023.
Kang, W., Galim, K., Oh, S., Kang, M., Park, S., Kim, D., Lee, M., Kim, M., Tiwari, R., Zeng, Y., et al. Asycopd: How stale can on-policy distillation be? arXiv preprint arXiv:2606.24143, 2026.
Kim, S., Jang, C., Lee, N., Kim, B., and Lee, J. No pain, more gain: Iterative merging for effective multi-teacher on-policy distillation. arXiv preprint arXiv:2609.34745, 2026.
Kimi Team. Kimi K3: Open frontier intelligence. arXiv preprint arXiv:2607.24653, 2026.
Li, Y., Zuo, Y., He, B., Zhang, J., Xiao, C., Qian, C., Yu, T., Gao, H.-a., Yang, W., Liu, Z., et al. Rethinking on-policy distillation of large language models: Phenomenology, mechanism, and recipe. arXiv preprint arXiv:2604.13016, 2026.
Lu, K. and Thinking Machines Lab. On-policy distillation. Thinking Machines Lab: Connectionism, 2025. doi: 10.64434/tml.20251026. https://thinkingmachines.ai/blog/on-policy-distillation.
Ma, W., Wei, J., Zhao, L., Zhang, H., Xiao, B., Li, L., Yang, Q., Gao, B., Wang, Y., Li, R., Dong, J., Sui, Z.,
P -MOPD: Accelerating Multi-Teacher On-Policy Distillation via Parameter Priors
and Luo, F. MOPD: Multi-teacher on-policy distillation for capability integration in LLM post-training. arXiv preprint arXiv:2606.30406, 2026a.
Ma, Y., Zhu, Z., Jiang, M., and Xiao, C. One student, many teachers: Multi-task on-policy distillation via soft-prompt privileged context. arXiv preprint arXiv:2607.18293, 2026b.
NVIDIA. Nemotron 3 Ultra: Open, efficient mixture-of-experts hybrid mamba-transformer model for agentic reasoning. arXiv preprint arXiv:2606.15007, 2026.
Salimans, T. and Kingma, D. P. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. In Advances in Neural Information Processing Systems, 2016.
Schulman, J., Wolski, F., Dhariwal, P., Radford, A., and Klimov, O. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
Shen, Z., Qin, Z., Huang, Z., Chen, H., Hu, J., Zhuang, Y., Lu, G., Chen, G., and Zhao, J. Merge-of-thought distillation. arXiv preprint arXiv:2509.08814, 2025.
Sun, L., Zhao, G., Jian, X., Wu, Y., Lin, W., Zhu, Y., Jia, C., Zhang, L., Wu, J., Ran, J., Hu, S.-e., Jiang, Z., Zhou, J., Liu, W., Cui, B., Yang, T., and Zhang, X. TinyR1-32B-Preview: Boosting accuracy with branch-merge distillation. arXiv preprint arXiv:2503.04872, 2025.
Wang, S., Wang, P., Qin, T., Song, M., Chen, Q., Wang, Q., Zhou, G., Zhang, Z., Zhu, H., Shi, D., et al. Evolving rollouts: Harnessing historical experience for web agent evolution in reinforcement learning. In Forty-third International Conference on Machine Learning, 2026.
Xiaomi LLM-Core Team. MiMo-V2.6: Scaling reinforcement learning towards self-improvement. arXiv preprint arXiv:2610.11959, 2026a.
Xiaomi LLM-Core Team. MiMo-V2-Flash technical report. arXiv preprint arXiv:2601.02780, 2026b.
Xing, X., Wang, H., Gao, B., Li, Z., and Tang, Y. Trust region on-policy distillation. arXiv preprint arXiv:2606.01249, 2026.
Xu, J., Li, J., and Zhang, J. Scalable model merging with progressive layer-wise distillation. In International Conference on Machine Learning (ICML), 2025.
Xu, T., Zheng, Y., Zhang, Z., Yu, Y., Ma, C., Zhu, J., Wu, L., Ye, L., Liu, P., Dong, B., Zhu, H., Huang, R., and Yu, G. MOPD-Router: Rethinking teacher routing in multi-teacher on-policy distillation. arXiv preprint arXiv:2609.30837, 2026.
Yadav, P., Tam, D., Choshen, L., Raffel, C., and Bansal, M. TIES-merging: Resolving interference when merging models. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
Yang, A. et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
Yang, E., Wang, Z., Shen, L., Liu, S., Guo, G., Wang, X., and Tao, D. AdaMerging: Adaptive model merging for multi-task learning. In International Conference on Learning Representations (ICLR), 2024.
Yang, W., Liu, W., Xie, R., Yang, K., Yang, S., and Lin, Y. Learning beyond teacher: Generalized on-policy distillation with reward extrapolation. arXiv preprint arXiv:2602.12125, 2026a.
Yang, Z. et al. Nemotron-Cascade 2: Post-training LLMs with cascade RL and multi-domain on-policy distillation. arXiv preprint arXiv:2603.19220, 2026b.
Yu, L., Yu, B., Yu, H., Huang, F., and Li, Y. Language models are Super Mario: Absorbing abilities from homologous models as a free lunch. In International Conference on Machine Learning (ICML), 2024.
Zhang, F. Z., Albert, P., Rodriguez-Opazo, C., van den Hengel, A., and Abbasnejad, E. Knowledge composition using task vectors with learned anisotropic scaling. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
Zhao, S., Xie, Z., Liu, M., Huang, J., Pang, G., Chen, F., and Grover, A. Self-distilled reasoner: On-policy self-distillation for large language models. arXiv preprint arXiv:2601.18734, 2026.
A. The Distillation Objective as Implemented
This appendix states the exact objective behind Equations (2) and (3), as used in all reported runs.
Rollouts and log-probabilities. At step the rollout engine holds the weights synchronized after step . It samples one response per prompt at temperature 1.0 with top- and no top-. After generation, the student log-probabilities used in the reward and in the importance ratio are recomputed by the learner with the same weights (not read from the rollout engine), and the teacher log-probabilities are computed by the routed teacher on the same prefixes at temperature 1.0.
Support. At every response position , the support is formed from the student distribution only (“student top-” strategy): the most probable student tokens are selected; their probabilities are renormalized among themselves; and, in descending order, a token is retained while the cumulative renormalized mass preceding it is below 0.99 (so the token that crosses the threshold is kept and the most probable token is always kept). The teacher distribution is evaluated on the same support; tokens outside contribute nothing. The support is rebuilt from the recomputed student log-probabilities at learner time.
Reward. With the per-candidate reward is as in Equation (2), with (not renormalized) log-probabilities inside the bracket. Writing and for the support masses and for the two distributions renormalized on , the summed reward is
i.e. a support-restricted reverse KL plus a term that penalizes the student for placing more mass on its own top candidates than the teacher does. Responses that hit the generation length cap are masked out. No reward-scale normalization and no target-share or budget correction is applied in the reported runs, except for the budget balancing of Open-MOPD. The reward is used directly as the per-candidate advantage (, no baseline, no group normalization), and it is recomputed at learner time from the recomputed student log-probabilities.
Surrogate. Let . The per-candidate loss is the PPO-style clipped objective with asymmetric clipping range and dual clipping at 3 for negative advantages (Schulman et al., 2017):
Candidate losses are summed over to a per-token loss, and per-token losses are averaged over all unmasked response tokens of the mini-batch (“token-mean”). Because the mini-batch equals the rollout batch and a single PPO epoch is used, each rollout batch yields exactly one optimizer step, when the gradient is formed, up to floating-point recomputation noise, and the clipping is inactive in effect; the gradient of the surrogate then equals the gradient of Equation (3).
Masking. Responses whose generation ended by hitting the length cap are flagged at rollout time and excluded from the loss mask entirely (all of their tokens), before token-mean aggregation. Prompts are never trained on.
Per-domain decomposition. For analysis, the learner performs the backward pass domain by domain: the token-mean loss is restricted to the tokens of domain and multiplied by that domain’s share of unmasked tokens, so that the per-domain gradients sum exactly to the batch gradient . After each domain’s backward pass the per-domain coefficient gradients are recorded, without clearing the accumulating weight gradient, and the total coefficient gradient used in Equation (6) is their sum. This decomposition changes neither the weight nor the coefficient update; it only exposes the domain-wise terms discussed in Section 3.2.
B. Update Rule: Implementation Details and Equivalence Conditions
What is stored. The trainable state consists of the full-precision (FP32) master copy of the student weights , sharded across data-parallel workers, the AdamW moments for all of them, the free coefficient table and its Adam moments. is never stored. The task vectors are not stored on the accelerator; the base and expert checkpoints are memory-mapped and each is formed one module at a time when needed.
Order of operations within a step. (1) Rollout at and teacher scoring. (2) Learner forward/backward producing , with the per-domain decomposition above. (3) Coefficient gradients are computed from the unclipped sharded gradients, each shard contributing its partial inner product and the partial sums reduced across shards; tied coefficients sum their modules' values. (4) The full gradient is clipped to global norm and AdamW (decay 0) is stepped on . (5) The coefficient gradient is clipped to norm and Adam (decay 0) is stepped on . (6) The increment is added to each FP32 module shard. (7) Both learning-rate schedulers advance. (8) The weights are synchronized to the rollout engine. If the clipped weight-gradient norm or the coefficient-gradient norm is non-finite, steps (4) to (6) are skipped for that batch and no state changes.
Equivalence to optimizing . Let denote Adam with decay zero and a given learning-rate schedule. Its state after steps is a function of the gradient sequence only. Since , running on and running it on produce the same increments , and is exactly when . With nonzero decay the AdamW step contains versus , which differ by ; the equivalence then fails, and the materialized- form would shrink the task-vector component. All reported runs use decay 0.
Checkpoints. Every 25 steps the FP32 weights, optimizer states and the coefficient table are written; the exported model is a standard checkpoint of with no coefficient metadata required for inference. The coefficient trajectory is stored separately for analysis.
Measured cost. Table 7 reports the wall-clock and the per-step time for every coefficient granularity. The additional time is in the actor update, which streams the task vectors; rollout generation is the same for all variants. Coarser tying does not reduce this cost, since every granularity reads all task vectors once per step, and the measured differences between granularities reflect how the streaming overlaps with the rest of the step.
Table 7. Measured training cost on 8 GPUs for all coefficient granularities. Wall-clock covers the training job from environment ready to final checkpoint; per-step numbers are 100-step means from the training logs. : ratio to MOPD (TA init).
| Method | Wall (h) | Step (s) | Update (s) | ||
|---|---|---|---|---|---|
| 4B | MOPD (TA init) | 5.26 | 1.00 | 180.6 | 14.7 |
| P²-MOPD module | 6.51 | 1.24 | 225.6 | 73.8 | |
| P²-MOPD layer | 6.32 | 1.20 | 218.2 | 68.1 | |
| P²-MOPD model | 7.50 | 1.43 | 258.9 | 90.9 | |
| 1.7B | MOPD (TA init) | 4.48 | 1.00 | 153.9 | 11.1 |
| P²-MOPD module | 4.90 | 1.09 | 167.4 | 37.1 | |
| P²-MOPD layer | 4.65 | 1.04 | 160.4 | 36.4 | |
| P²-MOPD model | 5.50 | 1.23 | 188.6 | 42.0 |
C. Experimental Details
Teachers. At 4B we use the four released IM-MOPD domain teachers. IM-MOPD does not release its 1.7B domain teachers, so we train all four from the same 1.7B reference model following its teacher training procedure: the medical and law teachers by SFT on filtered responses of Qwen3.6-35B-A3B, and the finance and instruction-following teachers by GRPO for 200 steps. On its own benchmark, each teacher is within one point of the score reported by IM-MOPD (MedQA 58.99 versus 58.5, CaseHOLD 70.52 versus 69.6, FinQA 62.66 versus 62.4, IFBench 46.44 versus 46.4). Qwen3-4B has 36 decoder layers and Qwen3-1.7B has 28; with seven projections per layer, module granularity has and 196 modules and and 784 coefficients (layer granularity: 144 and 112; model granularity: 4).
Data. Training prompts come from per-domain pools prepared with the IM-MOPD data pipeline: 13,761 (medical), 31,396 (law), 8,446 (finance) and 11,472 (IF) prompts, 65,075 in total. Batches are drawn with a domain-balanced sampler (32 prompts per domain); apart from the budget balancing of Open-MOPD, no other balancing or reweighting is applied.
Evaluation uses the official test splits (1,273, 5,314, 1,147 and 300 items for MedQA, CaseHOLD, FinQA and IFBench). A held-out validation pool is used only by IM-MOPD, for its merge decisions; none of our methods uses it for model selection.
Baselines. MOPD (SFT warm-up) starts from 62 SFT steps on teacher samples filtered and mixed with the official IM-MOPD pipeline. MOPD (TA init) differs from P²-MOPD only in freezing the mixing coefficients ; the coefficients-only variant additionally freezes .
Training details. Each step uses one sampled response per prompt (temperature 1.0, top- 1.0), prompts up to 15,872 and responses up to 16,384 tokens; truncated responses are masked from the loss. Each training step is one rollout batch and one optimizer step, after which the weights are synchronized to the rollout engine. The full list of hyperparameters is in Table 10.
Seeds. The evaluation sampling seeds (42, 43, 44) are the same for every checkpoint. The four checkpoints of one run are not independent repeats and are never pooled as such.
Task-vector projection. For Figure 4 the displacement of every module from the TA start is projected onto the span of its four task vectors by least squares (Gram pseudo-inverse), so the projection coefficients are in the units of ; on frozen-weight runs they match to within 0.01 in module mean. The energy share is the squared norm of the projection divided by the squared norm of the displacement, summed over modules. The per-domain coefficient gradients are the inner products recorded at every step (Section A).
Controlled interventions. Each run in Table 3 differs from the corresponding run of P²-MOPD or MOPD (TA init) in a single setting. The random-direction run replaces each by an independent Gaussian random tensor rescaled to the same Frobenius norm; it starts from the same TA merge and is supervised by the same teachers, so only the directions spanned by the mixing coefficients change. A further run starts MOPD from the final coefficients of P²-MOPD composed onto the base without its weight updates (medical KL 0.031). It keeps MedQA high (recovery 85.1) but leaves FinQA near the TA start (recovery 32%) and ends at 69.8 average recovery; the learned- point on its own is a poor model (average recovery 28.8, below the TA merge). The coefficients therefore have to be learned together with the weights. For the run with frozen, we report the training-side medical KL and the MedQA recovery.
D. Coefficient Learning Rate
Figure 6 and Table 8 sweep at 1.7B with everything else fixed. A three times smaller value () already gives three quarters of the gain of the main setting over MOPD (TA init) (+10.4 versus +13.8 at the end of training) and leads MOPD (TA init) at every checkpoint, so the gain is not a narrow tuning peak. is best; a three times larger value () falls below MOPD (TA init) from step 50 on, because FinQA stays at the level of the TA start.

Figure 6. Coefficient learning-rate sweep at 1.7B (module granularity); is MOPD (TA init).
Table 8. Coefficient learning-rate sweep (1.7B). Average recovery at steps 25 and 100, and its area under the learning curve (AULC; mean over the four checkpoints). Rows for and are three-seed means.
| Step 25 | Final | AULC | |
|---|---|---|---|
| 0, MOPD (TA init) | 50.7 | 80.9 | 71.4 |
| 61.4 | 91.3 | 80.5 | |
| -MOPD | 72.2 | 94.7 | 86.7 |
| 51.2 | 69.5 | 62.6 |
Start from the base model. For the base-model start of Section 5 (), the average recovery of P²-MOPD with against MOPD is versus at step 25, versus at step 50, versus at step 75, and versus at step 100, where the Avg. Score is versus . The final MedQA recovery is versus , and the final FinQA recovery is versus .
E. Learned Coefficients
Table 9 lists the coefficients at the end of training. At both scales the medical coefficient grows the most, from 0.25 to above 0.6, while the other three end between 0.33 and 0.46.
Table 9. Final mean coefficient per teacher of P²-MOPD (module granularity), averaged over modules; ranges are over the three seeds where they differ. All coefficients start at 0.25.
| Med | Law | Fin | IF | |
|---|---|---|---|---|
| 4B | 0.63 | 0.37 | 0.39 | 0.35–0.36 |
| 1.7B | 0.65–0.66 | 0.46 | 0.36 | 0.33 |
F. Hyperparameters and Matched Initialization
Matched initialization. The merged start applies coefficient 0.25 for each of the four teachers to every tensor of the model, including embeddings, normalization weights and the output head, using the IM-MOPD merge utility in FP32. P²-MOPD and MOPD (TA init) load this identical checkpoint, and MOPD starts from . The full list of training hyperparameters is in Table 10.
Table 10. Training hyperparameters of P²-MOPD and the MOPD baselines.
| 4B | 1.7B | |
|---|---|---|
| Optimizer steps | 100 | 100 |
| Prompts per step (per domain) | 128 (32) | 128 (32) |
| Responses per prompt | 1 | 1 |
| Rollout sampling | ||
| Max prompt / response tokens | 15,872 / 16,384 | 15,872 / 16,384 |
| Distillation support | top-16, nucleus 0.99 | top-16, nucleus 0.99 |
| Weight optimizer | AdamW, , wd 0 | same |
| (schedule) | (5% warm-up, constant) | (5% warm-up, constant) |
| Weight gradient clip | 1.0 (global norm) | 1.0 |
| Coefficient optimizer | Adam, , wd 0 | same |
| (schedule) | (5% warm-up, constant) | (5% warm-up, constant) |
| Coefficient gradient clip | 1.0 | 1.0 |
| Granularity (main) | module: | module: |
| Initial coefficients | 0.25 for all four teachers | 0.25 |
| Decoder layers / RoPE base | ||
| GPUs per run | 8 | 8 |
| Data-order seeds: P²-MOPD, MOPD (TA init) | 0, 1, 2 | 0, 1, 2 |
G. Evaluation Protocol and Endpoints
Harness. All scores come from the official IM-MOPD evaluation harness (frozen protocol file; same code revision for every method and endpoint). For each item three generations are sampled at temperature 1.0 with seeds 42, 43 and 44 and the item score is averaged; the reported score is the mean over items (avg@3). IFBench is scored as prompt-level loose accuracy. Per-domain generation caps are 26,624 tokens (MedQA, CaseHOLD, FinQA) and 32,768 (IFBench); the serving engine limits the context to the model's configured 32,768 positions, so the effective cap for an item is the minimum of the domain cap and the remaining context.
Table 11. Base and teacher endpoints (avg@3, %) used for normalized recovery, measured with the same harness. The span is the denominator of recovery; one raw point corresponds to 100/span recovery points.
| MedQA | CaseHOLD | FinQA | IFBench | ||
|---|---|---|---|---|---|
| 4B | base | 68.84 | 62.03 | 58.76 | 25.89 |
| teacher | 79.86 | 73.57 | 75.41 | 59.22 | |
| span | 11.02 | 11.54 | 16.65 | 33.33 | |
| 1.7B | base | 44.10 | 44.65 | 43.62 | 19.89 |
| teacher | 58.99 | 70.52 | 62.66 | 46.44 | |
| span | 14.89 | 25.87 | 19.04 | 26.55 |
Recovery and aggregation. Per-domain recovery is ; it can exceed 1 or fall below 0. Average recovery is the unweighted mean over the four domains. Because the spans differ (Table 11), a one-point raw change moves recovery by 9.1 points on 4B MedQA but 3.0 points on 4B IFBench; raw means are therefore reported next to every average-recovery number.
Seed-paired comparisons. Pairing P²-MOPD and MOPD (TA init) by seed, the step-25 gap in average recovery is +6.17 at 4B, with a sd of only 0.07 across seeds against a seed sd of ≈ 0.9 for either method, and +21.5 ± 2.9 at 1.7B. The step-50 checkpoint of P²-MOPD exceeds the final checkpoint of MOPD (TA init) in every seed, by +1.6, +4.5 and +21.3 (4B) and by +10.4, +11.3 and +7.1 (1.7B). At 4B the mean paired gap is +6.2, +7.8, +10.0 and +11.7 at steps 25, 50, 75 and 100, with a final seed range of +4.1 to +20.6; at 1.7B it is largest at step 25 and then stays between +12 and +14.
Table 12. IM-MOPD merge trajectory. At steps 25, 50 and 75 the recovery-gated rule merges the task vectors of the listed domains into the student; Pre and Post are the average recovery of the checkpoint immediately before and after the merge, and Step 100 is the final checkpoint. -: no merge at that step.
| Scale | Seed | Step 25 | Step 50 | Step 75 | Step 100 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Merged | Pre | Post | Merged | Pre | Post | Merged | Pre | Post | Final | ||
| 4B | 42 | Med, Law, IF | 58.9 | 43.2 | IF | 74.0 | 74.5 | - | 83.9 | - | 88.3 |
| 43 | Med, Law | 62.3 | 58.0 | - | 88.3 | - | - | 90.4 | - | 86.6 | |
| 44 | Med, Law | 59.2 | 62.2 | - | 83.1 | - | - | 85.2 | - | 89.2 | |
| 1.7B | 42 | Fin, IF | 42.3 | 46.4 | Fin | 49.2 | 47.7 | - | 50.4 | - | 77.4 |
| 43 | IF | 38.7 | 44.5 | Med, Fin, IF | 49.8 | 32.7 | Fin | 56.3 | 51.7 | 67.1 | |
| 44 | IF | 38.1 | 44.9 | Med, IF | 55.7 | 47.4 | Fin | 54.1 | 57.3 | 59.0 | |
IM-MOPD runs. IM-MOPD is trained with an effective batch of 128 and the same merged start, prompt pools, 100 steps, length caps and evaluation harness as the other methods, and with three training seeds. Its recovery-gated rule is applied at steps 25, 50 and 75 with and (4B) or 0.4 (1.7B), as in its released configurations; the main results use the pre-merge checkpoint at each step. Table 12 lists, for every seed, the domains merged at each step and the average recovery immediately before and after the merge. A merge changes the average recovery by between -17.2 and +6.8 points, and the steps that follow recover most of the larger drops. Its in-training validation (four samples per validation item every 25 steps) is part of its method and is included in its wall-clock. Because a seed also changes which domains pass the validation gate, the IM-MOPD seed variation includes the merge path.