NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Parameter Competition Balancing for Model Merging

Guodong Du, Junlin Lee, Jing Li, Runhua Jiang, Yifei Guo, Shuyang Yu, Hanting Liu, Sim Kuan Goh, Ho-Kin Tang, Daojing He, Min Zhang

Abstract

Model merging provides a computationally efficient way to combine specialized models into a single multi-task system without the need for joint training or access to original datasets. However, the performance of merged models is often hampered by parameter competition, where conflicting updates across different tasks lead to interference. We introduce PCB-MERGING (Parameter Competition Balancing), a novel, training-free, and dataless technique that addresses this by balancing parameter importance both within individual tasks and across the task population. By utilizing intra-task and inter-task balancing mechanisms followed by a selective "drop and rescale" operation, PCB-MERGING achieves state-of-the-art performance across diverse domains, including NLP, Computer Vision, and Large Language Models (LLMs).

Introduction

Fine-tuning large pre-trained models (PTMs) for specific downstream tasks is a standard practice in modern AI. While effective, this often results in a proliferation of specialized models that lack general-purpose utility. Multi-Task Learning (MTL) can produce a single versatile model, but it is often prohibitively expensive and requires simultaneous access to all task-specific data.

Model merging has emerged as a compelling alternative, allowing practitioners to average the weights of models fine-tuned from a common initialization. The primary challenge in this domain is parameter competition. Within a single task, many parameters may be redundant; across multiple tasks, parameters often "compete" for influence, where an update beneficial to one task may be detrimental to another. Existing methods typically rely on uniform scaling factors, which fail to capture the complex, parameter-level correlations necessary for optimal fusion.

Methodology: PCB-MERGING

PCB-MERGING treats model merging as a granular balancing act performed on "task vectors"—the difference between fine-tuned weights and the original pre-trained weights. The framework consists of three primary stages:

  1. Intra-Balancing (Self-Awareness): This step calculates an importance score for each parameter within a specific task. By applying a softmax function to the magnitudes of the task vectors, the method emphasizes critical parameters while suppressing those that are redundant for that specific task.
  2. Inter-Balancing (Cross-Awareness): This stage assesses the consistency of a parameter's role across different tasks. It identifies "team player" parameters (consistent across tasks) versus "specialists" (conflicting across tasks), allowing for more nuanced merging.
  3. Drop and Rescale: Parameters with low combined importance scores are dropped (set to zero) to minimize interference. The remaining parameters are rescaled using a "Balancing Matrix" to construct the final merged task vector.
The PCB-MERGING framework illustrating the Intra-Balancing, Inter-Balancing, and Drop and Rescale components.

Notably, PCB-MERGING is training-free and dataless, requiring no original training data or additional GPU cycles. For scenarios where a small validation set is available, the authors demonstrate that evolutionary algorithms (e.g., CMA-ES) can further optimize task-level coefficients.

Experimental Evaluation

The effectiveness of PCB-MERGING was evaluated across a wide range of architectures and tasks:

  • NLP: T5-base and T5-large models were tested on 7 diverse tasks, including question answering and paraphrase identification.
  • Vision: ViT-B/32 and ViT-L/14 models were merged across 8 image classification tasks (e.g., MNIST, Stanford Cars).
  • LLMs: Specialized Llama-2-7b models were merged for Chinese language proficiency, mathematics (GSM8K), and code generation (HumanEval).
  • PEFT: Merging (IA)³ adapters for the T0-3B model across 11 datasets.

Key Results and Insights

PCB-MERGING consistently established new state-of-the-art benchmarks:

  • Performance Gains: For T5-Base, the method achieved a 4.3% average performance improvement over 7 NLP tasks compared to standard fine-tuning. In LLM experiments, it outperformed TIES-Merging and DARE, notably seeing a 3.7% boost in code generation.
  • Granularity and Competition: Ablation studies confirmed that moving to parameter-level granularity is essential. Furthermore, the "Drop" operation was identified as the most critical component for pruning the "noise" that typically causes interference during merging.
  • Robustness: The merged models exhibited superior Out-of-Domain (OOD) generalization, handling unseen data distributions more effectively than individual specialized models.
Comparison of PCB-MERGING against baseline methods on cross-task merging for T5-base and T5-large models.

Conclusion and Future Work

PCB-MERGING demonstrates that intelligent, parameter-level balancing can significantly enhance the performance of merged models without the need for retraining. While the method currently requires models to share the same architecture and initialization, it represents a major step forward in creating versatile multi-task models from specialized components. Future research will focus on extending these techniques to heterogeneous architectures and further refining the theoretical understanding of parameter-level task conflicts.

Summary updated

BibTeX
@inproceedings{du2024parameter,
  author = {Guodong DU and Junlin Lee and Jing Li and Runhua Jiang and Yifei Guo and Shuyang Yu and Hanting Liu and Sim Kuan Goh and Ho-Kin Tang and Daojing He and Min Zhang},
  title = {{Parameter Competition Balancing for Model Merging}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=l5SbrtvSRS},
}
Figure