vix.ing · top · new · best · stats

Communication-efficient distributed SGD with Sketching

2019/03/12 by Nikita Ivkin, Daniel Rothchild, Ivkin, Nikita +9 · 9 citations
Computer Science · Mathematics · #Advanced Neural Network Applications #Distributed #FOS: Computer and information sciences #FOS: Mathematics #Machine Learning (cs.LG) #Machine Learning (stat.ML) #Optimization and Control (math.OC) #Parallel #Privacy-Preserving Technologies in Data #Stochastic Gradient Optimization Techniques #and Cluster Computing (cs.DC) #cs.DC #cs.LG #math.OC #stat.ML

paper · pdf · doi:10.48550/arxiv.1903.04488

19 pages, 6 figures, published at NeurIPS 2019

openalex publication_date 2019/03/12 · arxiv created 2020/01/23 · arxiv updated 2020/01/24 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

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) or O(W) to 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.

Citations

Cited by

Related