arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.02140cs.DCcs.AI
收藏

S2 Reducer:高性能稀疏通信加速分布式深度学习

S2 Reducer: High-Performance Sparse Communication to Accelerate Distributed Deep Learning

College of Computer, National University of Defense Technology(国防科技大学计算机学院)

Keshi Ge, Yongquan Fu, Zhiquan Lai, Xiaoge Deng, Dongsheng Li

摘要:

分布式随机梯度下降(SGD)方法在大规模深度学习中得到了广泛应用,梯度集合方法是保证分布式深度学习系统训练可扩展性的关键。诸如AllReduce的集体通信已被广泛用于分布式SGD过程以减少通信时间。然而,AllReduce会占用大量带宽资源,而大多数梯度在许多情况下是稀疏的,因为许多梯度值为零,应该有效地压缩以节省带宽。为了减少稀疏梯度通信开销,我们提出了稀疏草图还原器(S2还原器),一种新的基于草图的稀疏梯度聚合方法,具有收敛保证。S2 Reducer通过仅使用计数草图和位图压缩非零梯度来降低通信成本,并支持高效的AllReduce操作符进行并行SGD训练。我们对五种训练模型中的四种最先进的方法进行了广泛的评估。我们的研究结果表明,S2 Reducer收敛到相同的精度,减少了81\%的稀疏通信开销,并实现了1.8 $ \times $的加速比相比,国家的最先进的方法。

英文摘要:

Distributed stochastic gradient descent (SGD) approach has been widely used in large-scale deep learning, and the gradient collective method is vital to ensure the training scalability of the distributed deep learning system. Collective communication such as AllReduce has been widely adopted for the distributed SGD process to reduce the communication time. However, AllReduce incurs large bandwidth resources while most gradients are sparse in many cases since many gradient values are zeros and should be efficiently compressed for bandwidth saving. To reduce the sparse gradient communication overhead, we propose Sparse-Sketch Reducer (S2 Reducer), a novel sketch-based sparse gradient aggregation method with convergence guarantees. S2 Reducer reduces the communication cost by only compressing the non-zero gradients with count-sketch and bitmap, and enables the efficient AllReduce operators for parallel SGD training. We perform extensive evaluation against four state-of-the-art methods over five training models. Our results show that S2 Reducer converges to the same accuracy, reduces 81\% sparse communication overhead, and achieves 1.8$ \times $ speedup compared to state-of-the-art approaches.

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

↑