MPAF: Model Poisoning Attacks to Federated Learning based on Fake Clients

Xiaoyu Cao, Neil Zhenqiang Gong

Abstract

Federated Learning (FL) is designed to train global models on decentralized data while maintaining privacy. However, its reliance on client-side updates introduces significant vulnerabilities. We present MPAF (Model Poisoning Attack based on Fake clients), a novel untargeted attack that leverages the low cost of injecting fake clients rather than the high cost of compromising genuine ones. By consistently "dragging" the global model toward a poorly performing base model, MPAF effectively bypasses standard Byzantine-robust defenses. Our evaluation across multiple datasets demonstrates that even a small fraction of fake clients can lead to a total collapse of model accuracy.

Introduction

Federated Learning (FL) enables large-scale collaborative training on edge devices without centralizing raw data. While privacy-preserving, this architecture is susceptible to model poisoning, where malicious participants submit adversarial updates to degrade the global model's performance. Traditional threat models assume an attacker must compromise a significant portion of genuine users—a difficult and expensive feat in systems with millions of participants.

MPAF challenges this assumption by focusing on fake client injection. Creating emulated clients is significantly cheaper than hacking secured consumer hardware. This paper explores the potency of these low-cost participants in destabilizing FL systems.

Methodology: The "Dragging" Strategy

The core innovation of MPAF is the "dragging" mechanism. Unlike previous attacks that use random noise or attempt to reverse historical updates, MPAF is persistent and unidirectional.

Illustration of the dragging mechanism in MPAF, where fake updates pull the global model toward a low-accuracy base model $w'$.

The attack follows a four-step process:

  1. Base Model Selection: The attacker identifies a "base model" ($w'$) with minimal accuracy (e.g., random initialization).
  2. Directional Update: In each round $t$, fake clients compute the vector $d = w' - w^t$, representing the direction from the current global model toward the base model.
  3. Scaling: Updates are multiplied by a scaling factor $\lambda$ to maximize their influence on the aggregate, effectively "shouting" over genuine updates.
  4. Consistency: By repeatedly pulling toward the same $w'$, the attack prevents the model from recovering, even if fake clients are only sporadically sampled.

Notably, MPAF requires minimum knowledge: it does not need access to genuine user data, server-side learning rates, or the specific defense algorithm in use.

Experimental Evaluation

We evaluated MPAF on three benchmark datasets: MNIST (handwritten digits), Fashion-MNIST (clothing items), and Purchase (customer purchase styles). We tested against three aggregation rules: standard FedAvg and two robust alternatives, Median and Trimmed-mean.

Key Results

MPAF demonstrates devastating effectiveness across all scenarios.

Test accuracy vs. fraction of fake clients for different aggregation rules (FedAvg, Median, Trimmed-mean) across three datasets. MPAF consistently outperforms baseline attacks.
  • FedAvg Vulnerability: On all datasets, injecting just 1% fake clients was sufficient to reduce global model accuracy to the level of random guessing.
  • Resilience Against Robust Defenses: While Median and Trimmed-mean offer some protection, they are not immune. On the Purchase dataset, 10% fake clients caused a 32% drop in accuracy even under Trimmed-mean aggregation.
  • Consistency vs. Baselines: Compared to "Random" and "History-based" attacks, MPAF's unidirectional nature ensures that its impact accumulates over training rounds rather than cancelling out.

Discussion and Future Work

The success of MPAF highlights a critical shift in the FL threat landscape: the "cheapness" of fakes makes model poisoning a more immediate threat than previously estimated. While countermeasures like Norm Clipping (limiting update magnitudes) can mitigate the attack's speed, they do not eliminate the underlying vulnerability; they merely require the attacker to be more persistent.

Future research should focus on adapting the dragging mechanism to introduce specific backdoors (Targeted MPAF) and developing anomaly detection systems capable of identifying the consistent directional signature of a dragging attack.

Conclusion

MPAF proves that Federated Learning is highly vulnerable to fake client injection. By shifting the focus from compromising genuine devices to flooding the network with inexpensive fakes, attackers can systematically degrade model performance even in the presence of robust aggregation rules. This work underscores the need for more sophisticated defense mechanisms that account for persistent, directional adversarial updates.

Summary updated

BibTeX
@inproceedings{cao2022mpaf,
  author = {Xiaoyu Cao and Neil Zhenqiang Gong},
  title = {{MPAF: Model Poisoning Attacks to Federated Learning based on Fake Clients}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
  url = {https://openreview.net/forum?id=CbVJQXETWk},
}
Figure