Straggler-Resilient Decentralized Learning via Adaptive Asynchronous Updates
Guojun Xiong, Gang Yan, Shiqiang Wang, Jian Li
TL;DR
This work addresses stragglers in fully decentralized learning by introducing DSGD-AAU, which adaptively selects the number of active neighbors at each iteration to blend the benefits of synchronous and asynchronous updates. It provides a convergence guarantee showing a rate of $\mathcal{O}(1/\sqrt{NK})$ with an appropriate learning rate, implying a linear speedup in the number of workers for large enough $K$. The algorithm is realized via a decentralized Pathsearch procedure that builds a strongly connected subgraph and ensures information diffusion without deadlock, with modest communication and memory overhead. Empirical results on non-i.i.d. CIFAR-10 and other tasks demonstrate faster convergence and higher accuracy than state-of-the-art baselines, validating practical impact for large-scale decentralized training in heterogeneous environments.
Abstract
With the increasing demand for large-scale training of machine learning models, fully decentralized optimization methods have recently been advocated as alternatives to the popular parameter server framework. In this paradigm, each worker maintains a local estimate of the optimal parameter vector, and iteratively updates it by waiting and averaging all estimates obtained from its neighbors, and then corrects it on the basis of its local dataset. However, the synchronization phase is sensitive to stragglers. An efficient way to mitigate this effect is to consider asynchronous updates, where each worker computes stochastic gradients and communicates with other workers at its own pace. Unfortunately, fully asynchronous updates suffer from staleness of stragglers' parameters. To address these limitations, we propose a fully decentralized algorithm DSGD-AAU with adaptive asynchronous updates via adaptively determining the number of neighbor workers for each worker to communicate with. We show that DSGD-AAU achieves a linear speedup for convergence and demonstrate its effectiveness via extensive experiments.
