arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.08768cs.LGcs.AIcs.DCstat.ML
收藏

Sparse Binary Compression:以最少的通信实现分布式深度学习

Sparse Binary Compression: Towards Distributed Deep Learning with minimal Communication

Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);Technische Universität Berlin(柏林工业大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所);Korea University(高丽大学)

Felix Sattler, Simon Wiedemann, Klaus-Robert Müller, Wojciech Samek

摘要:

目前,越来越大的深度神经网络是在不断增长的数据语料库上训练的。由于这种趋势在未来只会增加,分布式训练方案变得越来越重要。分布式训练中的一个主要问题是贡献节点之间有限的通信带宽或通常过高的通信成本。随着计算节点数量的增加,这些挑战变得更加紧迫。为了抵消这种发展,我们提出了稀疏二进制压缩(SBC),一个压缩框架,可以大大减少分布式训练的通信成本。SBC将现有的通信延迟和梯度稀疏化技术与新的二值化方法和最佳权重更新编码相结合,将压缩增益推向新的极限。通过这样做,我们的方法还允许我们平滑地权衡梯度稀疏性和时间稀疏性,以适应学习任务的要求。我们的实验表明,SBC可以将各种卷积和递归神经网络架构上的上游通信减少四个数量级以上,而不会显著损害前向-后向传递的收敛速度。例如,我们可以在ImageNet上使用$\times 3531$更少的位以相同的迭代次数将ResNet训练到基线精度,或者使用$\times 37208$更少的位将其训练到$1\%$更低的精度。在后一种情况下,每个参与客户端所需的上行通信总量从125 TB减少到3.35 GB。

英文摘要:

Currently, progressively larger deep neural networks are trained on ever growing data corpora. As this trend is only going to increase in the future, distributed training schemes are becoming increasingly relevant. A major issue in distributed training is the limited communication bandwidth between contributing nodes or prohibitive communication cost in general. These challenges become even more pressing, as the number of computation nodes increases. To counteract this development we propose sparse binary compression (SBC), a compression framework that allows for a drastic reduction of communication cost for distributed training. SBC combines existing techniques of communication delay and gradient sparsification with a novel binarization method and optimal weight update encoding to push compression gains to new limits. By doing so, our method also allows us to smoothly trade-off gradient sparsity and temporal sparsity to adapt to the requirements of the learning task. Our experiments show, that SBC can reduce the upstream communication on a variety of convolutional and recurrent neural network architectures by more than four orders of magnitude without significantly harming the convergence speed in terms of forward-backward passes. For instance, we can train ResNet50 on ImageNet in the same number of iterations to the baseline accuracy, using $\times 3531$ less bits or train it to a $1\%$ lower accuracy using $\times 37208$ less bits. In the latter case, the total upstream communication required is cut from 125 terabytes to 3.35 gigabytes for every participating client.

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

↑