arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.16372cs.LGcs.DCeess.SP
收藏

带有联邦投票的SignSGD

SignSGD with Federated Voting

POSTECH(浦项科技大学);Princeton University(普林斯顿大学);Korea University(高丽大学)

Chanho Park, H. Vincent Poor, Namyoon Lee

AI总结:

针对signSGD-MV在异构计算能力下因mini-batch大小不同而无法收敛的问题,提出带有联邦投票的signSGD-FV优化器,通过在线学习设备权重进行加权多数投票以最小化解码错误,在异构场景下实现了更快的收敛和理论保证。

摘要:

分布式学习通常通过利用多个边缘设备的计算能力来加速模型训练。然而,在实际应用中,由于工作者和中央参数服务器之间需要大量的信息交换,通信延迟成为了瓶颈。带有多数投票的SignSGD(signSGD-MV)是一种有效的分布式学习算法,可以通过一比特量化显著降低通信成本。然而,由于计算能力的异构性,当工作者之间的mini-batch大小不同时,它无法收敛。为了克服这个问题,我们提出了一种带有联邦投票的新型signSGD优化器。联邦投票的思想是利用可学习的权重来执行加权多数投票。服务器根据边缘设备的计算能力,以在线方式学习分配给它们的权重。随后,这些权重被用于解码聚合的局部梯度的符号,以最小化符号解码错误概率。我们提供了一个统一的收敛速率分析框架,适用于参数服务器完美或不完美地已知估计权重的场景。我们证明了所提出的signSGD-FV算法即使在边缘设备使用异构mini-batch大小时也具有理论收敛保证。实验结果表明,signSGD-FV优于signSGD-MV,表现出更快的收敛速率,特别是在异构mini-batch大小的情况下。

英文摘要:

Distributed learning is commonly used for accelerating model training by harnessing the computational capabilities of multiple-edge devices. However, in practical applications, the communication delay emerges as a bottleneck due to the substantial information exchange required between workers and a central parameter server. SignSGD with majority voting (signSGD-MV) is an effective distributed learning algorithm that can significantly reduce communication costs by one-bit quantization. However, due to heterogeneous computational capabilities, it fails to converge when the mini-batch sizes differ among workers. To overcome this, we propose a novel signSGD optimizer with \textit{federated voting} (signSGD-FV). The idea of federated voting is to exploit learnable weights to perform weighted majority voting. The server learns the weights assigned to the edge devices in an online fashion based on their computational capabilities. Subsequently, these weights are employed to decode the signs of the aggregated local gradients in such a way to minimize the sign decoding error probability. We provide a unified convergence rate analysis framework applicable to scenarios where the estimated weights are known to the parameter server either perfectly or imperfectly. We demonstrate that the proposed signSGD-FV algorithm has a theoretical convergence guarantee even when edge devices use heterogeneous mini-batch sizes. Experimental results show that signSGD-FV outperforms signSGD-MV, exhibiting a faster convergence rate, especially in heterogeneous mini-batch sizes.

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

↑