Abstract
Federated Learning (FL) enables collaborative model training while preserving data privacy, yet it remains susceptible to poisoning attacks. This paper demonstrates that the success of backdoor attacks often depends on a small subset of "Backdoor-Critical" (BC) layers rather than the entire model architecture. We introduce a framework to identify these layers and present two novel attacks: Layer-wise Poisoning (LP) and Layer-wise Flipping (LF). Our results show that targeting BC layers allows attackers to achieve high backdoor success rates (BSR) while evading seven state-of-the-art defenses, even with a minimal number of malicious clients.
Introduction
Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data. However, its distributed nature introduces a significant security risk: backdoor attacks. In a typical backdoor attack, a malicious participant trains the shared model to produce incorrect outputs on specific "triggered" inputs while maintaining normal performance on clean data.
To counter this, researchers have developed sophisticated defenses that look for outliers in model updates. These defenses typically check for large distances between updates (distance-based), try to "unlearn" potential triggers (inversion-based), or monitor the direction of parameter changes (sign-based). However, both existing attacks and defenses treat the model as a monolithic whole, ignoring the internal hierarchy of neural networks and missing the fact that some layers are far more vulnerable to poisoning than others.
Identifying Backdoor-Critical Layers
The core insight of this work is that not all layers contribute equally to a backdoor's success. To identify these critical components, the authors employ a diagnostic tool called Layer Substitution Analysis.
By training both a benign and a malicious model locally, an attacker can swap individual layers between the two. As shown in Figure 2, replacing just one or two critical layers (such as fc1.weight) in a benign model with their poisoned counterparts can result in near-perfect backdoor performance. This "Pareto Principle of Backdoors" suggests that a tiny fraction of the model—sometimes as little as 1 out of 62 layers in a ResNet18—dominates the model's vulnerability. Generally, deeper layers tend to be more critical, as they represent the complex high-level features that backdoors exploit.
Methodology: Surgical Poisoning Attacks
Building on the discovery of BC layers, the paper introduces a three-step framework to weaponize this knowledge against existing FL defenses.
1. Layer-wise Poisoning (LP) Attack
The LP attack is designed to evade distance-based defenses like FLAME or MultiKrum, which filter updates that deviate significantly from the global average. Instead of modifying the entire model, the attacker only updates the identified BC layers. By concentrating the malicious signal into a few parameters and using optimization to keep the update close to the benign average, the attacker can blend in with normal, noisy participants while still injecting a potent backdoor.
2. Layer-wise Flipping (LF) Attack
Sign-based defenses, such as Robust Learning Rate (RLR), monitor the direction of parameter changes across clients. If an update appears suspicious, these defenses flip the signs of the parameters to neutralize the attack. The LF attack proactively flips the signs of its own BC layer parameters before submission. When the defense mechanism "corrects" these values, it inadvertently restores the malicious parameters to their intended state, activating the backdoor.
Experimental Evaluation
The authors evaluated the proposed attacks across several standard benchmarks, including CIFAR-10, Fashion-MNIST, and FEMNIST (a non-IID federated dataset), as well as the Reddit dataset for NLP models.
Key Results
Experiments demonstrate that the LP attack is remarkably effective, bypassing seven state-of-the-art defenses. In many scenarios, the attack achieved a Backdoor Success Rate (BSR) exceeding 90% with only 10% malicious clients. In contrast, traditional baseline attacks like Distributed Backdoor Attack (DBA) often failed to reach even a 10% BSR under the same defensive conditions.
Furthermore, the attacks maintained high accuracy on the primary task, ensuring the model remained functional and the backdoor stayed hidden from standard performance monitoring. The surgical nature of the attack also makes it highly efficient, remaining effective even when the ratio of malicious clients is as low as 2%.
Discussion and Conclusion
The vulnerability of specific layers highlights a fundamental weakness in current "layer-blind" FL defenses. Because these defenses aggregate statistics across the entire model, they are easily bypassed by precise, layer-specific modifications.
While the LP attack is powerful, it does face limitations against extremely aggressive distance-based defenses if the attacker attempts to scale weights too aggressively. Future research should focus on developing "layer-aware" defenses that perform detection and aggregation at a more granular level. Additionally, exploring the existence of BC structures in modern architectures like Large Language Model (LLM) adapters (e.g., LoRA) remains a promising avenue for future work.
Summary updated