Skip to main content
QUICK REVIEW

[Paper Review] Provably Secure Federated Learning against Malicious Clients

Xiaoyu Cao, Jinyuan Jia|arXiv (Cornell University)|Feb 3, 2021
Privacy-Preserving Technologies in DataComputer Science7 citations
TL;DR

This paper proposes ensemble federated learning, a provably secure defense against malicious clients in federated learning. By training multiple global models on random client subsets and using majority voting for inference, the method ensures that predicted labels remain unaffected by up to a bounded number of malicious clients, achieving a certified accuracy of 88% on MNIST with 20 out of 1,000 clients compromised.

ABSTRACT

Federated learning enables clients to collaboratively learn a shared global model without sharing their local training data with a cloud server. However, malicious clients can corrupt the global model to predict incorrect labels for testing examples. Existing defenses against malicious clients leverage Byzantine-robust federated learning methods. However, these methods cannot provably guarantee that the predicted label for a testing example is not affected by malicious clients. We bridge this gap via ensemble federated learning. In particular, given any base federated learning algorithm, we use the algorithm to learn multiple global models, each of which is learnt using a randomly selected subset of clients. When predicting the label of a testing example, we take majority vote among the global models. We show that our ensemble federated learning with any base federated learning algorithm is provably secure against malicious clients. Specifically, the label predicted by our ensemble global model for a testing example is provably not affected by a bounded number of malicious clients. Moreover, we show that our derived bound is tight. We evaluate our method on MNIST and Human Activity Recognition datasets. For instance, our method can achieve a certified accuracy of 88% on MNIST when 20 out of 1,000 clients are malicious.

Motivation & Objective

  • To address the vulnerability of federated learning to malicious clients that can corrupt the global model through manipulated updates.
  • To develop a defense that provably guarantees label correctness for testing examples, even when some clients are malicious.
  • To provide a tight, theoretically grounded certified security level that cannot be exceeded without additional assumptions.
  • To design a scalable algorithm for estimating certified security levels in large-scale federated learning settings.

Proposed method

  • The method trains multiple global models using a base federated learning algorithm, each on a randomly selected subset of k clients from n total clients.
  • For each testing example, the label is predicted via majority vote among all global models, with the label having the highest vote count selected.
  • The certified security level is defined as the maximum number of malicious clients such that the majority vote label remains unchanged.
  • A Monte Carlo algorithm is used to estimate the largest and second-largest label probabilities when the number of subsets is too large for exact computation.
  • Theoretical analysis proves that the derived certified security level is tight, meaning no larger bound can be achieved without stronger assumptions on the base algorithm.
  • The method is evaluated on MNIST and Human Activity Recognition datasets under varying degrees of non-IID data and malicious client ratios.

Experimental results

Research questions

  • RQ1Can a federated learning system provably guarantee that the predicted label for a testing example is not affected by a bounded number of malicious clients?
  • RQ2Is it possible to derive a tight certified security level that cannot be exceeded by any other method under the same assumptions?
  • RQ3How does the performance of the ensemble method vary under different levels of data non-IIDness and malicious client ratios?
  • RQ4Can an efficient algorithm estimate the certified security level without training all possible global models?

Key findings

  • The ensemble federated learning method achieves a certified accuracy of 88% on MNIST when 20 out of 1,000 clients are malicious, demonstrating strong robustness.
  • Even under high non-IID data distribution (q = 0.9), the certified accuracy remains at 83% when only 10 clients are malicious, showing resilience to data heterogeneity.
  • The certified accuracy saturates once the number of global models exceeds a threshold, indicating diminishing returns beyond a certain number of ensembles.
  • The derived certified security level is provably tight, meaning no alternative method can achieve a higher bound without additional assumptions on the base federated learning algorithm.
  • The Monte Carlo estimation algorithm enables scalable computation of certified security levels, making the method practical for large client pools.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.