arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.07475cs.LGcs.DCmath.OCstat.ML
收藏

基于多数投票的Sparse-SignSGD通信高效分布式学习

Sparse-SignSGD with Majority Vote for Communication-Efficient Distributed Learning

Pohang University of Science and Technology(浦项科技大学);Korea University(高丽大学)

Chanho Park, Namyoon Lee

摘要:

通过使用分布式优化,可以显著提高复杂深度学习模型的训练效率。然而,这个过程经常被迭代期间工作者和参数服务器之间的大量通信成本所阻碍。为了解决这个瓶颈,在本文中,我们提出了一种新的通信高效算法,该算法提供了稀疏化和符号量化的协同优势,称为${\sf S}^3$ GD-MV。${\sf S}^3$ GD-MV中的工作器选择其本地梯度向量的顶部$K$幅度分量,并且仅将这些分量的符号发送到服务器。然后,服务器聚集这些符号,并通过多数投票规则返回结果。我们的分析表明,在某些温和的条件下,如果基于工人的数量和深度学习模型的大小适当选择稀疏化参数$K$,则${\sf S}^3$ GD-MV可以以与signSGD相同的速率收敛,同时显著降低通信成本。使用独立同分布(IID)和非IID数据集的实验结果表明,${\sf S}^3$ GD-MV达到更高的准确性比signSGD,显着降低通信成本。这些发现突出了${\sf S}^3$ GD-MV作为深度学习中通信高效分布式优化的有前途的解决方案的潜力。

英文摘要:

The training efficiency of complex deep learning models can be significantly improved through the use of distributed optimization. However, this process is often hindered by a large amount of communication cost between workers and a parameter server during iterations. To address this bottleneck, in this paper, we present a new communication-efficient algorithm that offers the synergistic benefits of both sparsification and sign quantization, called ${\sf S}^3$GD-MV. The workers in ${\sf S}^3$GD-MV select the top-$K$ magnitude components of their local gradient vector and only send the signs of these components to the server. The server then aggregates the signs and returns the results via a majority vote rule. Our analysis shows that, under certain mild conditions, ${\sf S}^3$GD-MV can converge at the same rate as signSGD while significantly reducing communication costs, if the sparsification parameter $K$ is properly chosen based on the number of workers and the size of the deep learning model. Experimental results using both independent and identically distributed (IID) and non-IID datasets demonstrate that the ${\sf S}^3$GD-MV attains higher accuracy than signSGD, significantly reducing communication costs. These findings highlight the potential of ${\sf S}^3$GD-MV as a promising solution for communication-efficient distributed optimization in deep learning.

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

↑