Federated Learning Robust to Byzantine Attacks: Achieving Zero Optimality Gap

Shiyuan Zuo, Rongfei Fan, Han Hu, Ning Zhang, Shimin GongarXiv 2023 · DOI

Abstract

This paper introduces a novel robust aggregation framework for Federated Learning (FL) designed to eliminate the residual error, or "optimality gap," typically found in Byzantine-resilient systems. By combining flexible local update schemes with geometric median aggregation, the proposed method achieves linear convergence to the true global optimum, even when nearly half of the network participants are malicious.

Introduction

Federated Learning (FL) enables decentralized model training across numerous devices while keeping data localized. However, this architecture is highly susceptible to Byzantine attacks, where compromised or malicious users send corrupted model updates to the central server. These attacks can prevent convergence or introduce backdoors into the shared model.

Existing robust aggregation methods, such as those using simple medians, often suffer from two primary drawbacks: they fail to reach the exact optimal solution (the optimality gap) and they impose significant communication or computational overhead. This research addresses these gaps by proving that Byzantine resilience can be achieved without sacrificing final model precision.

Methodology

The proposed approach utilizes a two-step iterative process:

  1. Flexible Local Updates: Unlike standard FL protocols, this method allows users to perform a variable number of local gradient steps ($K^t$) with an adjustable learning rate. Users transmit their final model parameters directly, avoiding the complex history-keeping required by previous robust methods.
  2. Geometric Median Aggregation: The central server aggregates updates using the geometric median—the point that minimizes the sum of Euclidean distances to all other points. This estimator is naturally resistant to the outlier vectors typically generated by Byzantine attackers.

Mathematically, the authors demonstrate that by carefully scheduling the number of local steps and the learning rate, the influence of adversarial updates eventually vanishes, leading to a "zero optimality gap."

Experimental Evaluation

The researchers benchmarked their "Proposed-General" and "Proposed-Uniform" methods against existing standards, RFA (Robust Federated Aggregation) and RANGE (Robust Aggregating Normalized Gradient Method), using the EMNIST dataset.

Performance comparison (Accuracy and Loss) under different Byzantine attack ratios (β=0.2 and β=0.4).

As shown in the experimental results above, the proposed methods consistently outperform baselines. In scenarios with both 20% (β=0.2) and 40% (β=0.4) malicious users, the "Proposed-General" method achieves significantly higher test accuracy and lower training loss. Notably, the experimental curves mirror the theoretical prediction of linear convergence, whereas competing methods often plateau before reaching the optimum.

The Role of Local Update Flexibility

A key feature of the "Proposed-General" algorithm is the ability to vary the number of local steps ($K$). This flexibility allows the system to optimize training dynamics—for instance, by increasing local steps as the global model stabilizes to accelerate convergence.

Impact of the number of local update steps (K) on test accuracy and training loss.

Figure 5 illustrates how different values of $K$ affect performance. Higher values of $K$ generally lead to faster initial convergence and improved final accuracy, validating the strategy of using multiple local updates to overcome the noise introduced by Byzantine participants.

Conclusion and Future Work

This work provides a rigorous theoretical and empirical foundation for achieving zero-optimality-gap convergence in the presence of Byzantine attackers. While the current proofs rely on strong convexity assumptions, the results demonstrate that robust Federated Learning does not necessitate a permanent loss in accuracy. Future research will focus on extending these guarantees to non-convex deep learning models and addressing the computational costs associated with high-dimensional geometric median calculations.

Summary updated

BibTeX
@misc{zuo2023federated,
  author = {Shiyuan Zuo and Rongfei Fan and Han Hu and Ning Zhang and Shimin Gong},
  title = {{Federated Learning Robust to Byzantine Attacks: Achieving Zero Optimality Gap}},
  year = {2023},
  eprint = {2308.10427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.10427},
}
Figure