Merging Domain Experts Without Leaving One Behind: P²-MOPD

Merge several domain-expert models into one and a single domain mysteriously lags behind. P²-MOPD keeps the experts' parameters alive as a "prior" throughout training, closing the performance gap between the base model and the experts.
← All posts
온
온틀 리서치
2026년 11월 10일 Updated 2026.11.24 35 min read views 5

Fuse a set of domain-specialized AI experts into a single general-purpose model and, more often than not, one domain falls badly behind — sometimes the merged model even loses abilities it already had. P²-MOPD refuses to treat the experts' parameters (the numbers a model learns, i.e., its weights) as a throwaway initialization. It keeps them alive as a "prior" right up to the end of training, and learns both how much to blend the experts (the mixing ratio) and the student's own weights under a single objective.

The payoff: an average recovery rate of 94.7% on Qwen3-1.7B, versus 80.9% for the standard approach, MOPD. Recovery rate is a relative metric for "how much of the gap between the base model and the expert did you close." Zero means you stayed at the base model's level; 100 means you caught all the way up to the expert.

The problem this paper tackles

The recipe for a top-tier LLM has become fairly standardized. You train several domain experts separately — medicine, law, finance — each with its own reinforcement learning, then merge them into one "do-everything" model. The go-to tool for that merge step is multi-teacher on-policy distillation (MOPD). Knowledge distillation is training that transplants the ability of a strong model (the teacher) into another model (the student).

Ordinary distillation has the student copy answer keys the teacher prepared in advance. On-policy distillation flips the order. The student first writes its own answer under its own power, and the teacher grades and corrects that answer word by word. Because the feedback lands on the exact path the student actually walks, quality is good. But the process is heavy. At every step the student has to generate a fresh answer, and every teacher has to read that answer again to produce a token-level scorecard. The student repeats this countless times, inching a little closer to each teacher's skill.

Two things go wrong. One is cost; the other is imbalance. Prior work already observed that MOPD doesn't lift every domain evenly. Even when you start from a point where the experts have been pre-merged, one domain stays stranded far behind. Train longer and the merged model can even start eating away at abilities it originally had. In this paper's own experiments, MOPD on Qwen3-1.7B finished with a lower final medical (MedQA) recovery rate than its starting point, across all three seeds. In other words, more training actually made the medical ability worse.

Where the old approaches got stuck

There are two broad camps for merging experts.

One is training-free model merging. The flagship technique, Task Arithmetic, adds each expert's "task vector" to the base model. A task vector is the difference you get by subtracting the base model's parameters from the expert's — that is, "in what direction, and by how much, did this expert move away from the base." With no training at all, it's fast and cheap. But nobody supervises how the merged model actually answers, so quality is erratic. In this paper too, a uniform additive merge recovered less than half of the gap between base and teacher (42.98% on 4B).

The other camp is the MOPD family we just saw. Here the teacher supervises the student's answers, so quality is better, but the imbalance of one lagging domain and the high cost remain. Later work refined "which teacher supervises which token, and how much," yet still treated the student model itself as a plain lump of weights.

The paper's main baseline, MOPD (TA init), starts distillation from the point where the experts have been pre-merged via Task Arithmetic. The closest prior work, IM-MOPD, re-injects the task vector of an under-recovered domain back into the student at fixed intervals — but it decides the "when and how much" with an external validation rule. This is exactly where P²-MOPD parts ways: it doesn't set the amount to blend by a rule, it learns it directly from the training signal flowing out of the distillation process.

The core idea

Task Arithmetic alone wasn't enough, but its half-success is a clue. If merely adding the experts' parameters — without a single step of training — revives part of the ability, then those parameters hold a "prior" that is genuinely useful to the merged model.

That is the starting point for P²-MOPD (Parameter-Prior MOPD). A linear combination of the base student and the frozen experts is, after all, just another model. And this model is differentiable both with respect to "how much to blend the experts" (the mixing coefficients) and with respect to "the student's own weights." Differentiable means you can tune it end to end with MOPD's training signal. So the experts become not a throwaway initialization but a prior that stays active throughout training.

In one sentence: the mixing coefficients help the student move easily in the direction the experts have learned, while the student's weights are free to allow change beyond that direction too. It hands the student both the pull to follow the experts and the freedom to go past them.

More concretely, P²-MOPD rewrites the student's weights as "the student's own free weights + a weighted sum of frozen expert directions" (Eq. 4 in the paper). There are no constraints on the student's own weights. So even after this rewrite, the range of models that can be expressed is identical to that of a plain student. What changes is not "which model it can become" but "in which direction the student moves easily." Nudge a single mixing coefficient and the entire weight vector takes a step toward a particular expert's direction.

