NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fake or Compromised? Making Sense of Malicious Clients in Federated Learning

Hamid Mozaffari, Sunav Choudhary, Amir Houmansadr

Abstract

Federated Learning (FL) is a decentralized machine learning paradigm that allows multiple clients to collaboratively train a global model while keeping their data local. However, this decentralization introduces significant security vulnerabilities, particularly poisoning attacks. This paper addresses a critical gap in FL security literature by introducing the Hybrid Adversary model. By leveraging generative AI—specifically Denoising Diffusion Probabilistic Models (DDPMs)—attackers can "multiply" data from a minimal number of compromised devices to create a massive fleet of realistic fake clients. Our findings demonstrate that these hybrid attacks can bypass state-of-the-art robust aggregation defenses at a fraction of the cost of traditional compromise-based attacks.

Introduction: The Adversarial Spectrum

The security of Federated Learning has traditionally been analyzed through two distinct lenses: the "Compromised" model and the "Fake" model. In the compromised model, an attacker takes control of legitimate devices, which is effective but expensive and difficult to scale. Conversely, the fake model involves injecting numerous bots, which is cheap but often easily detectable due to the lack of realistic data distributions.

The authors propose that this binary view overlooks a more dangerous middle ground: the Hybrid Adversary. This model combines the realism of compromised clients with the scalability of fake clients, creating a high-impact threat that is economically viable for attackers.

Methodology: The Hybrid Attack Pipeline

The paper details a sophisticated attack pipeline designed to maximize the utility of a small initial breach. The process involves four distinct stages:

  1. Data Harvesting: The attacker compromises a very small percentage of real clients (e.g., <0.5%) to obtain a seed dataset.
  2. Generative Force Multiplication: Using the harvested data, the attacker trains a generative model—preferably a DDPM—to synthesize a large volume of data that mirrors the distribution of real users.
  3. Synthetic Injection: This synthetic data is used to populate a large number of fake clients, effectively scaling the attack's influence.
  4. DYN-OPT Attack: The attacker employs a "Dynamic Optimization" strategy, where malicious updates are mathematically tuned to maximize damage to the global model while remaining within the statistical bounds of "normal" updates to evade detection.

Experimental Evaluation

The researchers evaluated the hybrid adversary against two standard FL benchmarks: CIFAR-10 (image classification) and FEMNIST (handwritten character recognition). Both datasets were distributed in a non-IID (heterogeneous) manner to simulate real-world conditions.

Key Results

  • Devastating Sabotage: On the CIFAR-10 dataset, a hybrid attack involving only 5 compromised devices (0.5% of the total) and 106 fake clients reduced the global model's accuracy from 76% to approximately 33% when using a Median defense.
  • Defense Evasion: Traditional robust aggregation rules (AGRs) such as Multi-Krum and Trimmed-Mean, designed to filter outliers, proved ineffective. The high quality of the diffusion-generated synthetic data allowed malicious updates to blend in with legitimate user variance.
  • Economic Efficiency: The hybrid approach provides a "compromise-level" impact at "fake-level" costs. For instance, an attack using 3 compromised clients and 97 fakes was found to be as damaging as 100 fully compromised clients but cost 33 times less to execute.

Discussion and Insights

The study reveals that generative AI acts as a significant force multiplier in adversarial settings. DDPMs were found to be particularly effective, outperforming GANs in learning complex data structures from the small, noisy datasets typical of a few compromised FL clients. This "Missing Middle" in the adversary spectrum represents a significant threat to current FL deployments in applications like Gboard, Siri, and financial services.

Limitations and Future Work

While the hybrid attack is potent, it requires substantial computational effort to train generative models on limited data. Additionally, the study uses a simplified cost model that may not capture the complexities of real-world cybercrime markets. Future research must focus on developing new defensive mechanisms capable of distinguishing between natural user data heterogeneity and synthetic, model-driven malice.

Conclusion

This paper highlights a critical vulnerability in Federated Learning. By bridging the gap between fake and compromised clients, the hybrid adversary model exposes the inadequacy of current robust aggregation rules. As generative AI continues to evolve, the need for more sophisticated, context-aware defenses in decentralized learning environments becomes increasingly urgent.

Summary updated

BibTeX
@inproceedings{mozaffari2024fake,
  author = {Hamid Mozaffari and Sunav Choudhary and Amir Houmansadr},
  title = {{Fake or Compromised? Making Sense of Malicious Clients in Federated Learning}},
  booktitle = {ESORICS},
  year = {2024},
  url = {https://openreview.net/forum?id=CPxdHxcmx7},
}
Figure