Combining global sparse gradients with local gradients in distributed neural network training

2Citations
Citations of this article
69Readers
Mendeley users who have this article in their library.

Abstract

One way to reduce network traffic in multi-node data-parallel stochastic gradient descent is to only exchange the largest gradients. However, doing so damages the gradient and degrades the model's performance. Tranformer models degrade dramatically while the impact on RNNs is smaller. We restore gradient quality by combining the compressed global gradient with the node's locally computed uncompressed gradient. Neural machine translation experiments show that Transformer convergence is restored while RNNs converge faster. With our method, training on 4 nodes converges up to 1.5x as fast as with uncompressed gradients and scales 3.5x relative to single-node training.

Cite

CITATION STYLE

APA

Aji, A. F., Heafield, K., & Bogoychev, N. (2019). Combining global sparse gradients with local gradients in distributed neural network training. In EMNLP-IJCNLP 2019 - 2019 Conference on Empirical Methods in Natural Language Processing and 9th International Joint Conference on Natural Language Processing, Proceedings of the Conference (pp. 3626–3631). Association for Computational Linguistics. https://doi.org/10.18653/v1/d19-1373

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free