Ordered Momentum for Asynchronous SGD
Chang-Wei Shi, Yi-Rui Yang, Wu-Jun Li
TL;DR
The paper addresses incorporating momentum into asynchronous SGD (ASGD) without sacrificing convergence by introducing ordered momentum (OrMo). OrMo organizes gradients into iteration-based groups and updates momentum accordingly to maintain coherent updates despite out-of-order arrivals, with a theoretical convergence guarantee for non-convex objectives under both constant and delay-adaptive learning rates. The main results show a nonconvex convergence rate of $\mathcal{O}\big(\sqrt{L\sigma^2/T} + (KLG/T)^{2/3} + KL/T\big)$ for constant rate and $\mathcal{O}\big(\sqrt{L\sigma^2/T} + KL/T\big)$ for OrMo-DA, notably without dependence on the maximum delay. Empirically, OrMo and OrMo-DA achieve superior convergence and faster wall-clock performance compared to ASGD and momentum-based baselines across CIFAR-10/100 with homogeneous and heterogeneous worker settings, demonstrating robustness to delays and slow workers.
Abstract
Distributed learning is essential for training large-scale deep models. Asynchronous SGD (ASGD) and its variants are commonly used distributed learning methods, particularly in scenarios where the computing capabilities of workers in the cluster are heterogeneous. Momentum has been acknowledged for its benefits in both optimization and generalization in deep model training. However, existing works have found that naively incorporating momentum into ASGD can impede the convergence. In this paper, we propose a novel method called ordered momentum (OrMo) for ASGD. In OrMo, momentum is incorporated into ASGD by organizing the gradients in order based on their iteration indexes. We theoretically prove the convergence of OrMo with both constant and delay-adaptive learning rates for non-convex problems. To the best of our knowledge, this is the first work to establish the convergence analysis of ASGD with momentum without dependence on the maximum delay. Empirical results demonstrate that OrMo can achieve better convergence performance compared with ASGD and other asynchronous methods with momentum.
