A Systematic Study of In-the-Wild Model Merging for Large Language Models

TL;DR

Task Arithmetic is the only method that reliably improves LLM performance in 'in-the-wild' settings.

cs.CL 🔴 Advanced 2025-11-26 7 views
Oğuz Kağan Hitit Leander Girrbach Zeynep Akata
model merging large language models Task Arithmetic performance enhancement in-the-wild

Key Findings

Methodology

The paper systematically evaluates six model merging methods, including Task Arithmetic, TIES-Merging, and Model Stock, applied to four open-weight LLMs (e.g., Llama3 and Qwen3) and their 12 fine-tuned checkpoints. Performance improvements over base models were assessed using 16 standard benchmarks.

Key Results

  • Task Arithmetic consistently improves base model performance when merging multiple expert models, achieving a 100% success rate and up to 13.07% improvement on the Llama 3B model.
  • Model Stock generally fails to significantly outperform the base model, performing similarly to the base model.
  • Despite its complexity, TIES-Merging does not surpass Task Arithmetic and shows instability in some cases.

Significance

The study reveals that current merging techniques fail to extract useful weight updates from heterogeneous and potentially conflicting model versions. This finding motivates the design of LLM-specific merging algorithms and merging-aware fine-tuning methods.

Technical Contribution

The paper is the first to validate Task Arithmetic's effectiveness in 'in-the-wild' settings on a large scale, highlighting the limitations of existing merging methods and the need for more sophisticated algorithms.

Novelty

This study is the first to systematically evaluate performance in merging heterogeneous expert models, particularly demonstrating Task Arithmetic's unique advantages in large language models.

Limitations

  • Current merging methods fail to effectively extract useful weight updates from heterogeneous and conflicting model versions.
  • Performance gains from Task Arithmetic are limited, generally not exceeding 1%.
  • TIES-Merging shows instability at high merge counts.

Future Work

Future research directions include developing LLM-specific merging algorithms and merging-aware fine-tuning methods to better leverage the capabilities of heterogeneous model versions.

AI Executive Summary

In the realm of large language models, model merging techniques have gained attention for their potential to enhance performance without additional training. However, the advantages of merging experts trained on overlapping or conflicting objectives remain unclear. This paper systematically evaluates six merging methods on four open-weight LLMs, finding that Task Arithmetic is the only method that reliably improves performance in 'in-the-wild' settings. While other methods fail to significantly outperform the base model, the study highlights the necessity of designing LLM-specific merging algorithms. Future research should focus on developing more sophisticated merging methods to fully exploit the potential of heterogeneous model versions.

Deep Analysis

Background

Model merging techniques have recently gained attention for their potential to enhance model performance without additional training. In the field of large language models (LLMs), merging multiple fine-tuned checkpoints to improve the base model's capabilities is seen as an effective strategy. However, when these checkpoints have overlapping or conflicting objectives, the effectiveness of merging remains unclear.

Core Problem

The core problem is whether existing merging methods can effectively improve model performance when the merged expert models have overlapping or conflicting objectives. This issue is significant because many organizations accumulate numerous fine-tuned checkpoints, but these checkpoints do not always harmonize towards a common improvement direction.

Innovation

The innovation of this paper lies in systematically evaluating performance in merging heterogeneous expert models, particularly demonstrating Task Arithmetic's unique advantages in large language models. The study reveals the limitations of existing merging methods and highlights the need for more sophisticated algorithms.

Methodology

  • �� Evaluate six merging methods, including Task Arithmetic, TIES-Merging, and Model Stock.
  • �� Conduct experiments on four open-weight LLMs (e.g., Llama3 and Qwen3).
  • �� Assess performance improvements over base models using 16 standard benchmarks.

Experiments

The experimental design includes applying six merging methods on four open-weight LLMs, assessing their performance on 16 standard benchmarks. The models used include Llama3 and Qwen3, with fine-tuned checkpoints covering various objectives and domains.

Results

