arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.11198cs.LGcs.DC
收藏

在具有异构客户端的异步联邦学习中实现线性加速

Achieving Linear Speedup in Asynchronous Federated Learning with Heterogeneous Clients

The Hong Kong University of Science and Technology(香港科技大学);Southeast University(东南大学)

Xiaolu Wang, Zijian Li, Shi Jin, Jun Zhang

AI总结:

针对异构客户端下FedAvg同步慢的问题,提出异步联邦学习框架DeFedAvg,允许客户端按自身节奏使用陈旧模型训练,在保证收敛速率的同时首次实现线性加速。

摘要:

联邦学习(FL)是一种新兴的分布式训练范式,旨在不交换或传输存储在不同客户端本地数据的情况下,学习一个共同的全局模型。基于Federated Averaging(FedAvg)的算法在FL中获得了广泛普及以减少通信开销,其中每个客户端在与中央服务器通信之前进行多次局部迭代。在本文中,我们关注客户端具有不同计算和/或通信能力的FL。在这种情况下,FedAvg可能效率较低,因为它要求参与一轮全局聚合的所有客户端从最新的全局模型开始迭代,因此快速客户端和落后客户端之间的同步可能会严重减慢整体训练过程。为了解决这个问题,我们提出了一种高效的异步联邦学习(AFL)框架,称为Delayed Federated Averaging(DeFedAvg)。在DeFedAvg中,允许客户端按照自己的节奏使用不同的陈旧全局模型执行局部训练。理论分析表明,DeFedAvg在解决非凸问题时实现了与FedAvg结果相当的渐近收敛速率。更重要的是,DeFedAvg是第一个可证明能够实现理想线性加速特性的AFL算法,这表明其具有高度的可扩展性。此外,我们使用真实数据集进行了广泛的数值实验,以验证我们的方法在训练深度神经网络时的效率和可扩展性。

英文摘要:

Federated learning (FL) is an emerging distributed training paradigm that aims to learn a common global model without exchanging or transferring the data that are stored locally at different clients. The Federated Averaging (FedAvg)-based algorithms have gained substantial popularity in FL to reduce the communication overhead, where each client conducts multiple localized iterations before communicating with a central server. In this paper, we focus on FL where the clients have diverse computation and/or communication capabilities. Under this circumstance, FedAvg can be less efficient since it requires all clients that participate in the global aggregation in a round to initiate iterations from the latest global model, and thus the synchronization among fast clients and straggler clients can severely slow down the overall training process. To address this issue, we propose an efficient asynchronous federated learning (AFL) framework called Delayed Federated Averaging (DeFedAvg). In DeFedAvg, the clients are allowed to perform local training with different stale global models at their own paces. Theoretical analyses demonstrate that DeFedAvg achieves asymptotic convergence rates that are on par with the results of FedAvg for solving nonconvex problems. More importantly, DeFedAvg is the first AFL algorithm that provably achieves the desirable linear speedup property, which indicates its high scalability. Additionally, we carry out extensive numerical experiments using real datasets to validate the efficiency and scalability of our approach when training deep neural networks.

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

↑