TL;DR
This paper investigates the security of Hierarchical Federated Learning (HFL) against adversarial attacks, revealing that while HFL's hierarchical structure offers some resilience, targeted attacks like backdoors can exploit it. The research proposes a novel methodology to assess HFL security and highlights the effectiveness of adversarial training and neural cleansing as defense mechanisms.
What Problem Does This Paper Address?
Federated Learning (FL) allows collaborative model training across decentralized devices while preserving data privacy. However, traditional FL with a single central server can be a bottleneck. Hierarchical Federated Learning (HFL) addresses this by introducing multiple layers of aggregation servers (edge and cloud), improving efficiency and scalability. Despite these advantages, HFL introduces a larger attack surface due to its multi-level architecture, making it vulnerable to adversarial attacks that can compromise data integrity and model performance. This paper aims to systematically assess the security of HFL against various adversarial attacks and understand how its hierarchical structure impacts its robustness and the effectiveness of defense strategies.
Methods
The authors propose a novel methodology for assessing HFL security, focusing on its resilience against both inference-time and training-time adversarial attacks. They conduct comparative analyses of different HFL architectures (3-level and 4-level) against traditional FL and centralized machine learning (CML) models.
For inference-time attacks, they employ white-box attacks like Adversarial Patch (AP), Fast Gradient Method (FGM), Projected Gradient Descent (PGD), and Saliency Map Method (JSMA), as well as black-box attacks like Square Attack (SA) and Spatial Transformations Attack (ST).
For training-time attacks, they consider:
- Data Poisoning Attacks (DPA): Specifically, targeted label flipping (TLF) to introduce backdoors and untargeted label flipping (ULF) for random misclassifications.
- Model Poisoning Attacks (MPA): Both client-side sign flipping (CSF) and server-side sign flipping (SSF).
They evaluate two primary defense mechanisms:
- Adversarial Training (AT): Retraining the model with adversarial examples to improve robustness.
- Neural Cleanse (NC): A method to identify and remove neurons potentially affected by attacks, particularly effective against backdoor attacks.
Datasets
The experiments were conducted using three popular image classification datasets:
- MNIST
- Fashion-MNIST
- CIFAR-10
These datasets were split according to the Dirichlet distribution to simulate non-IID real-world scenarios.
Key Insights and Ideas
- HFL's Dual Nature: HFL shows robustness against untargeted training-time attacks due to its multi-level aggregation, which helps mitigate outlier impacts. However, its hierarchical structure can be exploited by targeted attacks, especially when malicious clients are strategically placed in overlapping server coverage areas.
- Targeted Attacks Exploit Hierarchy: Backdoor attacks (TLF) are particularly effective against HFL, with the 4-level model exhibiting higher vulnerability. The overlapping coverage of edge servers amplifies the potency of these attacks.
- Defense Mechanisms are Crucial: Adversarial training significantly improves model robustness against inference-time attacks across all models, with HFL architectures showing promising results. Neural Cleanse is highly effective in mitigating targeted backdoor attacks, substantially reducing their success rate.
- Client Selection Matters: The inherent client selection mechanism in FL (choosing a subset of clients per round) contributes to its resilience against untargeted attacks, requiring a large number of compromised clients to significantly impact accuracy.
- Server-Side Attacks Less Impactful: Both client-side and server-side model poisoning attacks showed minimal increases in Misclassification Rate (MR) for HFL models, with the 4-level HFL demonstrating superior resilience compared to the 2-level FL.
Key Results
- Baseline Performance: The 4-level HFL model demonstrated the highest performance without attacks, followed by 3-level HFL, then 2-level FL, and finally CML. HFL architectures generally lead to faster convergence.
- Inference-Time Attacks: Most inference-time attacks (except Adversarial Patch) resulted in a high Misclassification Rate (MR) between 80% and 100% for all models without defense.
- Adversarial Training: Adversarial training significantly reduced MR across all models. HFL models, especially the 4-level, showed even lower MR than CML models after AT.
- Training-Time Attacks (TLF): Targeted label flipping attacks showed stable MR on clean data but significantly increased Targeted Attack Success Rate (TASR). CML models were highly vulnerable, followed by 4-level HFL, then 3-level HFL, and 2-level FL. Malicious clients in overlapping areas amplified TASR.
- Training-Time Attacks (ULF): CML models were more affected by untargeted attacks than FL and HFL models. Even with 10 compromised clients, the MR increase for FL/HFL was minimal (e.g., 0.2% for MNIST).
- Model Poisoning: Both client-side and server-side model poisoning attacks resulted in minimal MR increases for HFL models, with the 4-level HFL showing better resilience.
Limitations and Future Work
- Vulnerability to Targeted Attacks: The paper highlights that targeted attacks, particularly backdoors, exploit HFL's architectural nuances, especially when malicious clients are strategically positioned in overlapping coverage areas. This necessitates further research into tailored security strategies.
- Dataset Complexity: The paper notes that direct adversarial training can lead to higher MR on clean data with increased dataset complexity (e.g., CIFAR-10), suggesting a need for further research on complex, large-scale datasets.
- Future Directions: The authors emphasize the need for further research in HFL security, focusing on developing tailored defense mechanisms to mitigate risks and bolster the overall security and reliability of HFL systems for broader applications. They also suggest exploring adaptive defense strategies for specific attack scenarios.
Summary updated