AIWiki
Malaysia
Back to all articles
AI Foundationsmodel mergingweight averagingtask arithmetic

Model Merging

4 min readUpdated October 2026
Model Merging
Type
Model combination technique
Training required
None — no data, forward passes or gradients
Common methods
Weight averaging, SLERP, task arithmetic, TIES, DARE
Typical tooling
mergekit and similar weight-space utilities
Emerged
2022
Related
Fine-tuning, LoRA, parameter-efficient fine-tuning, model soup
Model merging is a technique for combining the parameters of two or more neural networks — usually models fine-tuned from the same base — into a single model, using arithmetic on their weights rather than any form of training.[1] A merged model can inherit several specialised behaviours at once: a coding assistant merged with a reasoning-tuned variant and a multilingual variant, for example, may perform well across all three without a further fine-tuning run.

History

The approach became prominent with model soup, published in 2022, which averaged the weights of models saved at different points during training and of models trained with different hyperparameters, improving accuracy without extra inference cost.[2] Later work extended averaging to models fine-tuned on different tasks, introducing the vocabulary of task arithmetic — treating the difference between a fine-tuned model and its base as a vector that can be added to another model — and algorithms designed to resolve the conflicts that arise when those vectors disagree.[3]

Key Concepts and Technology

Merging methods form a ladder of complexity:

  • Uniform weight averaging takes the mean of corresponding parameters across models. It requires that all models share the same base checkpoint and architecture.
  • SLERP (spherical linear interpolation) blends weights along a spherical path rather than a straight line, preserving magnitude better when combining two models.
  • Task arithmetic adds scaled "task vectors" — the delta between a fine-tuned model and its base — to create a multi-task model.[3]
  • TIES-Merging addresses sign interference, where two models push the same parameter in opposite directions, by keeping only the majority sign and resolving ties before merging.
  • DARE (drop-and-rescale) randomly drops a large fraction of the delta parameters and rescales the remainder, shrinking interference and enabling many models to be merged at once.[1][4]
Practically, merging is executed with tools such as mergekit, which stream models layer by layer so that models too large to fit in memory simultaneously can be combined on a single machine. Because no training occurs, merging requires no dataset, no gradients and only seconds or minutes of compute for models that would take thousands of GPU-hours to fine-tune.[1]

Its limits matter: merged models can underperform a well-chosen single model when the specialisations conflict, gains tend to shrink as more models are added, and all participants must originate from a compatible base — merging models with incompatible licences also creates legal risk that must be checked before distribution.

Applications

Merging is used to build generalist models from specialist ones, to fold evaluation-driven improvements from several checkpoints into a production release, to combine safety-tuned and capability-tuned variants, and to produce compact community models that stack many LoRA fine-tunes. It is particularly popular in the open-weight ecosystem, where practitioners redistribute merged checkpoints on public model hubs.

>See Also

🇲🇾Malaysian Context

🇲🇾 For Malaysian AI developers, merging is one of the few techniques that delivers measurable model improvement without owning GPUs. Organisations running local Bahasa Melayu and multilingual models — such as ILMU, Mesolitica and Mallam — can merge a base model with separately trained domain specialists for law, finance or public-sector text, and arrive at a single deployment without a further training budget, which aligns with the country's constrained compute capacity.

It also has a governance appeal: a merge is deterministic and auditable, so teams can document exactly which parent models and scaling factors produced a release — useful for model cards and for risk assessments under Malaysia's AI governance framework and ISO/IEC 42001-based controls. Institutions supervised by Bank Negara Malaysia can therefore demonstrate provenance for a merged model more easily than for an opaque training run. Skills providers, MDEC's talent programmes and HRD Corp-funded courses can teach merging in an afternoon on a laptop, making it a realistic upskilling topic for engineers in small firms and universities.

References

  1. ↑NVIDIA Technical Blog. An Introduction to Model Merging for LLMs. https://developer.nvidia.com/blog/an-introduction-to-model-merging-for-llms/
  2. ↑Wortsman, M. et al. (2022). Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. https://arxiv.org/abs/2203.05482
  3. ↑Yadav, P. et al. A Review of Model Merging Approaches. https://arxiv.org/html/2503.08998v1
  4. ↑Wolfe, C. R. Model Merging: A Survey. https://cameronrwolfe.substack.com/p/model-merging