下行链路压缩改善了TopK稀疏化
Downlink Compression Improves TopK Sparsification
摘要:
训练大型神经网络非常耗时。为了加快这个过程,通常使用分布式训练。分布式训练中最大的瓶颈之一是在不同节点之间传递梯度。已经提出了不同的梯度压缩技术来缓解通信瓶颈,包括topK梯度稀疏化,其在将梯度发送到其他节点之前将其截断为最大的K个分量。虽然一些作者通过在工作者到服务器(上行链路)和服务器到工作者(下行链路)方向上应用topK压缩来研究参数-服务器框架中的topK梯度稀疏化,但目前公认的观点认为,增加额外的压缩会降低模型的收敛性。相反,我们证明,添加下行链路压缩可以潜在地提高topK稀疏化的性能:它不仅减少了每步的通信量,而且还可以提高收敛分析的上限。为了证明这一点,我们重新审视topK随机梯度下降(SGD)的非凸收敛分析,并将其从单向扩展到双向设置。我们还删除了以前的分析,需要不切实际的大值K的限制。我们通过实验评估了双向topK SGD与单向topK SGD的对比,结果表明,使用双向topK SGD训练的模型将与使用单向topK SGD训练的模型一样好,同时为大量工人带来显着的通信优势。
英文摘要:
Training large neural networks is time consuming. To speed up the process, distributed training is often used. One of the largest bottlenecks in distributed training is communicating gradients across different nodes. Different gradient compression techniques have been proposed to alleviate the communication bottleneck, including topK gradient sparsification, which truncates the gradient to the largest K components before sending it to other nodes. While some authors have investigated topK gradient sparsification in the parameter-server framework by applying topK compression in both the worker-to-server (uplink) and server-to-worker (downlink) direction, the currently accepted belief says that adding extra compression degrades the convergence of the model. We demonstrate, on the contrary, that adding downlink compression can potentially improve the performance of topK sparsification: not only does it reduce the amount of communication per step, but also, counter-intuitively, can improve the upper bound in the convergence analysis. To show this, we revisit non-convex convergence analysis of topK stochastic gradient descent (SGD) and extend it from the unidirectional to the bidirectional setting. We also remove a restriction of the previous analysis that requires unrealistically large values of K. We experimentally evaluate bidirectional topK SGD against unidirectional topK SGD and show that models trained with bidirectional topK SGD will perform as well as models trained with unidirectional topK SGD while yielding significant communication benefits for large numbers of workers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。