This paper provides a rigorous theoretical and empirical analysis of FedRo (Federated Robust averaging), a variant of the standard Federated Learning (FL) algorithm, FedAvg, designed to withstand adversarial or "Byzantine" clients. While previous work on Byzantine robustness often assumed full client participation and single local updates, this research tackles the two defining features of real-world FL: client subsampling and multiple local update steps.
TL;DR
The authors characterize how client subsampling and local updates impact Byzantine-robust federated learning, proving that while subsampling requires a minimum threshold to ensure convergence, increasing local update steps can surprisingly reduce the learning error caused by adversarial clients. They identify a "diminishing returns" phenomenon where increasing the number of sampled clients beyond a specific threshold yields negligible accuracy gains.
What Problem Does This Paper Address?
Federated Learning allows a central server to train a model across many decentralized clients without ever seeing their raw data. However, this decentralization makes the system vulnerable to Byzantine clients—adversarial participants that send malicious updates to sabotage the model.
Standard defenses replace simple averaging at the server with "robust aggregation" rules (like the geometric median or trimmed mean). However, two core FL practices complicate this:
- Client Subsampling: In each round, the server only queries a small subset of clients. If this subset accidentally contains a majority of Byzantine clients, the robust aggregator fails.
- Local Updates: To save communication, clients perform multiple local gradient steps ($K$) before reporting back. This creates "drift" between honest clients, making it harder for the server to distinguish between a legitimate (but drifted) honest update and a malicious one.
Methods
The authors analyze FedRo, which integrates robust aggregation into the FedAvg framework. Their theoretical analysis focuses on smooth non-convex loss functions under standard assumptions of bounded local noise and bounded heterogeneity.
Key methodological contributions include:
- Sufficient Subsampling Condition: They derive a mathematical condition (Equation 1) for the sample size $\hat{n}$ and the tolerated number of Byzantine clients $\hat{b}$ to ensure that, with high probability, the server never encounters a Byzantine majority in any training round.
- Convergence Analysis: They provide a tight convergence rate for FedRo that explicitly accounts for the number of local steps $K$ and the subsampling rate.
- Robustness Criterion: They utilize the $(\hat{n}, \hat{b}, \kappa)$-robustness framework, which encompasses a wide range of existing aggregators like Krum, MeaMed, and coordinate-wise trimmed mean.
Datasets
The theoretical findings are validated using two standard image classification benchmarks:
- FEMNIST: A non-IID (heterogeneous) dataset of handwritten characters.
- CIFAR-10: A dataset of 60,000 color images in 10 classes, distributed uniformly among clients for these experiments.
Key Insights and Ideas
- The Subsampling "Cliff": There is a critical threshold, $\hat{n}_{th}$, for the number of clients sampled per round. Below this threshold, the probability of a Byzantine majority in a single round becomes high enough to prevent the model from ever converging.
- Diminishing Returns of Sampling: Unlike vanilla FL, where sampling more clients generally improves the convergence rate towards zero, FedRo hits a "diminishing return" threshold ($\hat{n}_{opt}$). Beyond this point, the non-vanishing error caused by Byzantine clients dominates, and sampling more participants provides marginal benefit. This is illustrated in Figure 1:
- The Benefit of Local Steps: Counter-intuitively, the authors show that the asymptotic error due to Byzantine clients actually decreases as the number of local steps $K$ increases (specifically, it is proportional to $1/K$). This is because $K$ local steps effectively act as a local average of $K$ stochastic gradients, reducing the variance of the honest updates and making it harder for adversaries to hide their malicious intent in the noise.
Key Results
- Empirical Validation of Thresholds: Experiments on FEMNIST confirmed that FedRo fails to converge when the number of sampled clients falls below the theoretical threshold (around 30 clients in their specific setup), as shown in Figure 2:
- Performance under Attack: FedRo, when configured with the authors' suggested $\hat{n}$ and $\hat{b}$, remains resilient against various state-of-the-art attacks, including "Sign Flipping" (SF) and "A Little Is Enough" (ALIE).
- Impact of $K$: As predicted by theory, increasing the number of local steps $K$ generally leads to higher accuracy across different attack scenarios, particularly for more sophisticated attacks like ALIE. This trend is visible in Figure 4:
Limitations and Future Work
- Variance Reduction Gap: The authors note a remaining $O(\kappa\sigma^2)$ gap between their upper bound and the known lower bounds for Byzantine-robust optimization. Closing this gap in the federated setting (where clients are only seen sporadically) remains an open challenge.
- Robustness vs. Inclusivity: The paper acknowledges a fundamental trade-off: robust aggregation works by filtering out outliers, which might inadvertently silence legitimate minority perspectives or "outlier" data that is not malicious. Exploring how to balance robustness with inclusivity is suggested as a vital future research direction.
Summary updated