Mixture-Trained Merging for Unified Multi-Objective Models

SeongHyeon Kim, Chaeyun Jang, Seungyoo Lee, Jiyeon Ham, Yunju Bak, Boseop Kim, Juho LeeNeurIPS 2026

TL;DR

When you try to combine separately trained specialist AI models by simply averaging their weights, they often clash—losing domain skills or collapsing distinct behaviors (like concise vs. step-by-step "thinking" modes) into a uniform mush. Mixture-Trained Merging (MTM) fixes this by training each specialist on a data mixture heavily biased toward its target skill rather than a pure, isolated dataset. By giving specialists a taste of each other's worlds during training, MTM keeps them geometrically compatible in parameter space so they can seamlessly merge into a single, multi-talented model.

What Problem Does This Paper Address?

Modern LLMs are expected to wear many hats: math whiz, code generator, instruction follower, and switchable "thinker" (giving quick answers on demand, or long Chain-of-Thought reasoning when prompted).

Typically, engineers build these unified models in one of two ways, and both have headaches:

  1. Single-trajectory training: Throw all your data into one giant pot and fine-tune a single model. Because math, code, and instruction-following saturate at completely different speeds, getting the recipe right requires agonizing, expensive hyperparameter tuning to prevent tasks from overwriting one another.
  2. Weight-space merging: Train separate specialist branches in parallel and average their weights at the end. It’s wonderfully modular, except for one catch: merging pure, single-objective ("hard") experts often fails spectacularly.

The authors show that independently trained experts drift into distant, incompatible regions of parameter space. Linearly interpolating between them walks straight out of the low-loss basin. Consequently, merging a pure code expert with a pure math expert tanks math accuracy, and merging a concise no-think expert with a verbose think expert causes mode collapse—the merged model ignores prompts and defaults to whichever behavior had the slightly higher merge weight.

Figure 2: Domain-expert merging on Qwen3- 4B-Base. Following Section 5, Hard branches are trained on single domains, whereas Soft branches use complementary Math/Code mix- tures with a (0.7, 0.3) split.

Methods

Instead of inventing a fancier post-hoc rule to fix broken merges, the authors argue that mergeability must be baked into the branches during training.

Enter Mixture-Trained Merging (MTM):

  • Soft Experts: Instead of training branch $k$ purely on domain $k$, MTM trains it on a domain-biased mixture (e.g., mostly math, with a pinch of code and instruction data). Exposure to secondary objectives anchors the branches in a shared region of weight space while preserving specialization.
  • Merge-as-a-Proxy Search: How do you find the right data mix for each branch without running dozens of expensive training ablations? MTM borrows a neat first-order mathematical insight (from prior work MergeMix): evaluating a linear weight merge of existing branches with coefficients $\alpha$ closely approximates training a new model from scratch on data mixture $\alpha$.
  • Multi-Objective Bayesian Optimization (MOBO): Rather than brute-forcing a grid search over merge weights (which scales poorly as tasks grow), MTM uses MOBO (specifically qNEHVI) to efficiently map out the Pareto frontier of merged models.
  • Iterative Realignment (MTM-Multi): Rather than doing one long search pass and re-training from scratch (MTM-Single), MTM-Multi splits the training budget into short rounds. After each round, MOBO evaluates candidate merges to do two things: (1) pick the best overall merge to become the new shared base model for the next round (preventing parameter drift), and (2) pick constrained, domain-favoring merge weights to serve as the new data mixture ratios for the next round's branches.

Datasets

No new benchmarks are introduced; the authors construct training sets and evaluate on established open benchmarks:

  • Training Data: Sampled 10K-example subsets from Dolci-Instruct-SFT (for math, code, instruction following, and no-think responses) and Dolci-Think-SFT-32B (for think trajectories), distilled using teacher models from the Qwen3 and OLMo-3 families.
  • Evaluation Benchmarks: GSM8K and MATH-500 (math), MBPP+ and LiveCodeBench / LCB (coding), and IFEval (instruction following, plus token-length tracking to measure behavioral separation in hybrid think/no-think modes).

