Abstract
Due to the distributed nature of Federated Learning (FL), researchers have uncovered that FL is vulnerable to backdoor attacks, which aim at injecting a sub-task into the FL without corrupting the performance of the main task. Single-shot backdoor attack achieves high accuracy on both the main task and backdoor sub-task when injected at the FL model convergence. However, the early-injected single-shot backdoor attack is ineffective because: (1) the maximum backdoor effectiveness is not reached at injection because of the dilution effect from normal local updates; (2) the backdoor effect decreases quickly as the backdoor will be overwritten by the newcoming normal local updates. In this paper, we strengthen the early-injected single-shot backdoor attack utilizing FL model information leakage. We show that the FL convergence can be expedited if the client trains on a dataset that mimics the distribution and gradients of the whole population. Based on this observation, we proposed a two-phase backdoor attack, which includes a preliminary phase for the subsequent backdoor attack. In the preliminary phase, the attacker-controlled client first launches a whole population distribution inference attack and then trains on a locally crafted dataset that is aligned with both the gradient and inferred distribution. Benefiting from the preliminary phase, the later injected backdoor achieves better effectiveness as the backdoor effect will be less likely to be diluted by the normal model updates. Extensive experiments are conducted on MNIST dataset under various data heterogeneity settings to evaluate the effectiveness of the proposed backdoor attack. Results show that the proposed backdoor outperforms existing backdoor attacks in both success rate and longevity, even when defense mechanisms are in place.
Introduction
Federated Learning (FL) has emerged as a privacy-preserving paradigm for training machine learning models across distributed clients. By keeping raw data local and only sharing model updates, FL aims to mitigate privacy risks. However, this distributed architecture introduces a significant security vulnerability: backdoor attacks. In these scenarios, a malicious client attempts to inject a "sub-task"—such as misclassifying a specific image with a trigger—while ensuring the global model remains accurate on its primary task.
While backdoor attacks are highly effective when the global model has already reached convergence, "early-injected single-shot" attacks typically fail. This paper explores why these early attacks struggle and proposes a novel two-phase strategy that leverages model information leakage to stabilize and strengthen malicious updates.
The Challenge of Early-Stage Injection
Early-injected single-shot attacks face two primary hurdles:
- The Dilution Effect: In the early stages of training, the global model is highly dynamic. Malicious updates are often diluted by the sheer volume of normal updates from other clients.
- Overwriting: As the model continues to learn from legitimate data, the specific weights modified by the attacker are frequently overwritten by subsequent updates, leading to a rapid decay in the backdoor's effectiveness.
To overcome these, an attacker must find a way to make the global model more receptive to the backdoor update and ensure its longevity within the model's architecture.
Proposed Methodology: Two-Phase Knowledge Alignment
The core innovation of this research is a two-phase attack framework designed to manipulate the convergence process of the FL model.
Phase 1: Preliminary Knowledge Alignment
Before injecting the backdoor, the attacker performs a "preliminary phase" to align their local training with the global population. This involves two steps:
- Distribution Inference: The attacker uses an optimization-based attack to compare local gradients with global model updates. This allows the attacker to quantitatively estimate the label distribution of the entire client population, rather than just identifying the presence of certain features.
- Auxiliary Dataset Crafting: Using the inferred distribution, the attacker creates a local dataset that mimics the global data distribution through data augmentation and downsampling. By training on this "aligned" dataset, the attacker reduces weight divergence—the difference between the local and global model directions. This effectively helps the global model converge faster, making the attacker appear to be a highly beneficial participant.
Phase 2: Backdoor Injection
Once the model has been stabilized through the preliminary phase, the attacker proceeds with the actual backdoor injection. Because the global model is now more aligned with the attacker’s local state, the subsequent poisoned updates are less likely to be diluted or overwritten. This results in a significantly higher Attack Success Rate (ASR) and improved longevity.
Experimental Evaluation
The researchers evaluated the proposed attack using the MNIST dataset across various data heterogeneity settings, simulated using a Dirichlet distribution to create non-IID (Independent and Identically Distributed) environments.
Key Findings
- Inference Accuracy: The distribution inference attack proved highly accurate. The distance between the inferred distribution and the true global distribution was consistently smaller than the distance between the attacker's original local distribution and the truth.
- Attack Success Rate (ASR): In highly imbalanced settings, the proposed method achieved an ASR of approximately 66% when injected at epoch 11. In contrast, standard baseline attacks only reached an ASR of 15% under the same conditions.
- Longevity: The backdoor remained effective for a significantly higher number of training rounds compared to both the baseline and Distributed Backdoor Attack (DBA) methods.
- Resilience to Defenses: The attack successfully bypassed state-of-the-art defenses, including FoolsGold (which identifies sybil-like behavior) and Differential Privacy (DP). Interestingly, the researchers noted that DP sometimes enhanced the attack's relative effectiveness by degrading the utility of normal updates more than the malicious ones.
Discussion and Future Work
This research demonstrates that the very techniques used to improve FL efficiency—such as reducing weight divergence—can be weaponized by attackers. By appearing "helpful" in the early stages of training, a malicious client can evade detection and prepare the model for a more durable backdoor injection.
While the results on MNIST are compelling, future research should extend these evaluations to more complex datasets like CIFAR-100 or ImageNet. Additionally, the findings suggest a need for new defense mechanisms that monitor for suspicious "distribution alignment" patterns as a precursor to potential attacks.
Conclusion
By utilizing whole population knowledge alignment, attackers can significantly enhance the effectiveness of early-injected single-shot backdoor attacks in Federated Learning. This two-phase approach not only increases the success rate but also ensures the backdoor persists through subsequent training rounds, posing a serious challenge to current FL security protocols.
Summary updated