Abstract
As a distributed machine learning paradigm, Federated Learning (FL) enables large-scale clients to collaboratively train a model without sharing their raw data. However, due to the lack of data auditing for untrusted clients, FL is vulnerable to poisoning attacks, especially backdoor attacks. By using poisoned data for local training or directly changing the model parameters, attackers can easily inject backdoors into the model, which can trigger the model to make misclassification of targeted patterns in images. To address these issues, we propose a novel data-free trigger-generation-based defense approach based on the two characteristics of backdoor attacks: i) triggers are learned faster than normal knowledge, and ii) trigger patterns have a greater effect on image classification than normal class patterns. Our approach generates the images with newly learned knowledge by identifying the differences between the old and new global models, and filters trigger images by evaluating the effect of these generated images. By using these trigger images, our approach eliminates poisoned models to ensure the updated global model is benign. Comprehensive experiments demonstrate that our approach can defend against almost all the existing types of backdoor attacks and outperform all the seven state-of-the-art defense methods with both IID and non-IID scenarios. Especially, our approach can successfully defend against the backdoor attack even when 80% of the clients are malicious.
Introduction
Federated Learning (FL) allows multiple clients to train a model collectively without sharing private data. However, this privacy creates a security vulnerability: the central server cannot audit training data. Malicious clients can perform backdoor attacks, teaching the model to misclassify inputs containing a specific "trigger" while behaving normally on clean data.
Existing defenses often suffer from two major flaws: a dependency on "clean" auxiliary datasets (which are often unavailable due to privacy) and poor performance in heterogeneous (non-IID) environments, where natural data diversity is often mistaken for malicious activity.
Methodology: The FilterFL Framework
FilterFL operates entirely on the server side using only uploaded model weights, requiring no auxiliary data. It leverages two core observations: backdoors are learned faster than complex natural features ("easy knowledge"), and poisoned models exhibit a massive sensitivity gap when exposed to their specific triggers.
1. Knowledge Extraction (CGAN-1)
In each communication round, the server creates a temporary aggregate of all uploaded models. It trains a Conditional Generative Adversarial Network (CGAN) to generate samples representing "incremental knowledge"—features recognized by the new models but absent in the previous global model.
2. Trigger Filtering (CGAN-2)
Because backdoor triggers are essentially shortcuts, FilterFL uses a second CGAN to isolate these patterns. It identifies patterns that, when superimposed on other images, force the model to classify them into a specific target category with high confidence.
3. Model Exclusion
Once potential triggers are hallucinated, the server runs them through every individual client model. If a client's model classifies a trigger into the target category with disproportionately high confidence, it is flagged as poisoned and excluded from the final aggregation.
Experimental Evaluation
The researchers evaluated FilterFL on five standard benchmarks: MNIST, CIFAR-10, CIFAR-100, GTSRB, and Tiny-ImageNet. These were tested across various levels of data heterogeneity to simulate realistic real-world conditions.
Key Results
- Superior Defense: In non-IID CIFAR-10 scenarios, FilterFL maintained an Attack Success Rate (ASR) of ~2.48%, significantly lower than competing defenses which often saw ASRs exceed 20%.
- Resilience to Malicious Majorities: The system remained effective even when 80% of the clients were malicious, a scenario where most state-of-the-art defenses fail.
- Efficiency: The computational overhead for the CGANs is approximately 4.5% of total training time, making it viable for production use.
- Privacy Compatibility: FilterFL remains effective even when clients employ Local Differential Privacy (LDP).
Conclusion
FilterFL provides a robust, data-free defense against backdoor attacks in Federated Learning. By hallucinating incremental knowledge and filtering for high-impact trigger patterns, it successfully identifies malicious updates without compromising client privacy or requiring auxiliary datasets. Future work will explore extending this generative filtering approach to Natural Language Processing and tabular data domains.
Summary updated