BackFed: An Efficient & Standardized Benchmark Suite for Backdoor Attacks in Federated Learning

Thinh Dao, Dung Thuy Nguyen, Khoa D. Doan, Kok-Seng WongarXiv 2025 · DOI

TL;DR

Researchers have developed a new benchmark called BackFed to standardize and rigorously evaluate backdoor attacks and defenses in Federated Learning (FL). This framework addresses critical inconsistencies and bugs in existing evaluations, revealing that many popular methods perform worse than previously claimed, especially under realistic FL conditions.

What Problem Does This Paper Address?

Federated Learning (FL) allows for collaborative model training without sharing raw data, making it ideal for privacy-sensitive applications. However, FL is vulnerable to backdoor attacks, where malicious clients poison the global model with hidden triggers. The field has seen an explosion of new attacks and defenses, but their evaluation is highly inconsistent. Studies often use unrealistic threat models, and the authors discovered bugs in existing attack codebases that artificially inflate their reported effectiveness. This makes it difficult to truly understand which methods are reliable and effective in real-world FL scenarios.

Methods

The core contribution is BackFed, a new benchmark framework designed to standardize and stress-test FL backdoor evaluations. Key features include:

  • Standardized Evaluation Protocol: BackFed unifies attacks and defenses with common interfaces and realistic experimental settings to ensure fair comparisons.
  • Efficient Multi-Processing Backend: It uses Ray for parallel client training, significantly accelerating experimentation runtime (up to 7x speedup). This is crucial for scalable FL research.
  • Extensible Modular Architecture: BackFed decouples attack mechanisms (data vs. model poisoning) and defense strategies (robust aggregation vs. anomaly detection), allowing researchers to easily compose and test new methods.
  • Realistic Threat Model: The framework assumes a relaxed threat model where attackers control a fraction of clients but have no knowledge of server-side details or other clients' data. Servers are assumed to be trustworthy.

Datasets

BackFed supports a variety of datasets, including:

  • Synthetic Non-IID Datasets: CIFAR-10/100, EMNIST, Tiny-ImageNet.
  • Natural Non-IID Datasets: FEMNIST, Sentiment140, Reddit.

The framework provides preprocessed datasets and pretrained models for easier experimentation.

Key Insights and Ideas

  • The "Arms Race" is Muddled by Evaluation Issues: The paper strongly suggests that the rapid progress in FL backdoor research is partly an illusion due to inconsistent and flawed evaluation methodologies.
  • Realism Matters: Many attacks and defenses that appear effective in unrealistic settings falter when subjected to more practical FL constraints like server-enforced time limits or random client sampling.
  • Malicious Clients Can Be Stragglers: Malicious clients often require significantly more training time and resources, making them susceptible to being excluded by server-side timeouts or selection thresholds.
  • Defenses Have Trade-offs: Robust aggregation defenses often lead to accuracy degradation, while anomaly detection defenses can introduce substantial aggregation overhead, making them impractical for real-world deployment.
  • Dynamic Attacks are Potent but Vulnerable: Attacks like IBA show strong performance and persistence, but even they can be significantly hampered by realistic FL constraints.

Key Results

  • Limited Efficacy of Popular Methods: Many popular attacks and defenses showed limited performance in BackFed's standardized environment, challenging their previously reported efficacy.
  • Server Learning Rate is Critical: The server's learning rate (η) significantly impacts attack convergence and durability. Lower η values improve robustness but make backdoors more persistent.
  • Resource Overhead: Malicious clients often incur much higher training costs (e.g., 574x more time, 2x more GPU memory for A3FL and Anticipate), highlighting their vulnerability to resource constraints.
  • Defense Performance:
    • Robust Aggregation defenses like Krum showed a good trade-off but were vulnerable to certain attacks.
  • Anomaly Detection defenses like FedDLAD performed well but incurred significant aggregation overhead (e.g., DeepSight took ~388x longer than FedAvg).
  • Practical Defenses: Simple server-side filters like selection thresholds and training timeouts proved highly effective in constraining malicious client participation and suppressing attacks.

Limitations and Future Work

  • Dataset and Model Scope: While BackFed supports multiple datasets and architectures, it doesn't include all possible scenarios (e.g., Vision Transformers were excluded due to computational requirements).
  • Attack/Defense Coverage: The benchmark includes a significant number of attacks and defenses but not every single one developed.
  • Future Work: The authors suggest future defenses should focus on mitigating dynamic attacks, be computationally efficient, and minimize accuracy reduction. They also recommend more holistic evaluations across diverse datasets and architectures to ensure generalization. The paper also highlights the need for defenses that bridge the gap between backdoor mitigation and adversarial robustness, particularly for attacks like IBA.

Summary updated

BibTeX
@misc{dao2025backfed,
  author = {Thinh Dao and Dung Thuy Nguyen and Khoa D. Doan and Kok-Seng Wong},
  title = {{BackFed: An Efficient \& Standardized Benchmark Suite for Backdoor Attacks in Federated Learning}},
  year = {2025},
  eprint = {2507.04903},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.04903},
}
Figure