[Paper Review] Byzantine-Robust Variance-Reduced Federated Learning over Distributed Non-i.i.d. Data
This paper proposes a Byzantine-robust variance-reduced federated learning method that uses a resampling strategy and SAGA-based variance reduction to mitigate both inner and outer data heterogeneity in non-i.i.d. settings, followed by robust geometric median aggregation. It achieves linear convergence to a neighborhood of the optimal solution, with learning error explicitly bounded by the number of Byzantine workers, outperforming state-of-the-art methods in non-i.i.d. scenarios.
We consider the federated learning problem where data on workers are not independent and identically distributed (i.i.d.). During the learning process, an unknown number of Byzantine workers may send malicious messages to the central node, leading to remarkable learning error. Most of the Byzantine-robust methods address this issue by using robust aggregation rules to aggregate the received messages, but rely on the assumption that all the regular workers have i.i.d. data, which is not the case in many federated learning applications. In light of the significance of reducing stochastic gradient noise for mitigating the effect of Byzantine attacks, we use a resampling strategy to reduce the impact of both inner variation (that describes the sample heterogeneity on every regular worker) and outer variation (that describes the sample heterogeneity among the regular workers), along with a stochastic average gradient algorithm to gradually eliminate the inner variation. The variance-reduced messages are then aggregated with a robust geometric median operator. We prove that the proposed method reaches a neighborhood of the optimal solution at a linear convergence rate and the learning error is determined by the number of Byzantine workers. Numerical experiments corroborate the theoretical results and show that the proposed method outperforms the state-of-the-arts in the non-i.i.d. setting.
Motivation & Objective
- To address the challenge of Byzantine attacks in federated learning when data on workers are non-i.i.d., which undermines the effectiveness of standard robust aggregation rules.
- To reduce stochastic gradient noise arising from both inner variation (within-worker data heterogeneity) and outer variation (between-worker data heterogeneity) in non-i.i.d. settings.
- To design a robust aggregation mechanism that maintains convergence and accuracy despite an unknown number of Byzantine workers sending malicious messages.
- To establish theoretical convergence guarantees under non-i.i.d. data and Byzantine attacks, with explicit dependence on the number of Byzantine workers.
Proposed method
- Employs a resampling strategy to reduce the impact of inner variation (sample heterogeneity within each regular worker) and outer variation (heterogeneity across regular workers) in stochastic gradients.
- Applies the SAGA algorithm to fully eliminate inner variation by maintaining and updating a running average of past gradients for each worker.
- Uses a variance-reduced stochastic gradient estimate for each regular worker, which is then aggregated using a robust geometric median operator to resist Byzantine messages.
- Introduces a Lyapunov function to analyze convergence, incorporating both the distance to the optimal solution and the variance-reduction error terms.
- Derives a step size condition that ensures linear convergence by bounding the error propagation through the geometric median aggregation.
- Employs an $ε$-approximate geometric median in practice to balance computational cost and robustness, with a corresponding error bound.
Experimental results
Research questions
- RQ1Can variance reduction techniques effectively mitigate the impact of non-i.i.d. data and Byzantine attacks in federated learning?
- RQ2Does the combination of resampling and SAGA-based variance reduction improve robustness and convergence in non-i.i.d. settings with Byzantine workers?
- RQ3What is the theoretical convergence rate of a variance-reduced federated learning method under Byzantine attacks and non-i.i.d. data?
- RQ4How does the learning error scale with the number of Byzantine workers in the proposed framework?
- RQ5Can the proposed method outperform existing state-of-the-art Byzantine-robust federated learning algorithms in non-i.i.d. data regimes?
Key findings
- The proposed method achieves linear convergence to a neighborhood of the optimal solution under non-i.i.d. data and Byzantine attacks.
- The learning error is explicitly bounded by the number of Byzantine workers, with the error term scaling as $\mathcal{O}\left(\left(d + \frac{1-d}{R}\right)C_{s\alpha}^{2}\sigma^{2} + dC_{s\alpha}^{2}\delta^{2}\right)$.
- The method outperforms state-of-the-art approaches in both convex and nonconvex federated learning problems, especially in non-i.i.d. data settings.
- Theoretical analysis confirms that the step size condition $\gamma \leq \frac{\mu}{2\sqrt{10}J^{2}L^{2}C_{s\alpha}}$ ensures linear convergence with error decaying geometrically.
- Numerical experiments validate the theoretical findings, showing that variance reduction significantly improves robustness and convergence speed under Byzantine attacks.
- The use of geometric median aggregation after variance reduction effectively suppresses the influence of malicious gradients, even when Byzantine workers are colluding and omniscient.
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.