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

Manuscript Offprint

arXiv:2610.26525

A Fisher-Geometric View of Multi-Teacher On-Policy Distillation

Liu Kaiyuan, Zhuang Ziyuan, Ma Haoxuan, Gu Yannian, Song Mingfei, Weng Rongxiang, Ye Jieping

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Consolidating specialized foundation models into a unified generalist is a central goal of post-training. Two approaches are in common use: model merging, which is fast but treated as a heuristic, and multi-teacher on-policy distillation, which matches distributions but demands heavy rollout compute and suffers from cross-task gradient conflict. We show that the two are one objective seen at different orders. Within a shared basin of homologous specialists, the multi-teacher on-policy distillation objective is, to second order, exactly the Fisher-merging objective. Its minimizer is therefore the Fisher merge, a classic model-merging method given by a closed-form combination of the specialists, so merging is optimal, to second order, as a closed-form stage of distillation. Building on this identification, we propose Residual-Governed Branch-and-Merge (RGBM), a two-phase consolidation procedure. Concretely, a full-parameter Fisher merge is intractable on foundation models, so Phase 1 restricts the merge to the task-vector subspace. Extending tangent-space analyses of merging, we show that the same coefficients that mix task vectors also mix implicit rewards, which lets a residual program on unlabelled prompts solve for them. The program minimizes the worst per-domain residual and reports its energy-normalized values as the domain residual spectrum. Phase 2 lets this spectrum govern what may be added: RGBM passivates domains with low normalized residuals, trains isolated branches only for domains above the spectral gap, and writes back the admitted updates with calibrated shrinkage. On two open-source consolidation suites, the Phase 1 merge alone matches or outperforms fully trained multi-teacher distillation, and RGBM improves on it further with zero extra joint-training steps, whereas every un-gated write-back, including continued joint distillation from the merge, falls below it.

1 INTRODUCTION

Post-training of large language models (LLMs) increasingly produces homologous domain specialists—fine-tuned from a common base via reinforcement learning (RL) on distinct reasoning modalities (Agarwal et al., 2024; Shao et al., 2024; DeepSeek-AI, 2025; Team, 2025a; Gao et al., 2026; Liu et al., 2025a). Serving an ensemble of specialists multiplies memory and latency, making consolidation into a single generalist essential.

Two paradigms are in common use, each with its own shortcomings. Weight-space merging (Ilharco et al., 2023; Yadav et al., 2023; Yu et al., 2024; Lu et al., 2024; Yang et al., 2026a) adds to the base model a weighted sum of the specialists' weight updates (their task vectors) at zero training cost, but the weights are set by hand and, once the merge is formed, nothing tells which domain it failed to recover or whether the chosen weights still combine the specialists faithfully. Multi-teacher on-policy distillation (Agarwal et al., 2024; Gao et al., 2026; Sun et al., 2026; Yang et al., 2026b; Chen et al., 2026) (MOPD) instead trains a student to match each specialist (its teacher) on the student's own generations, which repairs what merging misses, but at the cost of rollouts on every domain and with no control over which domains its shared-weight gradients overwrite. Neither paradigm can

∗^{*}Project leader.

†^{\dagger}Corresponding author.

Figure

Figure 1: Merge before you distill (schematic). (a) Weight space: the dashed triangle is the task subspace spanned by the Math, Code, and IF task vectors. A Minimax projection on unlabelled prompts yields the zero-training merge θ0⋆=Wref+Tα⋆\theta_0^\star = W_{\text{ref}} + \mathcal{T}\alpha^\star, where T\mathcal{T} stacks those task vectors, together with the per-domain residuals Ld\mathcal{L}_d (red segments). Normalizing these residuals by domain reward energy gives the domain residual spectrum. (b) Capability space: joint distillation from θ0⋆\theta_0^\star can leave the basin (dashed path). The normalized spectrum passivates Code and IF; RGBM writes back only the admitted Math branch, shrunk by γ⋆\gamma^\star (the largest factor that still passes the linearity test). See Section 3 for details.

