NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Byzantine-Robust Federated Learning: Impact of Client Subsampling and Local Updates

Youssef Allouah, Sadegh Farhadkhani, Rachid Guerraoui, Nirupam Gupta, Rafael Pinot, Geovani Rizk, Sasha Voitovych

Abstract

The possibility of adversarial (a.k.a., Byzantine) clients makes federated learning (FL) prone to arbitrary manipulation. The natural approach to robustify FL against adversarial clients is to replace the simple averaging operation at the server in the standard FedAvg algorithm by a robust averaging rule. While a significant amount of work has been devoted to studying the convergence of federated robust averaging (FedRo), prior work has largely ignored the impact of client subsampling and local steps, two fundamental FL characteristics. While client subsampling increases the effective fraction of Byzantine clients, local steps increase the drift between the local updates computed by honest (i.e., non-Byzantine) clients. Consequently, a careless deployment of FedRo could yield poor performance. We validate this observation by presenting an in-depth analysis of FedRo tightly analyzing the impact of client subsampling and local steps. Specifically, we present a sufficient condition on client subsampling for nearly-optimal convergence of FedRo. Also, we show that the rate of improvement in learning accuracy diminishes with respect to the number of clients subsampled, as soon as the sample size exceeds a threshold value. Interestingly, we also observe that under a careful choice of step-sizes, the learning error due to Byzantine clients decreases with the number of local steps. We validate our theory by experiments on the FEMNIST and CIFAR-10 image classification tasks.

Introduction

Federated Learning (FL) enables training models on decentralized data while maintaining privacy. However, the standard aggregation method, FedAvg, is highly susceptible to "Byzantine" clients—malicious actors who send corrupted updates to derail the global model. To mitigate this, researchers have proposed FedRo, which employs robust aggregation rules like the geometric median or trimmed mean instead of simple averaging.

While FedRo offers a theoretical defense, practical FL involves two key constraints: client subsampling (only a subset of clients participate per round) and local updates (clients perform multiple training steps locally). This paper investigates how these factors influence the security and performance of robust FL.

The Critical Role of Client Subsampling

In practical FL, the server samples a subset of $\hat{n}$ clients from a total pool of $n$. This subsampling introduces a risk: the server might inadvertently sample a majority of Byzantine clients in a single round, even if they are a minority in the total population.

The authors identify a critical subsampling threshold ($\hat{n}_{th}$). If the number of sampled clients falls below this floor, the probability of a "Byzantine takeover" becomes too high, and the model fails to converge. Conversely, they identify an optimal threshold ($\hat{n}_{opt}$), beyond which adding more clients yields diminishing returns, as the error becomes dominated by the inherent Byzantine noise rather than sampling variance.

Impact of client subsampling on accuracy. Below a certain threshold (approx. 20 clients), the model fails to converge in the presence of 20% Byzantine clients.

The Surprising Benefit of Local Updates

Conventionally, increasing the number of local steps ($K$) is thought to increase "client drift," potentially harming convergence. However, this research reveals a counter-intuitive advantage for robust FL: more local steps can actually improve robustness.

By performing more local training steps, honest clients effectively "average out" their own stochastic gradient noise before communicating with the server. This results in cleaner updates that are easier for robust aggregation rules to distinguish from the malicious signals sent by Byzantine actors. Under a carefully orchestrated step-size schedule, the learning error attributed to Byzantine clients actually decreases as the number of local steps increases.

Accuracy vs. number of local steps across different attack types (SF, FOE, ALIE, mimic). Increasing local steps generally improves model accuracy against these attacks.

Experimental Results

The theoretical findings were validated on the FEMNIST and CIFAR-10 datasets.

  • Subsampling: On FEMNIST, the model failed to converge when fewer than 30 clients were sampled, confirming the existence of the $\hat{n}_{th}$ threshold.
  • Local Steps: Increasing $K$ from 5 to 35 consistently improved accuracy across various sophisticated attacks, such as "Sign Flipping" (SF) and "A Little Is Enough" (ALIE).

Conclusion

This work provides a rigorous framework for understanding the interplay between practical FL constraints and Byzantine robustness. By identifying the subsampling thresholds and the noise-reduction benefits of local updates, it offers actionable insights for deploying secure federated learning systems in the real world. Future work remains to address the estimation of Byzantine fractions in open systems and the potential impact of robust aggregation on data fairness for minority groups.

Summary updated

BibTeX
@inproceedings{allouah2024byzantine,
  author = {Youssef Allouah and Sadegh Farhadkhani and Rachid Guerraoui and Nirupam Gupta and Rafael Pinot and Geovani Rizk and Sasha Voitovych},
  title = {{Byzantine-Robust Federated Learning: Impact of Client Subsampling and Local Updates}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=Izv7gBnap3},
}
Figure