Key Insights and Ideas

  • Mergeability is a property of the branches, not just the merger: Post-hoc tricks like sparsifying weights (DARE, TIES) can't save experts that have drifted into fundamentally incompatible loss basins. Visualizing the 3-way merge simplex reveals that soft, mixture-trained branches create a wide, flat plateau of high accuracy across interior merge ratios, whereas hard experts only work at the extreme corners.
  • Preventing behavioral mode collapse: Merging opposing generation styles (think vs. no-think) is qualitatively harder than merging knowledge domains. Mixture training teaches each branch to respect the mode-switching prompt signal rather than unconditionally emitting short or long text.
Hard-expert merges lose prompt control and collapse generation lengths together, while Soft mixture-trained branches preserve distinct short 'no-think' and long 'think' modes.
  • Recipes transfer across architectures: The optimal branch mixtures and merge weights discovered on a 4B model (Qwen3-4B-Base) transferred zero-shot to a much smaller model from a different generation (Qwen2.5-0.5B), beating uniform baselines without re-running the search.

Key Results

Evaluated on Qwen3-4B-Base and OLMo-7B across five benchmarks:

  • Multi-Domain: MTM-Multi achieves the highest average pass@1 accuracy on both Qwen3-4B-Base (69.74%) and OLMo-7B (64.10%), outperforming Linear Merge (68.68% / 59.92%), TIES, DARE-TIES, SCE, and single-trajectory MergeMix (67.78% / 63.21%). Gains are standout on interference-heavy instruction following (IFEval), jumping from 77.26% (Linear Merge) to 84.16% on Qwen3-4B.
  • Training Efficiency: Because MTM-Multi reuses branches across short rounds rather than discarding search models, it uses 0.70x–0.75x the effective training path budget of standard single-expert SFT (compared to 2.0x for MergeMix / MTM-Single), and branches within each round train in parallel.
  • Hybrid Mode Control: On OLMo-7B, Linear Merge completely collapses think and no-think modes into nearly identical token lengths. MTM preserves crisp separation between concise and CoT modes while shifting the efficiency frontier—using up to 33% fewer tokens in no-think mode on MATH-500 while matching or beating baseline accuracy.

Limitations and Future Work

  • SFT-only scope: The experiments focus strictly on Supervised Fine-Tuning (SFT). Extending MTM to post-Reinforcement Learning (RL) checkpoints—where weight drift and formatting sensitivity are often even more extreme—remains untested.
  • Scaling to many objectives: While tested primarily on 2–3 objectives (with appendix ablations up to 7 domains), scaling MOBO search and mixture interactions to much larger sets of heterogeneous capabilities is left for future work.

Summary updated

Abstract

Unified language models are increasingly expected to combine heterogeneous capabilities, such as mathematics, code, instruction following, and controllable thinking behavior, within a single set of parameters. A common solution is sequential post-training on multiple objectives, but this entangles all objectives along one optimization trajectory and makes the final model highly sensitive to training order, data ratios, schedules, and stopping criteria. Weight-space merging offers a modular alternative, but naive merging of single-objective experts often fails: domain capabilities degrade sharply, or think/non-think modes collapse into one dominant behavior. We attribute both failures to incompatible weight-space geometry: experts trained on isolated objectives drift to distant regions of parameter space, placing their interpolations outside any shared low-loss basin. We propose Mixture-Trained Merging (MTM), which trains each branch on an objective-biased data mixture rather than a single objective, exposing it to cross-objective interactions and making branches compatible at merge time. MTM uses merged-model evaluations as a low-cost signal for selecting branch mixtures, avoiding expensive data-mixture ablations. The procedure is iterative: each round promotes the base model using globally selected merge coefficients and refines each branch mixture using domain-preferred coefficients under constraints that preserve other objectives. To scale beyond simplex grid search, MTM uses qNEHVI-based multi-objective Bayesian optimization. Across code, mathematics, instruction following, and think/non-think control, MTM outperforms naive merging and preserves behavioral separation where single-objective merging collapses, suggesting that effective unified models require branches trained to be mergeable.
BibTeX
@inproceedings{kim2026mixture,
  author = {SeongHyeon Kim and Chaeyun Jang and Seungyoo Lee and Jiyeon Ham and Yunju Bak and Boseop Kim and Juho Lee},
  title = {{Mixture-Trained Merging for Unified Multi-Objective Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=8Ljh5OkXTi},
}
Figure