Expert Merging: Model Merging with Unsupervised Expert Alignment and Importance-Guided Layer Chunking

Dengming Zhang, Xiaowen Ma, Zhen-Liang Ni, Zhenkai Wu, Han Shu, Xin Jiang, Xinghao Chen

TL;DR

Expert Merging is a new, highly efficient technique for combining multiple domain-specific AI models into a single, multi-capable powerhouse. By using just a handful of unlabeled examples to align the merged model's internal states and predictions with the original experts—and smartly allocating more merging capacity to the most important neural network layers—it outperforms existing merging methods and can even beat supervised multi-task training.

What Problem Does This Paper Address?

Large Language Models (LLMs) and Multimodal LLMs (MLLMs) are great generalists, but they often need Supervised Fine-Tuning (SFT) to become true experts in specific domains like math, coding, or visual grounding. However, hosting a dozen different specialized models is an engineering and financial nightmare.

Model merging offers a cheat code: mathematically combine the weights of these different experts into one unified model. But current merging methods have major flaws:

  1. Training-free methods (like Task Arithmetic) rely on rigid, hand-tuned coefficients and just mash weights together, ignoring how the model actually behaves on real tasks.
  2. Training-based methods try to learn the best way to combine weights, but they usually focus purely on parameter-space alignment (or simple entropy minimization) and treat every layer of the neural network exactly the same.

In reality, some layers do much more heavy lifting than others. Treating them uniformly leaves performance on the table.

Methods

The authors introduce a two-stage, "training-light" approach that requires no labeled data—just 5 to 10 unlabeled examples per domain.

Evolution of model merging techniques from Task Vectors to Expert Merging++
  1. Expert Merging (Behavioral Alignment): Instead of guessing how to weight each expert, the method learns layer-wise coefficients. It freezes the base model and the experts, passes the unlabeled data through them, and optimizes the coefficients so that the merged model's hidden states and final predictions (logits) match the experts. It also includes a regularization term to keep the coefficients from drifting too far and causing catastrophic forgetting.
  2. Expert Merging++ (Importance-Guided Chunking): This is the major upgrade. The authors calculate an "importance score" for every layer based on parameter counts, task-vector magnitudes, and the coefficients learned in step one. For highly important layers, they split the parameters into smaller "chunks" and give each chunk its own learnable coefficient. Unimportant layers get fewer (or zero) trainable chunks, keeping the process lightweight while giving the model fine-grained control exactly where it needs it.

Datasets

The authors evaluated their method across both text-only LLMs and vision-language MLLMs:

  • LLM Backbone (Mistral-7B): Evaluated on AlpacaEval (Chat/Instruction Following), GSM8K & MATH (Mathematical Reasoning), and HumanEval & MBPP (Code Generation).
  • MLLM Backbones (InternVL2.5-1B and Qwen2-VL-7B): Evaluated across five capabilities: VQA (VizWiz, GQA), Geometry (MathVista, MATH-Vision), Chart Understanding (ChartQA), OCR (TextVQA, OCRVQA), and Visual Grounding (RefCOCO, RefCOCO+, RefCOCOg).

Key Insights and Ideas

  • Behavior over parameters: Matching the actual outputs and internal representations (behavior) is far more effective than just trying to mathematically resolve conflicting parameter weights. Logit alignment ensures the model makes the right choices, while hidden-state alignment keeps the internal logic robust.
  • Not all layers matter equally: The authors' layer-importance analysis revealed a striking pattern: late-stage MLP (Multilayer Perceptron) blocks are the real MVPs for domain-specific tasks. Attention layers and early blocks matter significantly less.
  • Extreme sample efficiency: You don't need a massive dataset to align models. The authors found that performance saturates with just 5 to 10 unlabeled examples per task. This tiny sample is enough to capture the "signature" of an expert.
  • Targeted capacity wins: Indiscriminately adding learnable coefficients to all layers actually hurts performance. You have to put the capacity where it counts. Importance-guided chunking boosts performance without bloating the parameter count.

Key Results

The method was tested against strong baselines, including Task Arithmetic, TIES, DARE, and state-of-the-art training-based methods like WUDI v2 and AdaMerging.

  • InternVL2.5: Expert Merging++ achieved a 58.45 average score, beating the best prior method (WUDI v2) by +1.49 points. Remarkably, it even outperformed supervised Mixture Training (training on all datasets combined) by +0.79 points, with massive gains in visual grounding.
  • Qwen2-VL: Hit a 63.63 average, again beating both prior merging methods (+1.00 over WUDI v2) and supervised multi-task training (+1.40).
  • Mistral-7B: Scored 48.71 on average, crushing WUDI v2 by +3.23 points. The chunking strategy specifically caused a massive +7.3 point jump in HumanEval (code generation) scores compared to the base Expert Merging.

Limitations and Future Work

  • Homogeneous Architectures Only: Currently, this method requires all expert models to share the exact same base architecture (e.g., all must be fine-tuned from the same Mistral-7B base). The authors explicitly note that exploring merging solutions for heterogeneous models (different architectures or sizes) is a direction for future work.
  • Compute Overhead: While "training-light" and highly sample-efficient, the calibration phase still requires holding the base model, the merged model, and all expert models in memory simultaneously to compute the alignment losses, which requires decent GPU VRAM compared to purely mathematical, offline merging techniques.

Summary updated

BibTeX
@inproceedings{zhang2026expert,
  author = {Dengming Zhang and Xiaowen Ma and Zhen-Liang Ni and Zhenkai Wu and Han Shu and Xin Jiang and Xinghao Chen},
  title = {{Expert Merging: Model Merging with Unsupervised Expert Alignment and Importance-Guided Layer Chunking}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Awf3ebMpKw},
}
Figure