[Paper Review] Federated Variance-Reduced Stochastic Gradient Descent with Robustness to Byzantine Attacks
This paper proposes Byrd-SAGA, a Byzantine-robust federated learning algorithm that combines variance reduction via SAGA with geometric median aggregation to enhance resilience against malicious gradient attacks. By reducing stochastic gradient noise, Byrd-SAGA enables better distinction between malicious updates and natural gradient fluctuations, achieving linear convergence to a neighborhood of the optimal solution whose error depends only on the number of Byzantine workers.
This paper deals with distributed finite-sum optimization for learning over networks in the presence of malicious Byzantine attacks. To cope with such attacks, most resilient approaches so far combine stochastic gradient descent (SGD) with different robust aggregation rules. However, the sizeable SGD-induced stochastic gradient noise makes it challenging to distinguish malicious messages sent by the Byzantine attackers from noisy stochastic gradients sent by the 'honest' workers. This motivates us to reduce the variance of stochastic gradients as a means of robustifying SGD in the presence of Byzantine attacks. To this end, the present work puts forth a Byzantine attack resilient distributed (Byrd-) SAGA approach for learning tasks involving finite-sum optimization over networks. Rather than the mean employed by distributed SAGA, the novel Byrd- SAGA relies on the geometric median to aggregate the corrected stochastic gradients sent by the workers. When less than half of the workers are Byzantine attackers, the robustness of geometric median to outliers enables Byrd-SAGA to attain provably linear convergence to a neighborhood of the optimal solution, with the asymptotic learning error determined by the number of Byzantine workers. Numerical tests corroborate the robustness to various Byzantine attacks, as well as the merits of Byrd- SAGA over Byzantine attack resilient distributed SGD.
Motivation & Objective
- Address the challenge of distinguishing malicious gradients from high-variance stochastic gradients in federated learning under Byzantine attacks.
- Reduce stochastic gradient noise to improve the detectability of Byzantine updates in distributed optimization.
- Develop a robust aggregation mechanism that maintains convergence even when less than half of the workers are compromised.
- Achieve linear convergence to a stable neighborhood of the optimal solution with asymptotic error bounded by the number of Byzantine workers.
- Demonstrate superior robustness and efficiency compared to standard Byzantine-resilient SGD and mini-batch SGD in both convex and non-convex settings.
Proposed method
- Adapt the SAGA algorithm for distributed finite-sum optimization, enabling per-worker variance reduction via gradient correction.
- Replace the mean aggregation in standard SAGA with geometric median aggregation to enhance robustness against outliers.
- Use a master node to collect corrected stochastic gradients from workers and compute their geometric median for model update.
- Ensure that each worker maintains a local memory of past gradients to compute corrected gradients using the SAGA update rule.
- Leverage the geometric median's robustness to outliers to suppress malicious messages even when they are large or adversarially crafted.
- Prove linear convergence to a neighborhood of the optimal solution under the assumption that fewer than half the workers are Byzantine.
Experimental results
Research questions
- RQ1Can variance reduction in stochastic gradients improve the detectability of Byzantine attacks in federated learning?
- RQ2Does replacing mean aggregation with geometric median in SAGA enhance robustness against Byzantine adversaries?
- RQ3What is the asymptotic convergence behavior of a variance-reduced, robustly aggregated federated algorithm under Byzantine attacks?
- RQ4How does the learning error scale with the number of Byzantine workers in such a system?
- RQ5Can the proposed method outperform standard Byzantine-resilient SGD in terms of convergence and robustness across different attack types?
Key findings
- Byrd-SAGA achieves linear convergence to a neighborhood of the optimal solution, with the asymptotic learning error determined solely by the number of Byzantine workers.
- When all honest workers have access to the full dataset (i.e., δ² = 0), the asymptotic error of Byrd-SAGA vanishes, unlike Byzantine-resilient SGD and BSGD.
- In experiments with the IJCNN1 dataset, Byrd-SAGA with geometric median aggregation outperformed SGD and BSGD under Gaussian, sign-flipping, and zero-gradient attacks.
- With sign-flipping and zero-gradient attacks, Byrd-SAGA using Krum aggregation achieved the best performance, while geometric median also showed strong robustness.
- On the MNIST dataset, Byrd-SAGA with geometric median aggregation achieved 92.4% accuracy under zero-gradient attacks, significantly outperforming SGD (26.2%) and BSGD (81.5%) with mean aggregation.
- Byrd-SAGA exhibits lower per-iteration computational cost than Byzantine-resilient BSGD while maintaining superior robustness and convergence stability.
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.