Distinguishing two things here clears up any confusion. One is "where the learning comes from" (the supervision signal). The teacher looks at the scores (logits) assigned to the student's output and supervises token by token — this part is exactly the same as standard MOPD. The other is "what actually gets learned" (the trainable variables). P²-MOPD has two knobs to turn. The student weights can drag the model in any direction, while the mixing coefficients move only within the directions the experts have carved out. A single computed gradient flows into both knobs, which — in the authors' words — "divide the work."

How the experiments compared

The heart of the comparison is a fair starting line. The main baseline, MOPD (TA init), is in fact identical to P²-MOPD with the mixing coefficients frozen at their Task Arithmetic values. The two methods start from the same point, use the same training budget, and differ in exactly one thing — whether the mixing coefficients are learned or not. That lets you cleanly attribute any performance difference to the single factor of "learning the coefficients."

Following the setup of the prior work IM-MOPD, the experiments run at two sizes (Qwen3-4B, Qwen3-1.7B). The four domains are medicine, law, finance, and instruction following, and the evaluation benchmarks, in order, are MedQA, CaseHOLD, FinQA, and IFBench. All four experts were fine-tuned from the same base model so that the task vectors are cleanly defined.

Performance is viewed through three metrics: average recovery rate (the mean over the four domains), worst-domain recovery rate (the single most-lagging domain), and area under the learning curve (AULC, how fast it converges). Look only at the average and the "one lagging domain" imbalance gets hidden. Placing all three metrics side by side is itself a design choice that mirrors the research's central concern.

The original IM-MOPD includes a fifth domain (τ-bench), but this paper drops it, because that benchmark's user simulator requires a paid commercial LLM API. So the full five-domain picture is beyond what this paper can tell us.

Detailed setup for reproduction

Each batch consists of 128 prompts (32 per domain). Every run does 100 steps on 8 GPUs, matching the training budget of the comparison IM-MOPD exactly. Checkpoints at 25, 50, 75, and 100 steps are scored with the official IM-MOPD evaluation harness, and each item is sampled three times with seeds 42, 43, and 44 and averaged (avg@3). The three training seeds are compared seed-matched. Recovery rate is a relative metric placing the base score at 0 and the teacher score at 100; because the base–teacher gap varies by up to 3× across domains, raw scores are reported alongside.

Results

Start with final performance. P²-MOPD had the highest average recovery rate at both sizes. On Qwen3-1.7B it hit 94.74% (three-seed average), well ahead of MOPD (TA init)'s 80.93% — that's the "94.7% vs. 80.9%" from earlier. On Qwen3-4B it was 94.85% vs. 83.13%.

But the bigger gap showed up in balance, not the average. Look at the recovery rate of the single most-lagging domain: on 4B, P²-MOPD reached 89.42% while MOPD (TA init) managed only 47.22%. On 1.7B the gap widens further, 88.01% vs. 32.03%. The most-lagging domain, which the baseline couldn't even half-rescue, was pulled nearly all the way up. That domain was usually medicine (MedQA) under both methods. MOPD (TA init) recovered the other three domains as fast as P²-MOPD did, yet left medicine, and only medicine, stranded behind.

Speed is a win too. P²-MOPD led from the very first checkpoint at 25 steps, and across all 24 seed-matched comparisons (two sizes × three seeds × four checkpoints) it led every single one. In particular, at 50 steps — the halfway point of the training budget — it had already surpassed MOPD (TA init)'s "final" average recovery rate in every seed pair. The claim that it "caught up in half the steps" points to exactly this comparison. The authors report that this advantage carries over into wall-clock time as well.

Why the difference arises

The authors looked at how much each model actually moved during training by projecting that movement onto the task vectors.

The observation: MOPD (TA init), starting from the merge, moved along most task-vector directions but barely budged toward the direction of the most-lagging expert (medicine). P²-MOPD, by contrast, moved much farther in precisely that direction — by an order of magnitude. And the per-domain recovery rates tracked this amount of movement almost exactly.

A caution on what this means: that direction is not one the model "can't express." As we saw, P²-MOPD expresses the same range of models as a plain student. The problem is that, within the given budget of 100 steps, adjusting only the student weights "doesn't get far enough" in that direction.

The authors' reading: the learnable mixing coefficients open up a direction the weights alone couldn't reach within budget, while the student weights handle everything beyond the expert directions. The movement figures back up the claim that the two knobs really do divide the work. An ablation points the same way: learn only the coefficients and confine the student inside the space the experts carve out, and performance drops sharply. You needed both the prior that is the experts and the freedom to leave that space.

There's still an open question. Why medicine, of all domains, lagged the most in recovery and also saw the largest improvement isn't fully explained by this projection analysis alone. The paper offers no measurement that would pin the cause on a specific factor such as the base–teacher distance, so it remains an open question for now.

Limitations and open questions

