Trade-off in Estimating the Number of Byzantine Clients in Federated Learning

Ziyi Chen, Su Zhang, Heng Huang · DOI

Abstract

Federated Learning (FL) is susceptible to Byzantine clients that can compromise model integrity through malicious updates. Robust aggregation techniques, such as Krum or Trimmed Mean, are employed to defend against these attacks, but they rely on an estimated parameter $\hat{f}$ representing the maximum number of malicious participants. This paper presents a systematic analysis of the trade-off involved in this estimation. We demonstrate that underestimating $f$ results in catastrophic model divergence, whereas overestimating $f$ leads to a predictable but significant degradation in model accuracy. Our findings, supported by theoretical bounds and experiments on CIFAR-10, highlight the inherent costs of security in decentralized learning.

Introduction

Federated Learning (FL) enables collaborative model training across distributed devices without centralizing raw data. This decentralization, however, introduces a vulnerability to Byzantine clients—malicious or faulty participants that transmit poisoned updates to sabotage the learning process. To maintain model stability, robust aggregators are used instead of simple averaging. These aggregators typically require an input parameter $\hat{f}$, the estimated number of Byzantine clients the system can tolerate. In practice, the true value $f$ is rarely known, leading to estimation errors that significantly impact model performance. This paper addresses the fundamental question: what happens to the model's performance when our estimate $\hat{f}$ is wrong?

Theoretical Framework and Methods

The authors analyze the Federated Robust Averaging (FedRo) algorithm, defining robustness through $(f, \kappa)$-metrics and convergence under the Polyak-Łojasiewicz (PŁ) condition. A key contribution is the analysis of a composite aggregator: $\hat{f}$-Krum combined with Nearest Neighbor Mixing (NNM), which is shown to achieve order-optimal bounds.

Comparison of error bounds for various robust aggregators under different estimation scenarios.

The analysis distinguishes between two primary scenarios of estimation error:

  1. Underestimation ($\hat{f} < f$): The system fails to filter out sufficient malicious noise. The authors prove that in this scenario, the model can diverge to arbitrarily poor performance, effectively making training useless.
  2. Non-underestimation ($\hat{f} \ge f$): The system remains robust and converges, but the aggregation error increases proportionally with $\frac{\hat{f}}{n - f - \hat{f}}$. As the estimate $\hat{f}$ increases, the model's final accuracy degrades.

Experimental Results

Using the CIFAR-10 dataset and a ResNet-20 model, the researchers simulated data heterogeneity using a Dirichlet distribution ($\text{Dir}_{10}(\alpha)$). The results confirmed the "cliff" of underestimation: when $f=4$ and the server assumed $\hat{f}=0$, accuracy plummeted to ~10% (equivalent to random guessing).

Conversely, overestimation showed a clear performance decay. For instance, with $\alpha=1.0$, accuracy dropped from 74.19% (exact estimate $\hat{f}=f=4$) to 72.45% (overestimate $\hat{f}=7$). This decay was significantly more pronounced in high-heterogeneity settings (low $\alpha$), where overestimating $\hat{f}$ caused accuracy to drop from approximately 54% to 43%.

Key Insights and Conclusion

The study establishes that the performance penalty for overestimating Byzantine presence is an inherent mathematical property of robust aggregation, not a specific algorithmic flaw. There exists a "Goldilocks" zone for $\hat{f}$: a higher estimate makes the system safer against more potential attackers but introduces noise that hampers accuracy even if no attackers are present.

While the current study focuses on untargeted attacks and assumes $f < n/2$, it provides a critical foundation for understanding the security-utility trade-off in FL. Future work may focus on developing adaptive algorithms that can dynamically estimate $f$ during training to minimize the trade-off penalty and optimize model performance in real-world, heterogeneous environments.

Summary updated

BibTeX
@misc{chen2025trade,
  author = {Ziyi Chen and Su Zhang and Heng Huang},
  title = {{Trade-off in Estimating the Number of Byzantine Clients in Federated Learning}},
  year = {2025},
  eprint = {2510.04432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04432},
}
Figure