Abstract
Federated learning (FL) is vulnerable to backdoor attacks, yet most existing methods are limited by fixed-pattern or single-target triggers, making them inflexible and easier to detect. We propose FLAT (FL Arbitrary-Target Attack), a novel backdoor attack that leverages a latent-driven conditional autoencoder to generate diverse, target-specific triggers as needed. By introducing a latent code, FLAT enables the creation of visually adaptive and highly variable triggers, allowing attackers to select arbitrary targets without retraining and to evade conventional detection mechanisms. Our approach unifies attack success, stealth, and diversity within a single framework, introducing a new level of flexibility and sophistication to backdoor attacks in FL. Extensive experiments show that FLAT achieves high attack success and remains robust against advanced FL defenses. These results highlight the urgent need for new defense strategies to address latent-driven, multi-target backdoor threats in federated settings.
Introduction
Federated Learning (FL) has emerged as a privacy-preserving paradigm where multiple clients collaboratively train a global model without sharing raw data. However, this decentralized nature introduces significant security vulnerabilities, particularly susceptibility to backdoor attacks. In these attacks, a malicious client "poisons" local updates to embed a hidden trigger. When this trigger is present in an input, the global model misclassifies it into a target class chosen by the attacker, while maintaining normal performance on clean data.
Traditional backdoor attacks often rely on static, repetitive triggers that leave distinct statistical fingerprints, making them detectable by modern robust aggregation and anomaly detection frameworks. We introduce FLAT (FL Arbitrary-Target Attack), a sophisticated framework that generates visually adaptive, non-repeating triggers for arbitrary target classes, effectively bypassing current defenses.
Problem Statement: The Limitations of Static Triggers
Most existing FL backdoor attacks are "brittle" due to two main factors:
- Lack of Diversity: Repetitive triggers (e.g., fixed pixel patches) create outliers in the update space. Defenses like FLAME or RFLBAT exploit this by filtering out updates that deviate significantly from the norm.
- Fixed Targets: Most attacks are designed for a single target class. Changing the target often requires retraining the entire attack mechanism, limiting the attacker's flexibility.
The core challenge is achieving intra-class diversity—ensuring that malicious updates for the same target class look as varied as benign updates, thereby blending into the natural data distribution.
Methodology: The FLAT Framework
The cornerstone of FLAT is a Conditional Autoencoder (CAE) utilizing a U-Net architecture. Unlike deterministic attacks, FLAT generates perturbations based on three distinct inputs to ensure both adaptability and diversity.
As shown in the architecture above, the generator $G$ takes:
- Clean Image ($X_c$): Ensures the trigger is visually consistent with the background.
- Target Label ($T$): Enables on-the-fly selection of any target class.
- Latent Code ($z$): Sampled from a prior distribution, this random variable ensures that every generated trigger is unique.
The training objective for the generator is a multi-part loss function involving Attack Loss ($L_{atk}$), Stealth Loss ($L_{stealth}$), and Diversity Loss ($L_{div}$). $L_{stealth}$ minimizes perceptual differences using $\ell_2$ or LPIPS to maintain visual invisibility, while $L_{div}$ prevents the generator from collapsing into a single pattern by maximizing the distance between triggers generated from different latent codes.
Experimental Evaluation
We evaluated FLAT across four benchmarks: MNIST, Fashion-MNIST, CIFAR-10, and TinyImageNet. To simulate realistic FL conditions, data was partitioned using a Dirichlet distribution ($\alpha=0.5$) to create a non-IID environment.
Performance and Robustness
FLAT demonstrates superior performance compared to state-of-the-art baselines such as BadNets, IBA, and Marksman. On CIFAR-10, FLAT achieved an Attack Success Rate (ASR) of 94.7%, outperforming the previous best conditional attack (Marksman at 90.2%).
Crucially, FLAT remains resilient against advanced defenses. Against RFLBAT, traditional attacks like BadNets saw success rates drop to ~15%, while FLAT maintained a formidable 65.2% ASR. This resilience is largely due to the diversity of the generated triggers, which prevents the defense from identifying a consistent malicious signature.
Impact on Model Utility
A key requirement for a successful backdoor is maintaining high accuracy on clean data. FLAT consistently results in a negligible utility drop—less than 1.3% across all tested datasets—making the attack virtually undetectable through standard performance monitoring.
Discussion and Conclusion
The primary insight of this work is that diversity is a form of stealth. By shifting from deterministic to stochastic, latent-driven attacks, FLAT evades defenses that rely on statistical consistency. While FLAT requires more local computation than simple patching, its ability to target arbitrary classes without retraining makes it a highly flexible threat. FLAT underscores the urgent need for the FL community to develop more sophisticated, distribution-aware defense mechanisms.
Summary updated