English

Can You Really Backdoor Federated Learning?

Machine Learning 2019-12-04 v2 Cryptography and Security Machine Learning

Abstract

The decentralized nature of federated learning makes detecting and defending against adversarial attacks a challenging task. This paper focuses on backdoor attacks in the federated learning setting, where the goal of the adversary is to reduce the performance of the model on targeted tasks while maintaining good performance on the main task. Unlike existing works, we allow non-malicious clients to have correctly labeled samples from the targeted tasks. We conduct a comprehensive study of backdoor attacks and defenses for the EMNIST dataset, a real-life, user-partitioned, and non-iid dataset. We observe that in the absence of defenses, the performance of the attack largely depends on the fraction of adversaries present and the "complexity'' of the targeted task. Moreover, we show that norm clipping and "weak'' differential privacy mitigate the attacks without hurting the overall performance. We have implemented the attacks and defenses in TensorFlow Federated (TFF), a TensorFlow framework for federated learning. In open-sourcing our code, our goal is to encourage researchers to contribute new attacks and defenses and evaluate them on standard federated datasets.

Keywords

Cite

@article{arxiv.1911.07963,
  title  = {Can You Really Backdoor Federated Learning?},
  author = {Ziteng Sun and Peter Kairouz and Ananda Theertha Suresh and H. Brendan McMahan},
  journal= {arXiv preprint arXiv:1911.07963},
  year   = {2019}
}

Comments

To appear at the 2nd International Workshop on Federated Learning for Data Privacy and Confidentiality at NeurIPS 2019

R2 v1 2026-06-23T12:19:58.267Z