NeurIPS 2019poster243 citations

Communication-efficient Distributed SGD with Sketching

Nikita Ivkin, Daniel Rothchild, Enayat Ullah, Vladimir braverman, Ion Stoica, Raman Arora

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 \ssgd 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 $\mathcal{O}(d)$ or $\mathcal{O}(W)$ to $\mathcal{O}(\log d)$, where $d$ is the number of model parameters and $W$ 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.

BibTeX
@inproceedings{NEURIPS2019_75da5036,
 author = {Ivkin, Nikita and Rothchild, Daniel and Ullah, Enayat and braverman, Vladimir and Stoica, Ion and Arora, Raman},
 booktitle = {Advances in Neural Information Processing Systems},
 editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett},
 pages = {},
 publisher = {Curran Associates, Inc.},
 title = {Communication-efficient Distributed SGD with Sketching},
 url = {https://proceedings.neurips.cc/paper_files/paper/2019/file/75da5036f659fe64b53f3d9b39412967-Paper.pdf},
 volume = {32},
 year = {2019}
}
Communication-efficient Distributed SGD with Sketching · NeurIPS 2019