DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling

Pala Tej Deep, Rishabh Bhardwaj, Soujanya Poria
6/17/2024
cs.CL

Official code: declare-lab/della (39 stars, last commit 2024-07-12).

Abstract

With the proliferation of domain-specific models, model merging has emerged as a set of techniques that combine the capabilities of multiple models into one that can multitask without the cost of additional training. In this paper, we propose a new model merging technique, Drop and rEscaLe via sampLing with mAgnitude (DELLA-Merging), that employs a novel pruning technique, MAGPRUNE, which shows significant advantages over DARE and TIES. MAGPRUNE first ranks the parameters in order of their magnitude and assigns higher dropout probabilities (p) to parameters with lower ranks corresponding to lower magnitudes. To approximate the original embeddings, MAGPRUNE employs a rescaling operation on the parameters that survive the random dropping by 1/(1 - p). On three different expert models considered for merging (LM, Math, Code) and corresponding benchmark datasets (AlpacaEval, GSM8K, MBPP), DELLA shows an average improvement of 2.4 points over baseline methods employing delta parameter pruning (an improvement of 3.6 points over TIES, 1.2 points over DARE), and 11.1 points over the no-pruning baseline (TA). We release the source code at: https://github.com/declare-lab/della.

View on arXivView PDF

Code Implementations(1)

declare-lab/dellaOfficial100%

DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling

393PythonJun 17, 20242 years ago
huggingfacellmllmsmodel-mergingtransformer

Similar Papers

Cite this paper

@article{deep2024dellamerging,
  title  = {DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling},
  author = {Pala Tej Deep and Rishabh Bhardwaj and Soujanya Poria},
  year   = {2024},
  eprint = {2406.11617},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.11617v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.11617.svg)](https://codeofpaper.com/paper/2406.11617)

Discussion