Revisiting Distributed Synchronous SGD

Jianmin Chen, Rajat Monga, Samy Bengio, Rafał Józefowicz

arXiv (Cornell University) · 2017 · 610 citations · 24 references

DOIFull text

Open access

Concepts

TL;DR

Distributed training of deep learning models on large datasets is usually performed asynchronously to maximize update throughput, but this introduces noise, while synchronous training is considered impractical because it incurs idle time waiting for slow workers. The study reexamines conventional beliefs about asynchronous and synchronous training, evaluating their respective weaknesses. The authors propose synchronous optimization with backup workers, which eliminates asynchronous noise and reduces the impact of stragglers. Empirical results show that this backup‑worker synchronous method converges faster and achieves higher test accuracy.

Abstract

Distributed training of deep learning models on large-scale training data is typically conducted with asynchronous stochastic optimization to maximize the rate of updates, at the cost of additional noise introduced from asynchrony. In contrast, the synchronous approach is often thought to be impractical due to idle time wasted on waiting for straggling workers. We revisit these conventional beliefs in this paper, and examine the weaknesses of both approaches. We demonstrate that a third approach, synchronous optimization with backup workers, can avoid asynchronous noise while mitigating for the worst stragglers. Our approach is empirically validated and shown to converge faster and to better test accuracies.

References

24