A Learning-Based Attack Framework to Break SOTA Poisoning Defenses in Federated Learning

Yuxin Yang, Qiang Li, Chenfei Nie, Yuan Hong, Meng Pang, Binghui WangarXiv 2024 · DOI

Abstract

Federated Learning (FL) enables collaborative model training while preserving data privacy, yet it remains susceptible to poisoning attacks. While recent "robust" aggregators (AGRs) like FLAME, MDAM, and Centered Clipping (CC) aim to mitigate these threats through sophisticated filtering and clipping, their actual security guarantees are questionable. This paper presents a novel optimization-based attack framework designed to systematically bypass state-of-the-art defenses. By mathematically constraining malicious updates to reside just within the "safe zones" defined by these aggregators, the proposed attack can inject significant poison without detection. Experimental results on FMNIST, CIFAR10, and FEMNIST datasets demonstrate that our framework can achieve backdoor accuracies as high as 96% and severely degrade main task performance, revealing critical vulnerabilities in current SOTA defenses.

Introduction

Federated Learning (FL) has become a cornerstone for privacy-sensitive applications, allowing multiple clients to train a global model without sharing raw data. However, the inherent lack of visibility into client data creates a significant security gap: malicious participants can perform poisoning attacks by submitting corrupted updates. These attacks aim to either degrade the global model's overall performance (untargeted) or install a "backdoor" that triggers specific misclassifications (targeted).

To defend against such threats, researchers have developed Robust Aggregators (AGRs). While early defenses like Krum or Median were easily circumvented, a new generation of SOTA defenses—including FLAME, MDAM, FLDetector, and Centered Clipping (CC)—has emerged. These systems employ advanced techniques such as adaptive clipping, cosine similarity filtering, and momentum-based outlier detection. This research investigates whether these advanced defenses are truly robust or if they merely raise the bar for sophisticated attackers.

Methodology

We propose an optimization-based attack framework that treats the defense mechanism itself as a constraint. Instead of naive poisoning, the attacker solves a mathematical problem to find an "optimal" malicious update that maximizes damage while remaining stealthy.

The Core Logic: Hiding in the Safe Zone

The fundamental principle of our attack is to maximize the distance between malicious and benign updates while ensuring this distance remains below the threshold used by the defense's filtering or clipping mechanism. Every robust aggregator implicitly defines a "safe zone" of acceptable updates; our framework identifies the edge of this zone to inject the maximum possible poison.

Visualizing the attack logic against FLAME, MDAM, and CC defenses.

Tailored and Agnostic Attacks

  • AGR-Tailored Attacks: When the specific defense is known, the attack is customized. For FLAME, we use Projected Gradient Descent (PGD) to rotate malicious gradients to pass cosine similarity filters. For MDAM, we optimize update momentum to stay within the group's smallest diameter.
  • AGR-Agnostic Attacks: If the defense is unknown, the framework employs a generalized Euclidean distance metric to approach benign updates just enough to bypass most statistical filters.
  • Scaling Hyperparameter ($\gamma$): We utilize both iterative binary search and analytic solutions to determine the optimal scaling factor ($\gamma$), balancing attack impact with stealth.

Experimental Evaluation

The framework was evaluated on three benchmark image datasets commonly used in FL research:

  • FMNIST (Fashion-MNIST): 60,000 images of clothing (IID distribution).
  • CIFAR10: 50,000 color images across 10 classes (IID distribution).
  • FEMNIST: A non-IID (heterogeneous) dataset containing over 800,000 images from 3,000+ clients, representing a more realistic and challenging FL scenario.

Results and Discussion

Our evaluation reveals that current SOTA defenses are surprisingly fragile. The "safe zone" intended to protect the model actually serves as a vulnerability that attackers can exploit.

Breaking Backdoor and Main Task Performance

Against FLAME, which typically stops standard Distributed Backdoor Attacks (DBA), our tailored attack achieved backdoor accuracies (BA) as high as 96% without compromising main task accuracy (MA). Against Centered Clipping (CC), the attack successfully reduced main task accuracy to near-zero by selecting gradients that were small enough to avoid clipping but large enough to steer the model toward failure.

Performance comparison (Main Accuracy / Backdoor Accuracy) across different datasets and attack settings.

Bypassing Detection and Exploiting Diversity

Defenses like FLDetector, which monitor update consistency over time, failed to distinguish malicious clients from benign ones because our optimized updates produced "suspicious scores" nearly identical to clean clients. Furthermore, in non-IID settings like FEMNIST, the natural diversity of benign updates creates a larger "safe zone," providing more room for damaging updates to hide.

Conclusion

This work demonstrates that current statistical and distance-based defenses in Federated Learning are insufficient against optimization-based adversaries. While provably robust defenses like CRFL offer more resilience, their practical utility is limited by small certified radii. Future research should focus on developing defenses that move beyond simple statistical filtering and explore robustness in complex domains like Federated Graph Learning.

Summary updated

BibTeX
@misc{yang2024learning,
  author = {Yuxin Yang and Qiang Li and Chenfei Nie and Yuan Hong and Meng Pang and Binghui Wang},
  title = {{A Learning-Based Attack Framework to Break SOTA Poisoning Defenses in Federated Learning}},
  year = {2024},
  eprint = {2407.15267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.15267},
}
Figure