使用全局偏置优化器加速联邦学习
Accelerating Federated Learning with a Global Biased Optimiser
摘要:
联邦学习(FL)是分布式机器学习的最新发展,其在训练数据不离开客户端设备的情况下协作训练模型,从而保护数据隐私。在现实世界的FL中,训练集以高度非独立和相同分布(非IID)的方式分布在客户端上,损害了模型收敛速度和最终性能。为了解决这一挑战,我们提出了一种新的,通用的方法,将自适应优化到FL与联邦全球偏置优化(FedGBO)算法。FedGBO通过在训练期间采用一组全局偏置优化器值来加速FL,减少来自非IID数据的“客户端漂移”,同时受益于自适应优化。我们表明,在FedGBO中,全局模型的更新可以重新表述为使用有偏梯度和优化器更新的集中训练,并应用此框架来证明FedGBO在使用动量SGD(SGDm)优化器时在非凸目标上的收敛性。我们还使用4个FL基准数据集(CIFAR100,Sent140,FEMNIST,Shakespeare)和3个流行的优化器(SGDm,RMSProp,Adam)进行了广泛的实验,将FedGBO与六种最先进的FL算法进行比较。结果表明,FedGBO在数据集上显示出卓越或具有竞争力的性能,同时具有较低的数据上传和计算成本,并提供了与不同自适应FL算法和优化器相关的权衡的实际见解。
英文摘要:
Federated Learning (FL) is a recent development in distributed machine learning that collaboratively trains models without training data leaving client devices, preserving data privacy. In real-world FL, the training set is distributed over clients in a highly non-Independent and Identically Distributed (non-IID) fashion, harming model convergence speed and final performance. To address this challenge, we propose a novel, generalised approach for incorporating adaptive optimisation into FL with the Federated Global Biased Optimiser (FedGBO) algorithm. FedGBO accelerates FL by employing a set of global biased optimiser values during training, reducing 'client-drift' from non-IID data whilst benefiting from adaptive optimisation. We show that in FedGBO, updates to the global model can be reformulated as centralised training using biased gradients and optimiser updates, and apply this framework to prove FedGBO's convergence on nonconvex objectives when using the momentum-SGD (SGDm) optimiser. We also conduct extensive experiments using 4 FL benchmark datasets (CIFAR100, Sent140, FEMNIST, Shakespeare) and 3 popular optimisers (SGDm, RMSProp, Adam) to compare FedGBO against six state-of-the-art FL algorithms. The results demonstrate that FedGBO displays superior or competitive performance across the datasets whilst having low data-upload and computational costs, and provide practical insights into the trade-offs associated with different adaptive-FL algorithms and optimisers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。