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

叠加任务特定特征以实现模型合并

Superpose Task-specific Features for Model Merging

Tsinghua University(清华大学);Huawei(华为);State Key laboratory of Space Network and Communications(空间网络与通信国家重点实验室)

Haiquan Qiu, You Wu, Dong Li, Jianmin Guo, Quanming Yao

AI总结:

本文基于线性表示假设,提出将各模型任务特定特征叠加到线性变换矩阵中,通过线性系统形式化模型合并过程,在多个基准上实现了优于现有多任务合并方法的效果。

摘要:

模型合并使神经网络无需额外训练即可获得强大能力。本文通过利用神经网络表示的基本机制,提出了一种新的模型合并视角。我们的方法受到线性表示假设的启发,该假设认为神经网络通过特征向量的线性组合来编码信息。我们提出了一种将来自各个模型的任务特定特征叠加到合并模型中的方法。我们的方法专门针对线性变换矩阵,这些矩阵对于深度网络中的特征激活和提取至关重要。通过将合并过程形式化为线性系统,我们能够保留来自各个模型的任务特定特征,并创建与现有方法相比能够有效保持多任务能力的合并模型。在多种基准和模型上的大量实验表明,我们的方法优于现有技术。代码可在 https://github.com/LARS-research/STF 获取。

英文摘要:

Model merging enables powerful capabilities in neural networks without requiring additional training. In this paper, we introduce a novel perspective on model merging by leveraging the fundamental mechanisms of neural network representation. Our approach is motivated by the linear representation hypothesis, which states that neural networks encode information through linear combinations of feature vectors. We propose a method that superposes task-specific features from individual models into a merged model. Our approach specifically targets linear transformation matrices, which are crucial for feature activation and extraction in deep networks. By formulating the merging process as a linear system, we can preserve task-specific features from individual models and create merged models that effectively maintain multi-task capabilities compared to existing methods. Extensive experiments across diverse benchmarks and models demonstrate that our method outperforms existing techniques. Code is available at https://github.com/LARS-research/STF.

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

↑