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

FedVeca:面向非独立同分布数据的带自适应双向全局目标的联邦向量化平均方法

FedVeca: Federated Vectorized Averaging on Non-IID Data with Adaptive Bi-directional Global Objective

Hainan Blockchain Technology Engineering Research Center(海南区块链技术工程研究中心);Temple University(天普大学)

Ping Luo, Jieren Cheng, Zhenhao Liu, N. Xiong, Jie Wu

AI总结:

针对联邦学习中非独立同分布数据及客户端本地更新步数差异影响模型性能的问题,提出带自适应双向全局目标的FedVeca方法,通过双向向量平均和步长自适应调整优化训练,实验验证了其有效性与高效性。

摘要:

联邦学习(Federated Learning, FL)是一种用于缓解数据孤岛问题的分布式机器学习框架,在该框架下,分散的客户端无需共享私有数据即可协同训练全局模型。然而,客户端的非独立同分布(Non-Independent and Identically Distributed, Non-IID)数据会对训练出的模型产生负面影响,且每轮通信中本地更新次数不同的客户端可能导致本地梯度出现显著差异。本文提出了联邦向量化平均(Federated Vectorized Averaging, FedVeca)方法,以解决上述非独立同分布数据场景下的问题。具体而言,我们为全局模型设定了一个与本地梯度相关的新型目标。本地梯度被定义为带有步长和方向的双向向量,其中步长为本地更新次数,方向则根据我们的定义划分为正向和负向。在FedVeca中,方向会受到步长的影响,因此我们对双向向量进行平均,以降低步长差异带来的影响。随后,我们从理论上分析了步长与全局目标之间的关系,并得出了每轮通信步长的上界。基于该上界,我们为服务器和客户端设计了一种算法,可自适应调整步长,使目标趋近于最优值。最后,我们通过搭建原型系统,在不同数据集、模型和场景下开展了实验,实验结果证明了FedVeca方法的有效性和高效性。

英文摘要:

Federated Learning (FL) is a distributed machine learning framework to alleviate the data silos, where decentralized clients collaboratively learn a global model without sharing their private data. However, the clients' Non-Independent and Identically Distributed (Non-IID) data negatively affect the trained model, and clients with different numbers of local updates may cause significant gaps to the local gradients in each communication round. In this paper, we propose a Federated Vectorized Averaging (FedVeca) method to address the above problem on Non-IID data. Specifically, we set a novel objective for the global model which is related to the local gradients. The local gradient is defined as a bi-directional vector with step size and direction, where the step size is the number of local updates and the direction is divided into positive and negative according to our definition. In FedVeca, the direction is influenced by the step size, thus we average the bi-directional vectors to reduce the effect of different step sizes. Then, we theoretically analyze the relationship between the step sizes and the global objective, and obtain upper bounds on the step sizes per communication round. Based on the upper bounds, we design an algorithm for the server and the client to adaptively adjusts the step sizes that make the objective close to the optimum. Finally, we conduct experiments on different datasets, models and scenarios by building a prototype system, and the experimental results demonstrate the effectiveness and efficiency of the FedVeca method.

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

↑