Results show that Task Arithmetic consistently improves base model performance when merging multiple expert models, achieving a 100% success rate and up to 13.07% improvement on the Llama 3B model. Other methods fail to significantly outperform the base model.

Applications

Applications of model merging techniques include building multi-task models, mitigating catastrophic forgetting during fine-tuning and continual learning, and enhancing cross-domain generalization capabilities.

Limitations & Outlook

Current merging methods fail to effectively extract useful weight updates from heterogeneous and conflicting model versions. Performance gains from Task Arithmetic are limited, generally not exceeding 1%. TIES-Merging shows instability at high merge counts.

Plain Language Accessible to non-experts

Imagine you're in a kitchen, cooking a dish. You have various spices (models), each with a different flavor (task). Some spices taste similar, while others are completely different. You want to create a new dish (merged model) that tastes better than any single spice. Task Arithmetic is like mixing these spices in certain proportions to create a new flavor. Sometimes the mix doesn't turn out as expected, but sometimes it makes the dish tastier. This is the basic idea of model merging: combining different fine-tuned models to try to enhance overall performance.

ELI14 Explained like you're 14

Imagine you're playing a game with many characters, each having different skills. Some characters have similar skills, while others are completely different. You want to create a super character, combining all the characters' skills. Task Arithmetic is like mixing these skills in certain proportions to create a stronger character. Sometimes the result isn't as expected, but sometimes it helps you perform better in the game. This is the basic idea of model merging: combining different fine-tuned models to try to enhance overall performance.

Glossary

Task Arithmetic

A model merging method that combines models by performing vector addition and subtraction in weight space.

Used to merge multiple fine-tuned checkpoints to enhance base model performance.

TIES-Merging

A merging method that considers conflicts in weight space by trimming and selecting consistent updates to reduce interference.

Used to reduce conflicts when merging heterogeneous models.

Model Stock

A method that moves merged weights toward the geometric center of fine-tuned checkpoints through geometric interpolation.

Used to merge multiple fine-tuned checkpoints.

Large Language Model (LLM)

A language model with a large number of parameters capable of handling complex natural language tasks.

Type of model evaluated in this paper.

Benchmark

A standardized set of tests used to evaluate model performance.

Used to assess performance improvements of merged models.

Open Questions Unanswered questions from this research

  • 1 How to effectively extract useful weight updates from heterogeneous and conflicting model versions remains an open question.
  • 2 The instability of existing methods at high merge counts requires further investigation.

Applications

Immediate Applications

Multi-task Model Building

By merging fine-tuned models for different tasks, stronger multi-task models can be built.

Long-term Vision

Enhancing Cross-domain Generalization

Using model merging techniques to improve model generalization across different domains.

Abstract

Model merging combines multiple fine-tuned checkpoints into a single model without additional training, offering an attractive approach to reusing models and efficiently improving performance. However, it remains unclear whether the advantages reported for settings where all merged experts have distinct roles and are tuned on clearly separated tasks also hold in settings where the merged experts do not have clearly distinct roles, but are trained on overlapping or even conflicting objectives. To evaluate this setting, we present a large-scale, systematic evaluation of "in-the-wild" model merging of heterogeneous experts, that may have been trained on overlapping or conflicting objectives. Concretely, we evaluate six state-of-the-art merging methods, including recent subspace methods, across four open-weight LLMs, twelve fine-tuned checkpoints per base model, and sixteen standard LLM benchmarks. Evaluating through standardized benchmarks, we measure both the probability that a model merged from a heterogeneous set of experts outperforms the base model and we measure relative gains over the best individual checkpoint. Our results show that the oldest and simplest method, Task Arithmetic, is the only approach that reliably yields performance gains on LLMs in this "in-the-wild" setting. Other interference-aware and subspace merging methods typically do not result in notable improvements over the base model. Our findings indicate that current merging techniques mostly do not enable extracting useful weight updates from heterogeneous and potentially conflicting versions. This motivates the design of LLM-specific merging algorithms and merging-aware fine-tuning methods.

cs.CL cs.LG