LGDCNEMay 22, 2017

TernGrad: Ternary Gradients to Reduce Communication in Distributed Deep Learning

arXiv:1705.07878v61066 citationsHas Code
Originality Incremental advance
AI Analysis

This addresses the communication overhead problem for distributed training in data parallelism, offering an incremental improvement over existing gradient compression methods.

The paper tackles the high communication cost bottleneck in distributed deep learning by proposing TernGrad, which uses ternary gradients to reduce communication time, achieving no accuracy loss on AlexNet and less than 2% loss on GoogLeNet with significant speed gains.

High network communication cost for synchronizing gradients and parameters is the well-known bottleneck of distributed training. In this work, we propose TernGrad that uses ternary gradients to accelerate distributed deep learning in data parallelism. Our approach requires only three numerical levels {-1,0,1}, which can aggressively reduce the communication time. We mathematically prove the convergence of TernGrad under the assumption of a bound on gradients. Guided by the bound, we propose layer-wise ternarizing and gradient clipping to improve its convergence. Our experiments show that applying TernGrad on AlexNet does not incur any accuracy loss and can even improve accuracy. The accuracy loss of GoogLeNet induced by TernGrad is less than 2% on average. Finally, a performance model is proposed to study the scalability of TernGrad. Experiments show significant speed gains for various deep neural networks. Our source code is available.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes