Accelerating Gossip SGD with Periodic Global Averaging
Abstract
Communication overhead hinders the scalability of large-scale distributed training. Gossip SGD, where each node averages only with its neighbors, is more communication-efficient than the prevalent parallel SGD. However, its convergence rate is reversely proportional to quantity which measures the network connectivity. On large and sparse networks where , Gossip SGD requires more iterations to converge, which offsets against its communication benefit. This paper introduces Gossip-PGA, which adds Periodic Global Averaging into Gossip SGD. Its transient stage, i.e., the iterations required to reach asymptotic linear speedup stage, improves from to for non-convex problems. The influence of network topology in Gossip-PGA can be controlled by the averaging period . Its transient-stage complexity is also superior to Local SGD which has order . Empirical results of large-scale training on image classification (ResNet50) and language modeling (BERT) validate our theoretical findings.
Keywords
Cite
@article{arxiv.2105.09080,
title = {Accelerating Gossip SGD with Periodic Global Averaging},
author = {Yiming Chen and Kun Yuan and Yingya Zhang and Pan Pan and Yinghui Xu and Wotao Yin},
journal= {arXiv preprint arXiv:2105.09080},
year = {2021}
}
Comments
Accepted to ICML 2021