[Paper Review] Distributed Momentum for Byzantine-resilient Learning
This paper proposes computing momentum at the worker side in distributed SGD to improve Byzantine resilience by reducing the variance-norm ratio of gradient estimates, which strengthens robust aggregation rules. Experiments show this approach reduces cross-accuracy drop due to Byzantine attacks by up to 11× compared to server-side momentum.
Momentum is a variant of gradient descent that has been proposed for its benefits on convergence. In a distributed setting, momentum can be implemented either at the server or the worker side. When the aggregation rule used by the server is linear, commutativity with addition makes both deployments equivalent. Robustness and privacy are however among motivations to abandon linear aggregation rules. In this work, we demonstrate the benefits on robustness of using momentum at the worker side. We first prove that computing momentum at the workers reduces the variance-norm ratio of the gradient estimation at the server, strengthening Byzantine resilient aggregation rules. We then provide an extensive experimental demonstration of the robustness effect of worker-side momentum on distributed SGD.
Motivation & Objective
- Address the challenge of maintaining robustness in distributed machine learning when some workers are Byzantine (malicious or faulty).
- Overcome the limitation of existing Byzantine-resilient aggregation rules, which rely on bounded variance-norm ratios in honest gradients.
- Improve gradient quality at the server by reducing the variance-norm ratio through worker-side momentum computation.
- Demonstrate that worker-side momentum enhances the effectiveness of standard robust aggregation rules like Krum and Median.
Proposed method
- Apply momentum at the worker level by maintaining a running sum of past gradients with exponential decay using factor μ.
- The momentum update at workers is defined as: m_t = μ * m_{t-1} + (1 - μ) * g_t, where g_t is the current gradient.
- Use this momentum-computed gradient as input to the robust aggregation rule at the server, instead of raw gradients.
- Theoretical analysis shows that worker-side momentum reduces the variance-norm ratio of honest gradients, a key factor for median-based aggregation rules.
- The method is compatible with both synchronous and asynchronous SGD settings, and commutes with filtering schemes in asynchronous settings.
- The approach incurs no additional computational overhead compared to server-side momentum, as the computation is shifted to workers without extra communication.
Experimental results
Research questions
- RQ1Can computing momentum at the worker side reduce the variance-norm ratio of gradient estimates in Byzantine-resilient distributed learning?
- RQ2Does worker-side momentum improve the robustness of standard Byzantine-resilient aggregation rules like Krum and Median?
- RQ3How does worker-side momentum compare to server-side momentum in terms of convergence and accuracy under Byzantine attacks?
- RQ4Under what conditions does worker-side momentum fail to reduce the variance-norm ratio, and how can this be mitigated?
- RQ5Can the proposed method be extended to asynchronous or fully decentralized settings with Byzantine servers?
Key findings
- Worker-side momentum reduces the variance-norm ratio of honest gradient estimates, which strengthens the robustness of Byzantine-resilient aggregation rules.
- Experiments show a 5% to 50% increase in top-1 cross-accuracy when using worker-side momentum compared to server-side momentum.
- The method achieves up to an 11× reduction in cross-accuracy drop due to Byzantine attacks, particularly evident in CIFAR-10 with the Median aggregation rule.
- The variance-norm ratio decreases as training progresses, especially when the learning rate is reduced, confirming the theoretical prediction.
- Worker-side momentum is effective even when the aggregation rule is non-linear, unlike server-side momentum which relies on linearity.
- The method remains effective across different datasets (MNIST, CIFAR-10) and attack types (e.g., Baruch et al., 2019; Xie et al., 2019), demonstrating broad applicability.
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.