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

用于高效分布式深度学习的基于方差的梯度压缩

Variance-based Gradient Compression for Efficient Distributed Deep Learning

The University of Tokyo(东京大学);Preferred Networks, Inc.(优选网络公司)

Yusuke Tsuzuku, Hiroto Imachi, Takuya Akiba

摘要:

由于大量的计算成本,为大规模数据集训练最先进的深度神经网络通常需要使用多个计算工作者进行分布式训练。然而,从本质上讲,工作人员需要频繁地进行梯度通信,这会导致严重的瓶颈,特别是在较低带宽的连接上。已经提出了几种方法来压缩梯度以实现有效的通信,但是它们要么压缩比低,要么严重损害所得到的模型精度,特别是当应用于卷积神经网络时。为了解决这些问题,我们提出了一种方法来减少分布式深度学习的通信开销。我们的关键观察是,梯度更新可以延迟,直到计算出一个明确的(高幅度,低方差)梯度。我们还提出了一个有效的算法来计算方差可以忽略不计的额外成本。实验结果表明,该方法可以实现很高的压缩比,同时保持结果模型的准确性。我们还使用计算和通信成本模型分析了效率,并提供了证据表明,这种方法可以在许多具有商品环境的场景中实现分布式深度学习。

英文摘要:

Due to the substantial computational cost, training state-of-the-art deep neural networks for large-scale datasets often requires distributed training using multiple computation workers. However, by nature, workers need to frequently communicate gradients, causing severe bottlenecks, especially on lower bandwidth connections. A few methods have been proposed to compress gradient for efficient communication, but they either suffer a low compression ratio or significantly harm the resulting model accuracy, particularly when applied to convolutional neural networks. To address these issues, we propose a method to reduce the communication overhead of distributed deep learning. Our key observation is that gradient updates can be delayed until an unambiguous (high amplitude, low variance) gradient has been calculated. We also present an efficient algorithm to compute the variance with negligible additional cost. We experimentally show that our method can achieve very high compression ratio while maintaining the result model accuracy. We also analyze the efficiency using computation and communication cost models and provide the evidence that this method enables distributed deep learning for many scenarios with commodity environments.

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

↑