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

基于稀疏与自适应随机梯度的通信高效分布式学习

Communication-Efficient Distributed Learning via Sparse and Adaptive Stochastic Gradient

Xiaoge Deng, Dongsheng Li, Tao Sun, Xicheng Lu

AI总结:

本文提出通信高效的分布式算法SASG,通过自适应聚合规则动态选择通信节点并对传输梯度进行稀疏化,在保持与SGD相同的次线性收敛速率的同时显著降低通信轮次和通信比特数。

摘要:

基于梯度的优化方法在分布式计算架构上的实现正越来越多地用于处理大规模机器学习应用。此类分布式系统中的一个关键瓶颈是工作节点之间交换信息(如随机梯度)所产生的高通信开销。造成这一瓶颈的内在原因是频繁的通信轮次以及每一轮中完整模型梯度的传输。在本研究中,我们提出了SASG,一种通信高效的分布式算法,该算法兼具稀疏通信和自适应聚合随机梯度的优势。通过自适应聚合规则动态确定需要通信的工作节点,并对传输信息进行稀疏化处理,SASG算法同时降低了分布式系统中的通信轮次开销和通信比特数。在理论分析方面,我们引入了一个重要的辅助变量,并定义了一个新的Lyapunov函数,以证明该通信高效算法是收敛的。收敛结果与随机梯度下降的次线性速率相同,并且我们的结果还表明SASG能够随分布式工作节点数量的增加而良好扩展。最后,在训练深度神经网络上的实验表明,与先前方法相比,所提出的算法能够显著降低通信开销。

英文摘要:

Gradient-based optimization methods implemented on distributed computing architectures are increasingly used to tackle large-scale machine learning applications. A key bottleneck in such distributed systems is the high communication overhead for exchanging information, such as stochastic gradients, between workers. The inherent causes of this bottleneck are the frequent communication rounds and the full model gradient transmission in every round. In this study, we present SASG, a communication-efficient distributed algorithm that enjoys the advantages of sparse communication and adaptive aggregated stochastic gradients. By dynamically determining the workers who need to communicate through an adaptive aggregation rule and sparsifying the transmitted information, the SASG algorithm reduces both the overhead of communication rounds and the number of communication bits in the distributed system. For the theoretical analysis, we introduce an important auxiliary variable and define a new Lyapunov function to prove that the communication-efficient algorithm is convergent. The convergence result is identical to the sublinear rate of stochastic gradient descent, and our result also reveals that SASG scales well with the number of distributed workers. Finally, experiments on training deep neural networks demonstrate that the proposed algorithm can significantly reduce communication overhead compared to previous methods.

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

↑