arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.14026cs.DCcs.LGmath.OC
收藏

SWIFT:通过无等待模型通信的快速分散式联邦学习

SWIFT: Rapid Decentralized Federated Learning via Wait-Free Model Communication

University of Maryland(马里兰大学)

Marco Bornstein, Tahseen Rabbani, Evan Wang, Amrit Singh Bedi, Furong Huang

摘要:

分散式联邦学习(FL)设置通过利用客户端组经由本地化训练和模型/梯度共享来协作地训练模型,从而避免了潜在不可靠或不可信的中央主机的角色。大多数现有的分散FL算法需要客户端模型的同步,其中同步的速度取决于最慢的客户端。在这项工作中,我们提出了SWIFT:一种新型的无等待分散FL算法,允许客户以自己的速度进行培训。理论上,我们证明了SWIFT匹配的黄金标准迭代收敛速度$\mathcal{O}(1/\sqrt{T})$的并行随机梯度下降凸和非凸光滑优化(总迭代$T$)。此外,我们提供了理论结果IID和非IID设置没有任何有界延迟假设慢客户端,这是需要其他异步分散FL算法。尽管SWIFT实现了与其他最先进的(SOTA)并行随机算法相同的关于$T$的迭代收敛速率,但由于其无等待结构,它在运行时间方面收敛得更快。我们的实验结果表明,SWIFT的运行时间减少,由于每个历元的通信时间大幅减少,这下降了一个数量级相比,同步同行。此外,SWIFT在IID和非IID数据设置上生成图像分类的丢失级别,比现有SOTA算法快50%以上。

英文摘要:

The decentralized Federated Learning (FL) setting avoids the role of a potentially unreliable or untrustworthy central host by utilizing groups of clients to collaboratively train a model via localized training and model/gradient sharing. Most existing decentralized FL algorithms require synchronization of client models where the speed of synchronization depends upon the slowest client. In this work, we propose SWIFT: a novel wait-free decentralized FL algorithm that allows clients to conduct training at their own speed. Theoretically, we prove that SWIFT matches the gold-standard iteration convergence rate $\mathcal{O}(1/\sqrt{T})$ of parallel stochastic gradient descent for convex and non-convex smooth optimization (total iterations $T$). Furthermore, we provide theoretical results for IID and non-IID settings without any bounded-delay assumption for slow clients which is required by other asynchronous decentralized FL algorithms. Although SWIFT achieves the same iteration convergence rate with respect to $T$ as other state-of-the-art (SOTA) parallel stochastic algorithms, it converges faster with respect to run-time due to its wait-free structure. Our experimental results demonstrate that SWIFT's run-time is reduced due to a large reduction in communication time per epoch, which falls by an order of magnitude compared to synchronous counterparts. Furthermore, SWIFT produces loss levels for image classification, over IID and non-IID data settings, upwards of 50% faster than existing SOTA algorithms.

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

↑