Towards Understanding Adversarial Transferability in Federated Learning

Yijiang Li, Ying Gao, Haohan Wang

Abstract

We investigate a specific security risk in Federated Learning (FL): a group of malicious clients impacts the model during training by disguising their identities as benign clients, only to later switch to an adversarial role. They use their local data to train a substitute model and conduct transferable adversarial attacks against the global federated model. This attack is subtle and hard to detect because these clients initially appear benign. We empirically show that this attack poses a high-security risk; using only 3% of client data can achieve an attack rate over 80%. Surprisingly, FL systems exhibit higher robustness than centralized counterparts when both are equally performant on regular data. We attribute this to decentralized data training and model update averaging.

Introduction

Adversarial attacks typically involve white-box access or training-time poisoning. However, in real-world FL deployments, attackers rarely have full model access, and systems often employ defenses against malicious updates. This paper identifies a third, more subtle threat: Adversarial Transferability. In this scenario, "sleeper" agents participate honestly in training, collect local data, and subsequently train a "surrogate" model to generate adversarial examples that transfer to the global model. This study explores the vulnerability of FL to such covert attacks compared to traditional centralized learning.

Methodology

The researchers simulate an FL environment where a small percentage of clients are malicious but act benignly during the training phase.

  1. Attack Model: Malicious clients train a surrogate model centrally on their local data. They then generate adversarial perturbations using techniques like Projected Gradient Descent (PGD) and AutoAttack.
  2. Evaluation Metric: The primary metric is the Transfer Rate (T.Rate), defined as the proportion of adversarial examples that successfully fool the target model among those that already fooled the surrogate.
  3. Comparative Framework: FL models are compared against centralized models with matched "clean" accuracy to ensure a fair assessment of intrinsic robustness.
  4. Datasets: Evaluations are conducted on CIFAR-10, CIFAR-100, ImageNet200, and SVHN.

Analysis of Robustness and Results

A key finding is that FL is naturally more robust to transferable attacks than centralized systems. When a centralized model and an FL model achieve the same accuracy on clean data, the FL model is significantly harder to compromise via transfer.

Adversarial accuracy comparison between centralized and federated paradigms.

As shown in the table above, federated models often maintain higher adversarial accuracy (Adv.A) compared to centralized models when clean accuracy is controlled. This robustness stems from two "dilution" effects:

  • Decentralized Training: The model never observes the entire dataset simultaneously. Data heterogeneity makes it difficult for a surrogate model trained on a small slice to capture the global decision boundary.
  • Model Averaging: The server-side averaging process acts as a filter, washing out specific features that a single malicious client might attempt to exploit.
Transfer accuracy and rate across various configurations and user counts.

Despite this relative robustness, the threat remains significant. As illustrated in Figure 1, an attacker only needs a small fraction of the total data (approximately 3% to 7%) to achieve a transfer success rate exceeding 80% when employing advanced techniques like data augmentation or pre-training. Furthermore, because these attackers act benignly during training, standard Byzantine-robust aggregation methods are ineffective at stopping them.

Conclusion

This research highlights a critical vulnerability in FL systems while simultaneously uncovering an inherent resilience compared to centralized learning. While decentralized data and model averaging provide a layer of protection, the high success rate of transfer attacks using minimal data suggests that future FL security research must look beyond poisoning defenses. Future work should explore more sophisticated surrogate training styles and hybrid query-based attacks to further map the security landscape of federated systems.

Summary updated

BibTeX
@article{li2024towards,
  author = {Yijiang Li and Ying Gao and Haohan Wang},
  title = {{Towards Understanding Adversarial Transferability in Federated Learning}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=hafnY2PiTn},
}
Figure