English

Slow and Stale Gradients Can Win the Race

Machine Learning 2020-03-25 v1 Distributed, Parallel, and Cluster Computing Machine Learning Performance

Abstract

Distributed Stochastic Gradient Descent (SGD) when run in a synchronous manner, suffers from delays in runtime as it waits for the slowest workers (stragglers). Asynchronous methods can alleviate stragglers, but cause gradient staleness that can adversely affect the convergence error. In this work, we present a novel theoretical characterization of the speedup offered by asynchronous methods by analyzing the trade-off between the error in the trained model and the actual training runtime(wallclock time). The main novelty in our work is that our runtime analysis considers random straggling delays, which helps us design and compare distributed SGD algorithms that strike a balance between straggling and staleness. We also provide a new error convergence analysis of asynchronous SGD variants without bounded or exponential delay assumptions. Finally, based on our theoretical characterization of the error-runtime trade-off, we propose a method of gradually varying synchronicity in distributed SGD and demonstrate its performance on CIFAR10 dataset.

Keywords

Cite

@article{arxiv.2003.10579,
  title  = {Slow and Stale Gradients Can Win the Race},
  author = {Sanghamitra Dutta and Jianyu Wang and Gauri Joshi},
  journal= {arXiv preprint arXiv:2003.10579},
  year   = {2020}
}

Comments

Some of the results have appeared in AISTATS 2018. This is an extended version with additional results, in particular, an adaptive synchronicity strategy called AdaSync. arXiv admin note: substantial text overlap with arXiv:1803.01113

R2 v1 2026-06-23T14:24:43.876Z