[Paper Review] Straggler-Resilient Distributed Machine Learning with Dynamic Backup Workers
This paper proposes a dynamic backup workers (DyBW) strategy in consensus-based distributed machine learning to mitigate straggler effects by adaptively selecting only the fastest neighbors for parameter updates. The cb-DyBW algorithm achieves linear speedup in convergence and reduces iteration duration by 65–70% compared to full-participation methods, significantly cutting training time without sacrificing convergence accuracy on MNIST and CIFAR-10 datasets.
With the increasing demand for large-scale training of machine learning models, consensus-based distributed 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 can be time consuming due to the need to wait for extit{stragglers}, i.e., slower workers. An efficient way to mitigate this effect is to let each worker wait only for updates from the fastest neighbors before updating its local parameter. The remaining neighbors are called extit{backup workers.} To minimize the globally training time over the network, we propose a fully distributed algorithm to dynamically determine the number of backup workers for each worker. We show that our algorithm achieves a linear speedup for convergence (i.e., convergence performance increases linearly with respect to the number of workers). We conduct extensive experiments on MNIST and CIFAR-10 to verify our theoretical results.
Motivation & Objective
- To address the performance bottleneck caused by stragglers in distributed machine learning, where slow workers delay synchronization across nodes.
- To reduce iteration duration in consensus-based distributed optimization without increasing the number of convergence iterations.
- To develop a dynamic, fully distributed mechanism for selecting backup workers that adapts to real-time worker performance.
- To theoretically and empirically validate that dynamic backup selection enables linear speedup in convergence while minimizing communication overhead.
Proposed method
- Formulates a consensus-based distributed optimization problem with dynamic backup workers (DyBW), where each worker waits only for the fastest p_j neighbors before updating its local parameter.
- Proposes the cb-DyBW algorithm, a fully distributed method that dynamically adjusts the number of backup workers per node based on real-time communication latency.
- Introduces a threshold-based update rule (Algorithm 2) to determine the optimal number of backup workers during training, based on observed update times.
- Employs a time-varying consensus graph where edges represent neighbor dependencies, and uses adaptive learning rate η(k) = η₀·δᵏ to stabilize training.
- Implements the algorithm in TensorFlow using NFS and MPI backends, enabling file sharing and inter-worker communication in a distributed setting.
- Applies principal component analysis (PCA) to reduce input dimensionality and uses a batch size of 1,024 for efficient training.
Experimental results
Research questions
- RQ1Can dynamically selecting backup workers significantly reduce iteration duration in distributed machine learning without increasing convergence iterations?
- RQ2Does the proposed dynamic backup strategy achieve linear speedup in convergence rate compared to full-participation consensus methods?
- RQ3How does the number of backup workers evolve over time, and can it be adaptively controlled based on real-time worker performance?
- RQ4What is the impact of dynamic backup selection on convergence accuracy and wall-clock training time for real-world datasets like MNIST and CIFAR-10?
Key findings
- The cb-DyBW algorithm achieves a convergence rate of O(1/√(NK) + 1/K), indicating linear speedup for sufficiently large K, matching the rate of full-participation methods.
- cb-DyBW reduces average iteration duration by 65–70% compared to cb-Full (full participation), significantly decreasing total training time.
- The number of iterations to convergence remains similar in order of magnitude between cb-DyBW and cb-Full, confirming that dynamic backup selection does not harm convergence quality.
- The number of dynamic backup workers varies over time, validating the adaptability of the proposed threshold-based rule to real-time worker performance.
- Empirical results on MNIST and CIFAR-10 show that cb-DyBW achieves comparable testing error and training loss to cb-Full, while drastically reducing wall-clock time.
- The framework maintains consistency and convergence even with non-i.i.d. data distributions across workers, demonstrating robustness in realistic settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.