firehose> #llmops

Model merging combines the weights of several models into one — as opposed to ensembling, which combines their outputs. Because the result is a single model, it captures the benefit of multiple specialists without the higher inference cost of running several models at once. If two models excel at different aspects of the same task, merging can produce one model that beats both. Approaches range in sophistication: summing (adding the constituent models' weight values — the most common), layer stacking (taking different layers from different models, also called franken-merging), and concatenation (combining parameters — less recommended, since it doesn't reduce memory versus keeping the models separate). Merging can often be done without GPUs, can improve performance while shrinking memory footprint, suits on-device deployment, and can support federated learning where devices train on separate data.

Claims


Linked from