answer the question the other one raises: what a merge has already recovered, and where distillation is still needed without harming what is already correct. Answering it requires relating the two, which is what this paper does.

Our starting point is that these paradigms optimize the same objective at different orders of approximation (Section 2). Expanded to second order around the specialists in a shared basin, the distillation objective is exactly the Fisher-merging objective of Matena & Raffel (2022), whose minimizer is a weighted average of the specialists with Fisher-information weights; merging is therefore not an alternative to distillation but is optimal, to second order, as its closed-form stage. A full-parameter Fisher merge is intractable on foundation models, so we restrict the merge to the task-vector subspace (Phase 1, described next). Extending tangent-space analyses of merging, we show that, to first order, the same coefficients that mix the task vectors also mix the specialists' implicit rewards (the log-probability ratios between each specialist and the base), which lets us obtain them by minimizing the worst reward-space residual on unlabelled prompts. After solving, reward-energy normalization measures the relative share left unrecovered in each domain. The fidelity of this first-order fit provides an intrinsic, label-free test of whether a checkpoint still lies where the expansion holds.

Grounded in this framework, we propose Residual-Governed Branch-and-Merge (RGBM) as shown in Figure 1. In Phase 1, RGBM determines the combination weights by minimizing the worst per-domain residual via a small convex program on unlabelled prompts, yielding the zero-training merged model. It then normalizes the residuals by their domain reward energies to form the domain residual spectrum. This spectrum directly dictates what, if anything, should follow the merge. Standard joint distillation tends to degrade the merged model because gradients from domains with low normalized residuals corrupt shared weights. To prevent this interference, Phase 2 leaves those domains untouched and trains isolated branches only for domains above a closed-form spectral gap. Each admitted branch update is then written back, scaled by the largest factor that passes the linearity test.

Empirically, we validate our framework across two multi-teacher consolidation benchmarks: Open-MOPD (Gao et al., 2026) (SmolLM3-3B with Math, Code, and Instruction Following specialists) and G-OPD (Yang et al., 2026b) (Qwen3-4B with Math and Code specialists). On Open-MOPD, the zero-training Phase 1 merge alone achieves a Macro average of 32.52, outperforming the official 600-step distilled student (30.93) without requiring any rollout compute. By passivating domains with low normalized residuals and training an isolated branch solely for Math, Phase 2 further elevates the Macro score to 33.03 with zero joint-training steps. Crucially, un-gated baselines such as TIES (Yadav et al., 2023), DARE (Yu et al., 2024), and continued joint distillation all fall below the merge, confirming that their updates can corrupt shared parameters. The same procedure transfers seamlessly to G-OPD, where RGBM surpasses the strongest trained baseline, demonstrating the generality of residual-governed consolidation.

Contributions. (1) Theoretical Bridge: we establish a connection between multi-teacher on-policy distillation and model merging, showing that the MOPD objective coincides to second order with Fisher merging (Matena & Raffel, 2022), and derive an implicit-reward homomorphism that yields a label-free linear basin diagnostic. (2) Two-Phase RGBM Framework: we propose Residual-Governed Branch-and-Merge (RGBM). Phase 1 computes the zero-training merge from a residual program on unlabelled prompts and forms an energy-normalized spectrum for cross-domain comparison. Phase 2 passivates domains below the spectral gap, trains isolated branches exclusively for domains above it, and writes admitted updates back via calibrated shrinkage. (3) Empirical Validation and Protection Mechanism: across two model families (SmolLM3-3B and Qwen3-4B), Phase 1 alone matches or beats fully trained distillation, and Phase 2 advances performance further with zero joint-training steps. Crucially, un-gated write-backs fall below the merge, confirming that RGBM succeeds by shielding domains below the normalized spectral gap from cross-task interference.

References (2)

  • The Minimax weights are $\alpha^{\star} = [0.680, 0.885]^{\top}$, achieving Math 24.82 and IF 48.95 (Macro 36.89)
  • For $K = 3$ specialists and a 3B model, scoring $N = 6144$ sequences requires $O(NK)$ forward passes without gradient computation or backward graph storage, taking < 15 minutes on 8 GPUs (< 2 GPU·h)