arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.14762cs.LG
收藏

CrossMean:通过配对合并与专家激活实现模型合并

CrossMean: Model Merging by Pairing Merged and Expert Activations

Faculty of Computer and Information Science, Ben-Gurion University of the Negev(内盖夫本-古里安大学计算机与信息科学学院)

Moshe Eliasof

AI总结:

CrossMean通过配对合并与专家激活改进模型合并,在8任务视觉基准及BERT编码器上,相比基于专家统计量或重新测量统计量的合并方法均有提升。

摘要:

模型合并可在无需重新训练的情况下将微调后的多个专家模型整合为单个网络,闭式方法通过输入激活的统计量计算各合并层。然而,这些统计量是在单个专家模型上测得的,而合并模型中各层接收的是其前置合并层的激活。近期研究在合并模型中重新测量这些统计量,但仍基于单个网络构建。我们将闭式方法表述为线性方程组,发现其两侧使用相同矩阵。随后提出CrossMean,将其中一侧的矩阵替换为配对合并与专家激活的双线性统计量。基于相同统计量,我们还推导了无标签准则,用于指示考虑合并激活可提升合并效果的任务集,准则值越低的任务集提升幅度越大。在测试的每个视觉主干的8任务基准及BERT编码器上,CrossMean相比基于专家统计量的合并方法表现更优;在所有线性层合并时,其相比在合并模型中重新测量统计量的方法也更优。这些结果表明,配对合并与专家激活可提升模型合并效果。

英文摘要:

Model merging combines fine-tuned experts into one network without retraining, and closed-form methods compute each merged layer from statistics of its input activations. However, these statistics are measured on a single expert, while in the merged model, each layer receives activations from the merged layers that precede it. Recent work re-measures these statistics in the merged model but still forms them from a single network. We formulate closed-form methods as a linear system and show that they use the same matrix on both sides. We then introduce CrossMean, which replaces this matrix on one side with a bilinear statistic that pairs merged and expert activations. From the same statistics, we also derive a label-free criterion that indicates the task sets in which accounting for the merged activations improves the merge more. Empirically, task sets with a lower criterion value show a larger improvement. On the eight-task benchmark of each vision backbone that we tested and on BERT encoders, CrossMean improves on merging with statistics measured on the experts, and with all linear layers merged, it also improves on re-measuring these statistics in the merged model. These results suggest that merging benefits from pairing merged and expert activations.

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

↑