arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.11015cs.LGcs.AIcs.DC
收藏

FedFa:一种用于联邦学习的全异步训练范式

FedFa: A Fully Asynchronous Training Paradigm for Federated Learning

The Hong Kong Polytechnic University(香港理工大学);Argonne National Laboratory(阿贡国家实验室);The University of Hong Kong(香港大学);University of Bisha(比沙大学)

Haotian Xu, Zhaorui Zhang, Sheng Di, Benben Liu, Khalid Ayed Alharthi, Jiannong Cao

AI总结:

针对联邦学习中同步和半异步方法无法完全消除等待时间的问题,提出全异步训练范式FedFa,通过服务器缓存结果更新参数并给出收敛性证明,在IID和Non-IID场景下相比现有方法实现高达6倍和4倍的训练加速。

摘要:

联邦学习被认为是一种高效的分布式训练范式,可在大量设备上扩展机器学习模型训练,同时保证训练者的数据隐私。FedAvg已成为联邦学习的基础参数更新策略,有望消除客户端间异构数据的影响并保证收敛。然而,训练期间每一轮通信的同步参数更新屏障会导致大量等待时间,从而拖慢训练进程。因此,近期最先进的解决方案提出使用半异步方法来减少等待时间开销并保证收敛。尽管如此,现有的半异步方法仍无法完全消除等待时间。我们提出了一种名为FedFa的全异步训练范式,它通过在服务器上使用少量缓存结果进行参数更新,能够保证模型收敛并完全消除联邦学习的等待时间。此外,我们为所提出的FedFa提供了收敛速率的理论证明。大量实验结果表明,与最先进的同步和半异步策略相比,我们的方法在IID和Non-IID场景中均保持高准确率的同时,将联邦学习的训练性能分别提升了高达6倍和4倍的加速。

英文摘要:

Federated learning has been identified as an efficient decentralized training paradigm for scaling the machine learning model training on a large number of devices while guaranteeing the data privacy of the trainers. FedAvg has become a foundational parameter update strategy for federated learning, which has been promising to eliminate the effect of the heterogeneous data across clients and guarantee convergence. However, the synchronization parameter update barriers for each communication round during the training significant time on waiting, slowing down the training procedure. Therefore, recent state-of-the-art solutions propose using semi-asynchronous approaches to mitigate the waiting time cost with guaranteed convergence. Nevertheless, emerging semi-asynchronous approaches are unable to eliminate the waiting time completely. We propose a full asynchronous training paradigm, called FedFa, which can guarantee model convergence and eliminate the waiting time completely for federated learning by using a few buffered results on the server for parameter updating. Further, we provide theoretical proof of the convergence rate for our proposed FedFa. Extensive experimental results indicate our approach effectively improves the training performance of federated learning by up to 6x and 4x speedup compared to the state-of-the-art synchronous and semi-asynchronous strategies while retaining high accuracy in both IID and Non-IID scenarios.

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

↑