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

从一次性联邦学习视角看任务算术

Task Arithmetic Through The Lens Of One-Shot Federated Learning

Princeton University(普林斯顿大学);Fujitsu Research of America(富士通美国研究部);Operations Research and Financial Engineering(运筹学与金融工程);Electrical and Computer Engineering(电气与计算机工程)

Zhixu Silvia Tao, Ian Mason, Sanjeev Kulkarni, Xavier Boix

AI总结:

本文将Task Arithmetic构建为一次性Federated Learning问题,证明其与FedAvg数学等价,识别出数据与训练异质性为影响性能的关键因素,并借鉴联邦学习算法显著提升了模型合并效果。

摘要:

Task Arithmetic是一种模型合并技术,它通过在权重空间中进行简单的算术运算,将多个模型的能力组合到单个模型中,而无需额外的微调或访问原始训练数据。然而,决定Task Arithmetic成功的因素仍不清楚。在本文中,我们通过将Task Arithmetic构建为一次性Federated Learning问题,来研究其在多任务学习中的应用。我们证明,Task Arithmetic在数学上等价于Federated Learning中常用的算法Federated Averaging(FedAvg)。通过利用FedAvg成熟的理论结果,我们确定了影响Task Arithmetic性能的两个关键因素:数据异质性和训练异质性。为了缓解这些挑战,我们调整了Federated Learning中的几种算法,以提高Task Arithmetic的有效性。我们的实验表明,与原始Task Arithmetic方法相比,应用这些算法通常能显著提升合并模型的性能。这项工作连接了Task Arithmetic和Federated Learning,为Task Arithmetic提供了新的理论视角,并改进了模型合并的实用方法。

英文摘要:

Task Arithmetic is a model merging technique that enables the combination of multiple models' capabilities into a single model through simple arithmetic in the weight space, without the need for additional fine-tuning or access to the original training data. However, the factors that determine the success of Task Arithmetic remain unclear. In this paper, we examine Task Arithmetic for multi-task learning by framing it as a one-shot Federated Learning problem. We demonstrate that Task Arithmetic is mathematically equivalent to the commonly used algorithm in Federated Learning, called Federated Averaging (FedAvg). By leveraging well-established theoretical results from FedAvg, we identify two key factors that impact the performance of Task Arithmetic: data heterogeneity and training heterogeneity. To mitigate these challenges, we adapt several algorithms from Federated Learning to improve the effectiveness of Task Arithmetic. Our experiments demonstrate that applying these algorithms can often significantly boost performance of the merged model compared to the original Task Arithmetic approach. This work bridges Task Arithmetic and Federated Learning, offering new theoretical perspectives on Task Arithmetic and improved practical methodologies for model merging.

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

↑