arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.11617cs.CL
收藏

DELLA-Merging:通过基于幅度的采样减少模型合并中的干扰

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

Singapore University of Technology and Design(新加坡科技设计大学)

Pala Tej Deep, Rishabh Bhardwaj, Soujanya Poria

AI总结:

本文提出 DELLA-Merging 模型合并方法,通过 MAGPRUNE 按参数幅度采样丢弃并重缩放,在语言、数学和代码模型合并中显著优于 DARE、TIES 与无剪枝基线。

摘要:

随着领域专用模型的激增,模型合并已成为一类将多个模型能力组合到一个模型中的技术,使其能够在无需额外训练成本的情况下执行多任务。本文提出一种新的模型合并技术 Drop and rEscaLe via sampLing with mAgnitude(DELLA-Merging),它采用了一种新颖的剪枝技术 MAGPRUNE,相较 DARE 和 TIES 展现出显著优势。MAGPRUNE 首先按参数幅度排序,并为排名较低、即幅度较小的参数分配更高的 dropout 概率(p)。为近似原始嵌入,MAGPRUNE 对在随机丢弃后保留下来的参数执行 1/(1-p) 的重缩放操作。在用于合并的三个不同专家模型(LM、Math、Code)及相应基准数据集(AlpacaEval、GSM8K、MBPP)上,DELLA 相比采用增量参数剪枝的基线方法平均提升 2.4 分(相比 TIES 提升 3.6 分,相比 DARE 提升 1.2 分),并相比无剪枝基线(TA)提升 11.1 分。我们在 https://github.com/declare-lab/della 发布源代码。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