Denial-of-Service or Fine-Grained Control: Towards Flexible Model Poisoning Attacks on Federated Learning

Hangtao Zhang, Zeming Yao, Leo Yu Zhang, Shengshan Hu, Chao Chen, Alan Liew, Zhetao Li

TL;DR

Federated Learning (FL) systems are highly vulnerable to model poisoning, but existing attacks either require unrealistic insider knowledge or blindly aim for total model destruction. This paper introduces the Flexible Model Poisoning Attack (FMPA), a stealthy approach that uses historical global models to predict benign updates. This allows adversaries to either maximize indiscriminate damage or precisely engineer a subtle, undetectable accuracy drop to sabotage commercial competitors.

What Problem Does This Paper Address?

In Federated Learning (FL), a central server aggregates model updates from multiple decentralized clients to train a global model without directly accessing their private data. Because the server cannot verify the integrity of local data, FL is highly susceptible to Model Poisoning Attacks (MPAs), where malicious clients upload corrupted weights to disrupt training.

To counter this, defenders use robust Aggregation Rules (AGRs) designed to detect and filter out statistical outliers. However, current state-of-the-art MPAs suffer from major flaws:

  1. Unrealistic Assumptions: They often assume the attacker knows the exact defense algorithm being used or can inspect the updates of benign clients.
  2. Rigid Heuristics: They typically craft poisoned updates by maximizing distance along a fixed, pre-prescribed direction (e.g., the inverse of the global model), which is mathematically suboptimal and easier to detect.
  3. All-or-Nothing Goals: They focus exclusively on causing a total Denial-of-Service (DoS) by destroying model accuracy. They completely miss a highly dangerous, realistic threat vector: a commercial competitor subtly degrading a model's performance just enough to gain a market advantage without triggering any alarms.

Methods

FMPA operates under a weak threat model where the adversary has no knowledge of the server's defense strategy or other clients' updates. It introduces two key innovations:

1. Predictive Reference Model (PRM)

Instead of guessing a malicious direction, FMPA uses lightweight time-series forecasting (exponential smoothing) on historical global models to predict what the next round's benign global model ($g^{t+1}$) will look like. This prediction serves as a clean "reference model."

2. Optimization-Based Parameter Perturbation

FMPA treats model poisoning similarly to generating adversarial examples. Instead of applying crude heuristic shifts, it directly optimizes the parameter perturbations ($\delta_p$) using a variant hinge loss function.

To remain hidden from robust AGRs, the attack calculates a Certified Radius ($R$) based on the maximum distance of normal local updates to the reference model. It then projects the optimized malicious update back onto a geometric ball of radius $R$ around the expected update. This ensures the poisoned update blends in perfectly with benign statistical variance.

Visualizing how FMPA optimizes the malicious update within the defense boundary compared to traditional prescribed direction attacks.

The authors split this framework into two attack variants:

  • Indiscriminate FMPA (I-FMPA): Sets the target accuracy threshold to random guessing to maximize overall damage (DoS).
  • Fine-Grained FMPA (F-FMPA): Sets the target accuracy to a specific, controlled lower bound (e.g., forcing exactly a 5% or 10% drop in final accuracy).

Datasets

The authors evaluated their approach across three standard image classification benchmarks:

  • MNIST: Evaluated using a Fully Connected (FC) network.
  • EMNIST: Evaluated using a Convolutional Neural Network (CNN) under a non-IID (non-independent and identically distributed) data split.
  • CIFAR-10: Evaluated using ResNet20 and VGG-16 architectures under an IID data split.

Key Insights and Ideas

  • Poisoning as a Precision Tool: The shift from crude "direction-flipping" to fine-grained optimization shows that model poisoning isn't just a sledgehammer for DoS; it can be a scalpel.
  • The Stealth of Controlled Degradation: A server admin can easily spot an attack that drops accuracy from 90% to 10%. However, if an attack drops accuracy from 90% to 83%, the server admin will likely assume it is just natural variance or data noise, making fine-grained control incredibly dangerous for commercial FL deployments.
  • Flipping the Script on History: While defenders frequently use historical updates to detect anomalies, FMPA proves that attackers can use that exact same historical data to forecast and mimic benign behavior.

Key Results

  • Superior Destruction (I-FMPA): When aiming for maximum damage, I-FMPA outperformed six state-of-the-art attacks across multiple robust aggregation rules (including Krum, Trimmed Mean, and Centered Clip). On average, it caused 2.4× to 3.5× higher accuracy degradation than competing methods.
  • Impeccable Control (F-FMPA): When attempting to precisely manipulate the model's accuracy drop ($\xi$), F-FMPA demonstrated remarkable accuracy. Across 27 different combinations of defense rules and targeted accuracy drops, 81.48% of the sessions achieved an attack deviation of less than 1% from the adversary's exact target.

Limitations and Future Work

Currently, FMPA still requires the malicious clients to possess and utilize local training data to compute normal local gradients before crafting the perturbation. The authors note that a valuable future direction would be exploring zero-shot flexible model poisoning attacks, which would allow compromised clients to execute these precise, stealthy attacks without needing any local training data at all.

Summary updated

BibTeX
@inproceedings{zhang2023denial,
  author = {Hangtao Zhang and Zeming Yao and Leo Yu Zhang and Shengshan Hu and Chao Chen and Alan Liew and Zhetao Li},
  title = {{Denial-of-Service or Fine-Grained Control: Towards Flexible Model Poisoning Attacks on Federated Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/508},
}
Figure