Start with the limitations the authors flag themselves. Because τ-bench was dropped from evaluation over the paid API, the full five-domain picture is outside this paper. And it didn't win on every domain. On FinQA (finance), which MOPD (TA init) had already nearly fully recovered, P²-MOPD was marginally lower in most pairs, and on IFBench (instruction following) the direction flipped from pair to pair with high variance. That the gains concentrate on "lifting the lagging domains" also means, flipped around, that you may give up a little on domains that are already doing well.

The experimental conditions are worth noting too. It was an idealized setup where all four experts derive from the same base, so the task vectors are cleanly defined. In reality you often have to merge experts built from different bases or different recipes, and whether task vectors stay this meaningful then is an open question. The training budget was also fixed at 100 steps, so how the gap between the two methods evolves under much longer training is hard to conclude from this experiment alone. And since you have to store the frozen experts' directions, how the memory burden grows as the number of experts increases is something to weigh for yourself before adopting it.

Where ONTLE might use this

Honestly, ONTLE isn't a service that directly trains and merges model parameters the way this paper does. ONTLE dispatches AI PMs. So the thing to carry over from this research isn't "how to merge parameters" but an operational lesson: "how to evaluate an integrated capability."

Picture a situation where you bundle several specialized capabilities into one (from here on this is hypothetical). Say you integrate one side that's strong at scheduling, one strong at risk identification, and one strong at report writing into a single "on-site PM" role. If you then watch only an average-performance dashboard, you can easily miss that one capability — say, risk identification, which had the least data — is lagging far behind. Because the average still looks fine. It's the exact trap this paper demonstrated with numbers.

So the principle to actually transfer to ONTLE's PM evaluation narrows to one thing. Don't look only at the average score; pull out a weak capability like risk identification and treat the "worst-capability" level as a first-class metric alongside it. Track, too, whether any capability actually regresses through the integration. Whether you're merging models or merging roles, the point of looking first at the "weak link buried in the average" holds just the same.

Three actions for practitioners

  1. Check the preconditions first. These results were obtained in a setup where every expert comes from the same base and the task vectors are clean. If you plan to merge experts from different bases, validate on a small scale first whether the task vectors are even meaningful before you commit.
  2. Measure the weak capability separately. Promote the "most-lagging domain," which hides behind the average score, to a first-class metric, and track at every checkpoint whether that capability is "eroding" below its starting point.
  3. Compare under the same budget. From the same starting point and the same step budget, change only the one variable you want to test and compare it A/B. The reason this paper's conclusion is trustworthy is precisely that it controlled MOPD (TA init) to differ by only one thing — whether the coefficients are learned.
To use P²-MOPD, do you have to keep the teacher (expert) models loaded in memory in full throughout training?

You need to separate the two roles an expert plays. First, for the "prior (parameter blending)" role, you only store the frozen "task vectors (directions)" as constants — not the entire expert networks. No gradient is backpropagated through these directions (Appendix B's memory mapping and per-module task-vector generation cover this parameter-blending implementation). Second, because P²-MOPD sits on top of on-policy distillation (MOPD), the "teacher" role of producing the supervision signal remains. At every step, the relevant domain teacher grades, token by token, the response the student generated, and this grading does run the teacher's forward pass at every step. What goes away is only the backward pass into the teacher, not the teacher's forward pass. In other words, the "only store the directions as constants" part is about parameter blending, while the teacher computation for grading is needed at every step. Concrete figures for storage and compute cost are covered in Appendix B of the paper.

Does "94.7% recovery rate" mean 94.7% accuracy?

No. Recovery rate is a relative metric that places the base model's score at 0 and the teacher's score at 100 and measures how far up in between you climbed. 94.7% means that on Qwen3-1.7B you closed 94.7% of the gap between the base and the teacher. The actual raw scores on the benchmarks are reported separately — for instance, the same model's raw MedQA score is 57.20%.

Compared to the closest prior work, IM-MOPD, is it actually better?

On 1.7B, IM-MOPD's final performance swung wildly from seed to seed depending on which domain its validation rule chose to merge, and its average recovery rate of 67.81% fell short of P²-MOPD's 94.74%. On 4B, IM-MOPD was also well balanced, but its average recovery rate only pulled ahead at 50 or 75 steps, whereas P²-MOPD was already ahead at 25 steps. That said, keep in mind the sampling limitation that both methods were measured with only three seeds.

References

  • Paper: P²-MOPD: Accelerating Multi-Teacher On-Policy Distillation via Parameter Priors
  • Authors: Sinuo Wang, Jiacheng Lu, Zeyu Zhang, Maojia Song, Rui Sun, Beidi Luan, Yutong Xie, Jing Li, Daxin Jiang, Qi Wu, Zuo Bai, et al. (StepFun · Adelaide University, et al.)
  • arXiv: https://arxiv.org/abs/2611.03953
  • HuggingFace: https://huggingface.co/papers/2611.03953