Sync-Switch: Hybrid Parameter Synchronization for Distributed Deep Learning
Not on the map. Why?
Abstract (arXiv)
Stochastic Gradient Descent (SGD) has become the de facto way to train deep neural networks in distributed clusters. A critical factor in determining the training throughput and model accuracy is the choice of the parameter synchronization protocol. For example, while Bulk Synchronous Parallel (BSP) often achieves better converged accuracy, the corresponding training throughput can be negatively impacted by stragglers. In contrast, Asynchronous Parallel (ASP) can have higher throughput, but its convergence and accuracy can be impacted by stale gradients. To improve the performance of synchronization protocol, recent work often focuses on designing new protocols with a heavy reliance on hard-to-tune hyper-parameters. In this paper, we design a hybrid synchronization approach that exploits the benefits of both BSP and ASP, i.e., reducing training time while simultaneously maintaining the converged accuracy. Based on extensive empirical profiling, we devise a collection of adaptive policies that determine how and when to switch between synchronization protocols. Our policies include both offline ones that target recurring jobs and online ones for handling transient stragglers. We implement the proposed policies in a prototype system, called Sync-Switch, on top of TensorFlow, and evaluate the training performance with popular deep learning models and datasets. Our experiments show that Sync-Switch achieves up to 5.13X throughput speedup and similar converged accuracy when comparing to BSP. Further, we observe that Sync-Switch achieves 3.8% higher converged accuracy with just 1.23X the training time compared to training with ASP. Moreover, Sync-Switch can be used in settings when training with ASP leads to divergence errors. Sync-Switch achieves all of these benefits with very low overhead, e.g., the framework overhead can be as low as 1.7% of the total training time.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 23 of its 41 references that are in the map. First posted on arXiv 16 Apr 2021.
Builds on
23 of 41 references.
References · 23
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2015Cyclical Learning Rates for Training Neural Networkscited by 627
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
- 2017TernGrad: Ternary Gradients to Reduce Communication in Distributed Deep Learningcited by 253
- 2017Sparse Communication for Distributed Gradient Descentcited by 243
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
- 2016QSGD: Communication-Efficient SGD via Gradient Quantization and Encodingcited by 147
11 more
- 2017Revisiting Distributed Synchronous SGDcited by 142
- 2018An Alternative View: When Does SGD Escape Local Minima?cited by 115
- 2017Shake-Shake regularizationcited by 87
- 2018Tensor2Tensor for Neural Machine Translationcited by 85
- 2018Slow and Stale Gradients Can Win the Race: Error-Runtime Trade-offs in Distributed SGDcited by 68
- 2018Analysis of DAWNBench, a Time-to-Accuracy Machine Learning Performance Benchmarkcited by 21
- 2017Performance Modeling and Evaluation of Distributed Deep Learning Frameworks on GPUscited by 13
- 2019Dynamic Stale Synchronous Parallel Distributed Training for Deep Learningcited by 11
- 2020Characterizing and Modeling Distributed Training with Transient Cloud GPU Serverscited by 8
- 2019Dynamic Mini-batch SGD for Elastic Distributed Training: Learning in the Limbo of Resourcescited by 7
- 2019Speeding up Deep Learning with Transient Serverscited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1.
3 papers.