pith. machine review for the scientific record. sign in

arxiv: 1705.07878 · v6 · submitted 2017-05-22 · 💻 cs.LG · cs.DC· cs.NE

Recognition: unknown

TernGrad: Ternary Gradients to Reduce Communication in Distributed Deep Learning

Authors on Pith no claims yet
classification 💻 cs.LG cs.DCcs.NE
keywords terngradgradientsaccuracycommunicationdeepdistributedboundconvergence
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Enhancing SignSGD: Small-Batch Convergence Analysis and a Hybrid Switching Strategy

    cs.LG 2026-04 unverdicted novelty 5.0

    SignSGD with pre-sign dithering and a calibrated hybrid switch to SGD achieves 92.18% accuracy on CIFAR-10 with ResNet-18, outperforming pure SGD and SignSGD, plus better results than Adam on CIFAR-100.