Model Merging in the Era of Large Language Models: Methods, Applications, and Future Directions
Organizations: Large Language Model Department, Tencent, China
Abstract
Model merging combines the parameters of multiple neural networks into a single model without additional training. As fine-tuned large language models (LLMs) proliferate, merging offers a computationally efficient alternative to ensembles and full retraining, enabling practitioners to compose specialized capabilities at minimal cost. This survey examines model merging in the LLM era through the FUSE taxonomy, organized along Foundations, Unification Strategies, Scenarios, and Ecosystem. We first establish the theoretical underpinnings of merging, including loss landscape geometry and mode connectivity, then systematically review the algorithmic space spanning weight averaging, task vector arithmetic, sparsification-enhanced methods, mixture-of-experts architectures, and evolutionary optimization. We further examine downstream applications across multi-task learning, safety alignment, domain specialization, and federated learning, and survey the supporting ecosystem of tools and evaluation benchmarks. Finally, we identify key open challenges and future directions, aiming to equip researchers and practitioners with a structured foundation for advancing model merging.
Figures & tables
| Model Family | Organization | Parameters | Year | Architecture | Key Features |
| LLaMA ( Touvron et al., 2023a ) | Meta | 7B–65B | 2023 | Decoder-only | RoPE, Pre-norm, SwiGLU |
| LLaMA-2 ( Touvron et al., 2023b ) | Meta | 7B–70B | 2023 | Decoder-only | GQA, Extended context |
| LLaMA-3 ( Team, 2024b ) | Meta | 8B–405B | 2024 | Decoder-only | 128K context, GQA |
| Mistral ( Jiang et al., 2023 ) | Mistral AI | 7B | 2023 | Decoder-only | Sliding window attention |
| Mixtral ( Jiang et al., 2024 ) | Mistral AI | 8 7B | 2024 | Sparse MoE | 8 experts, top-2 routing |
| Qwen ( Hu et al., 2023 ) | Alibaba | 1.8B–72B | 2023 | Decoder-only | Multilingual, Code |
| Theoretical Concept | Key Approach | Key Feature(s) | Limitations/Notes | Year |
|---|---|---|---|---|
| Loss Surface Geometry ( Singh et al., 2024 ) | Analyzes geometric properties of high-dimensional parameter space | Explains why weight interpolation yields functional networks | Complex landscapes make complete characterization difficult | 2024 |
| Linear Mode Connectivity ( Frankle et al., 2020 ) | Establishes that models from shared initialization are connected by low-loss linear paths | Central to explaining success of weight interpolation methods | Requires shared initialization for strong connectivity | 2020 |
| Permutation Invariance ( Ainsworth et al., 2023 ) | Exploits symmetry from reordering hidden units with weight adjustments | Multiple equivalent parameterizations for same function | Alignment required before merging independently trained models | 2023 |
| Weight Space Symmetries ( Ainsworth et al., 2023 ) | Analyzes fundamental symmetry properties affecting merging feasibility | Enables functionally equivalent network representations | Symmetry breaking needed for meaningful comparisons | 2023 |
| Mergeability Conditions ( Singh et al., 2024 ) | Establishes unified framework of prerequisites for successful merging | Predictive criteria for merge quality assessment | Conditions may vary across model architectures and tasks | 2024 |
| Shared Initialization Theory ( Frankle et al., 2020 ) | Explains role of common pretrained weights in enabling merging | Strong predictor of linear mode connectivity | Theoretical mechanisms not fully understood for LLMs | 2020 |
| Method | Key Approach | Key Feature(s) | Limitations/Notes | Year |
|---|---|---|---|---|
| Uniform Averaging (Model Soups) | Element-wise arithmetic mean: | Simple; no hyperparameters; treats weight space as Euclidean | Assumes equal parameter importance; suboptimal when models diverge substantially | 2022 |
| Fisher-Weighted Averaging | Importance weighting via Fisher Information matrix | Accounts for heterogeneous parameter importance; preserves critical task-specific weights | Computationally expensive; requires data for Fisher estimation | 2022 |
| Stochastic Weight Averaging (SWA) ( Izmailov et al., 2018 ) | Average checkpoints along optimization trajectory | Exploits temporal structure; finds flatter minima; improves generalization | Limited to single training run; requires checkpoint storage | 2018 |
| SLERP | Spherical linear interpolation on hypersphere | Preserves weight vector magnitude; avoids norm shrinkage in linear interpolation | Limited to pairwise merging; requires careful normalization | 2023 |
| Latent Space Merging | Interpolation in activation/latent space rather than weights | Bypasses weight space geometry issues; often outperforms weight averaging | May require data access; increased inference complexity | 2024 |
| Manifold-Aware Interpolation | Geodesic paths on parameter manifolds with permutation alignment | Respects non-Euclidean geometry; handles mode connectivity | Computationally intensive; requires solving alignment problem | 2023 |
| Method | Key Approach | Key Feature(s) | Limitations/Notes | Year |
|---|---|---|---|---|
| Task Arithmetic ( Ilharco et al., 2023 ) | Linear task vector combination | Defines task vectors as weight differences; enables addition, negation, scaling operations | Suffers from parameter interference and sign conflicts | 2023 |
| TIES-Merging ( Yadav et al., 2023 ) | Trim, Elect Sign, Merge | Resolves sign conflicts via magnitude-based trimming and democratic sign election | Requires hyperparameter tuning for sparsity threshold | 2023 |
| DARE | Drop and Rescale | Randomly drops delta parameters and rescales remaining ones to preserve expectations | Stochastic nature may introduce variance | 2023 |
| CABS | Conflict-Aware Balanced Sparsification | Explicitly identifies and eliminates conflicting parameters while maintaining balance | Limited to identical architectures | 2025 |
| Tangent Space Methods | Tangent Space Operations | Reformulates task arithmetic in tangent space for improved linearity assumptions | Increased mathematical complexity | 2024 |
| Method | Category | Data-Free | Interference Handling | Shared Init | Scalability | Year |
| Weight-Space Averaging (Section 3) | ||||||
| Simple Averaging | Static | ✓ | ✗ | ✓ | High | – |
| Model Soups ( Wortsman et al., 2022a ) | Greedy selection | ✓ | ✗ | ✓ | High | 2022 |
| Fisher Merging ( Matena and Raffel, 2022 ) | Importance-weighted | ✗ | Partial | ✓ | Medium | 2022 |
| RegMean ( Jin et al., 2023 ) | Linear regression | ✗ | Partial | ✓ | Medium | 2023 |
| SLERP | Geometric | ✓ | ✗ | ✓ | High | 2023 |
| Method | Expert Type | Memory | Router Training | Year | Key Innovation |
| Full-Model Expert Methods | |||||
| Switch Transformers ( Fedus et al., 2022 ) | Dense FFN | FFN | From scratch | 2022 | Simplified MoE with single expert routing |
| Branch-Train-MiX ( Sukhbaatar et al., 2024 ) | Full model | Post-hoc | 2024 | Branched training for expert specialization | |
| PHATGOOSE ( Muqeeth et al., 2024a ) | Full model | Per-expert | 2024 | Post-hoc gating without joint training | |
| LoRA-Based Expert Methods | |||||
| LoRAHub ( Huang et al., 2023 ) | LoRA adapter | LoRA | Few-shot | 2023 | Dynamic composition via gradient-free search |
| Search Paradigm | Sample Efficiency | Parallelizability | Variable Handling | Best Use Case |
|---|---|---|---|---|
| Evolutionary Algorithms | Low | High | Excellent | Novel layer architectures |
| Bayesian Optimization | High | Low | Limited | Fine-tuning coefficients |
| Random Search | Very Low | Very High | Good | Baseline benchmarking |
| Application Scenario | Key Approach | Key Feature(s) | Limitations/Notes | Year |
|---|---|---|---|---|
| Multi-Task Merging | Synthesize specialized fine-tuned models into unified system | Enhanced multi-task generalization; computationally efficient | Potential task interference; requires careful weight balancing | 2023 |
| Multilingual Merging | Combine language-specific models | Cross-lingual capability transfer; unified multilingual system | Language imbalance; varying quality across languages | 2023 |
| RLHF Alignment | Merge preference-aligned models trained via reinforcement learning | Improved human value alignment; safety enhancement | High computational cost; reward hacking risks | 2022 |
| DPO Alignment | Direct preference optimization without reward modeling | Simplified training pipeline; stable optimization | Limited to pairwise preferences; distribution shift issues | 2023 |
| Federated Averaging | Aggregate locally fine-tuned models without data sharing | Privacy preservation; distributed computation | Communication overhead; non-IID data challenges | 2017 |
| Multi-Benchmark Evaluation | Simultaneous assessment across diverse task suites | Capability retention measurement; interference quantification | Benchmark selection bias; limited emergent property capture | 2024 |
Language Model Merging
Language model merging combines capabilities from multiple models or adapters by composing their weights, updates, or outputs.
See all 106 papers