English

Communication-efficient distributed SGD with Sketching

Machine Learning 2020-01-24 v3 Distributed, Parallel, and Cluster Computing Optimization and Control Machine Learning

Abstract

Large-scale distributed training of neural networks is often limited by network bandwidth, wherein the communication time overwhelms the local computation time. Motivated by the success of sketching methods in sub-linear/streaming algorithms, we introduce Sketched SGD, an algorithm for carrying out distributed SGD by communicating sketches instead of full gradients. We show that Sketched SGD has favorable convergence rates on several classes of functions. When considering all communication -- both of gradients and of updated model weights -- Sketched SGD reduces the amount of communication required compared to other gradient compression methods from O(d)\mathcal{O}(d) or O(W)\mathcal{O}(W) to O(logd)\mathcal{O}(\log d), where dd is the number of model parameters and WW is the number of workers participating in training. We run experiments on a transformer model, an LSTM, and a residual network, demonstrating up to a 40x reduction in total communication cost with no loss in final model performance. We also show experimentally that Sketched SGD scales to at least 256 workers without increasing communication cost or degrading model performance.

Keywords

Cite

@article{arxiv.1903.04488,
  title  = {Communication-efficient distributed SGD with Sketching},
  author = {Nikita Ivkin and Daniel Rothchild and Enayat Ullah and Vladimir Braverman and Ion Stoica and Raman Arora},
  journal= {arXiv preprint arXiv:1903.04488},
  year   = {2020}
}

Comments

19 pages, 6 figures, published at NeurIPS 2019

R2 v1 2026-06-23T08:04:39.796Z