Byzantine-Resilient Zero-Order Optimization for Communication-Efficient Heterogeneous Federated Learning

Maximilian Egger, Mayank Bakshi, Rawad BitararXiv 2025 · DOI

Introduction

Federated Learning (FL) enables collaborative model training without centralizing raw data, yet its practical deployment is often hindered by three concurrent challenges: massive communication overhead, vulnerability to Byzantine (malicious) participants, and data heterogeneity across clients. This paper introduces CYBER-0, a framework that addresses these issues by integrating Zero-Order (ZO) optimization with a novel transformed aggregation strategy. CYBER-0 significantly reduces communication costs—by up to seven orders of magnitude—while maintaining robustness against sophisticated attacks in non-i.i.d. data environments.

The Triple Threat in Federated Learning

Standard FL approaches typically struggle with a "triple threat":

  1. Communication Bottlenecks: Transmitting full gradients for large-scale models (millions of parameters) is prohibitively expensive.
  2. Byzantine Adversaries: Malicious clients can send poisoned updates to degrade model performance or cause divergence.
  3. Data Heterogeneity: Real-world data is often non-i.i.d. Traditional robust aggregation rules frequently misidentify legitimate updates from clients with unique data distributions as malicious.

Methodology: The CYBER-0 Framework

The core innovation of CYBER-0 is the shift from gradient-based to Zero-Order (ZO) optimization. Instead of backpropagating to compute exact gradients, ZO methods estimate gradients by applying small random perturbations to the model and measuring the resulting change in the loss function.

Key Technical Components

  • Shared Seed Mechanism: To minimize communication, the server and clients share a small random seed. This allows all participants to locally generate identical perturbation vectors, eliminating the need to transmit high-dimensional vectors.
  • Transformed Robust Aggregation: Unlike traditional methods that perform robust aggregation in high-dimensional gradient space, CYBER-0 aggregates the scalars resulting from ZO evaluations in a low-dimensional perturbation space. Leveraging the Johnson-Lindenstrauss lemma, the authors prove that security-critical geometric properties are preserved in this reduced space.
  • Plug-and-Play Compatibility: The framework supports various robust aggregation rules, including Coordinate-Wise Trimmed Mean (CWTM), Krum, and Nearest Neighbor Mixing (NNM).

Experimental Evaluation

The authors evaluated CYBER-0 using two primary benchmarks: MNIST for logistic regression under various Byzantine attacks, and NLP fine-tuning of the RoBERTa-large model (355M parameters) on SST-2, SNLI, and TREC datasets.

Key Results: Efficiency and Robustness

CYBER-0 demonstrates exceptional communication efficiency. As shown in the comparison with FedAvg, CYBER-0 variants achieve high accuracy with a fraction of the communication cost required by standard gradient-based methods.

Accuracy vs. Normalized Communication Cost comparing CYBER-0 variants to FedAvg baselines.

Furthermore, the framework exhibits strong resilience to adversarial behavior. In tests against sophisticated attacks such as "Fall of Empires" (FOE) and "A Little is Enough" (ALIE), CYBER-0 maintained performance levels close to the "no-attack" baseline. For example, on the TREC dataset, the worst-case accuracy drop under attack was reported at only approximately 7%.

Robustness of CYBER-0 against various Byzantine attacks over training epochs.

Conclusion and Future Work

CYBER-0 effectively bridges the gap between communication efficiency and Byzantine resilience in heterogeneous FL. By performing robust aggregation in a low-dimensional perturbation space, it enables the fine-tuning of large models on resource-constrained edge devices. Future research directions include bridging the theoretical gap regarding the required number of perturbations and scaling the framework to even larger generative models like Llama-3.

Summary updated

BibTeX
@misc{egger2025byzantine,
  author = {Maximilian Egger and Mayank Bakshi and Rawad Bitar},
  title = {{Byzantine-Resilient Zero-Order Optimization for Communication-Efficient Heterogeneous Federated Learning}},
  year = {2025},
  eprint = {2502.00193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.00193},
}
Figure