Introduction
Federated Learning (FL) has emerged as a powerful paradigm for collaborative model training without direct data sharing. However, data heterogeneity across clients often degrades the performance of a single global model. Prototype-based Federated Learning (PFL) addresses this by sharing class-specific feature averages (prototypes) instead of model weights, offering a communication-efficient and personalized alternative.
While PFL was initially thought to be "naturally" robust against traditional backdoor attacks, recent research introduces BAPFL (Backdoor Attack against PFL). This method demonstrates that PFL's resistance is not a result of intentional security but rather a side effect of its architecture, which BAPFL successfully exploits.
The PFL Framework and its Vulnerabilities
In PFL, clients share local prototypes with a central server, which aggregates them to form global prototypes. These global prototypes are then sent back to clients to guide local feature embedding.
Traditional backdoor attacks, which inject triggers into training data to force misclassification, often fail against PFL for two primary reasons:
- Layer Isolation: Shared prototypes primarily influence the embedding layer. The final decision layers of benign clients remain largely isolated and "clean."
- Label Gaps: In heterogeneous settings, many clients lack the target label in their local data, preventing their models from learning the malicious mapping required for a successful backdoor.
The BAPFL Attack Mechanism
BAPFL overcomes these defenses through a dual-direction optimization approach consisting of two core components: the Prototype Poisoning Strategy (PPS) and the Trigger Optimization Mechanism (TOM).
Prototype Poisoning Strategy (PPS)
Rather than simply uploading malicious prototypes, BAPFL employs "prototype flipping." The attacker identifies the feature representation of a triggered sample and constructs a poisoned prototype by reflecting it across the global prototype. This "pushes" the global prototype trajectory away from the trigger's representation, effectively misleading benign clients during their local training phases.
Trigger Optimization Mechanism (TOM)
To address the label gap issue, TOM learns unique, stealthy triggers for every potential target label. These triggers are optimized so that their feature representations align with the global prototype of the target label. This ensures that the backdoor is effectively embedded even when clients have diverse local datasets.
Experimental Evaluation and Results
The effectiveness of BAPFL was evaluated across four benchmarks: MNIST, FEMNIST, CIFAR-10, and OFFICE-10. The results highlight a significant vulnerability in PFL systems:
- High Attack Success Rate (ASR): On MNIST, BAPFL achieved an ASR of 87-91%, a massive improvement over traditional methods like DBA, which struggled to reach 50%.
- Maintained Accuracy: The attack is highly stealthy, with Main Task Accuracy (ACC) remaining within 1% of a clean model.
- Broad Applicability: BAPFL proved effective against various PFL implementations, including FedProto, FedPCL, and FedPD, indicating that the vulnerability is inherent to the prototype-sharing mechanism itself.
- Resilience to Heterogeneity: The attack maintained an ASR of at least 75% even as the number of local classes per client varied.
Conclusion
BAPFL exposes a critical "blind spot" in the perceived security of Prototype-based Federated Learning. By manipulating the latent space through indirect prototype poisoning and optimized triggers, BAPFL bypasses the natural robustness provided by layer isolation and label gaps. These findings underscore the urgent need for the development of "prototype-aware" defense mechanisms to secure future PFL deployments.
Summary updated