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

SparDL:具有高效稀疏通信的分布式深度学习训练

SparDL: Distributed Deep Learning Training with Efficient Sparse Communication

College of Computer Science, Zhejiang University(浙江大学计算机学院)

Minjun Zhao, Yichen Yin, Yuren Mao, Qing Liu, Lu Chen, Yunjun Gao

AI总结:

针对分布式深度学习Top-k稀疏化中的稀疏梯度累积困境,提出SparDL框架,通过Spar-Reduce-Scatter、Spar-All-Gather和全局残差收集算法实现高效稀疏通信与快速收敛。

摘要:

Top-k稀疏化近年来被广泛用于降低分布式深度学习中的通信量。然而,由于稀疏梯度累积(SGA)困境,Top-k稀疏化的性能仍然存在局限。最近,已有若干方法被提出以处理SGA困境。遗憾的是,即使是最先进的方法也存在若干缺陷,例如它依赖低效的通信算法并且需要额外的传输步骤。受现有方法局限性的启发,我们提出了一种新颖的高效稀疏通信框架,称为SparDL。具体而言,SparDL使用基于高效Reduce-Scatter模型的Spar-Reduce-Scatter算法来处理SGA困境,而无需额外的通信操作。此外,为了进一步降低延迟成本并提高SparDL的效率,我们提出了Spar-All-Gather算法。同时,我们提出了全局残差收集算法以确保模型训练的快速收敛。最后,进行了大量实验以验证SparDL的优越性。

英文摘要:

Top-k sparsification has recently been widely used to reduce the communication volume in distributed deep learning. However, due to the Sparse Gradient Accumulation (SGA) dilemma, the performance of top-k sparsification still has limitations. Recently, a few methods have been put forward to handle the SGA dilemma. Regrettably, even the state-of-the-art method suffers from several drawbacks, e.g., it relies on an inefficient communication algorithm and requires extra transmission steps. Motivated by the limitations of existing methods, we propose a novel efficient sparse communication framework, called SparDL. Specifically, SparDL uses the Spar-Reduce-Scatter algorithm, which is based on an efficient Reduce-Scatter model, to handle the SGA dilemma without additional communication operations. Besides, to further reduce the latency cost and improve the efficiency of SparDL, we propose the Spar-All-Gather algorithm. Moreover, we propose the global residual collection algorithm to ensure fast convergence of model training. Finally, extensive experiments are conducted to validate the superiority of SparDL.

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

↑