Abstract
Federated Learning (FL) is vulnerable to backdoor attacks where malicious clients inject triggers into the global model. Existing passive defenses struggle with data heterogeneity (non-i.i.d. data), while proactive defenses are often misled by Out-of-Distribution (OOD) bias. We present Coward (Collision-based Watermark for Proactive Federated Backdoor Detection), a novel defense that leverages the "multi-backdoor collision effect." Instead of detecting the presence of an attacker's pattern, Coward identifies malicious clients who inadvertently erase a server-injected forensic watermark while planting their own backdoors. Experimental results show Coward achieves nearly 100% detection rates with significantly lower false positives than state-of-the-art methods.
Introduction
Federated Learning (FL) enables collaborative model training without centralizing private data. However, this decentralized nature allows malicious participants to perform poisoning attacks, specifically injecting "backdoors" that cause the model to misclassify specific inputs containing a trigger.
Current defenses are categorized into passive and proactive approaches. Passive defenses attempt to identify attackers by treating their model updates as statistical outliers. However, in real-world scenarios with non-i.i.d. (non-independent and identically distributed) data, honest updates often appear as outliers due to local data skewness, leading to high false-positive rates.
Proactive defenses involve the server injecting specific patterns to monitor client behavior. However, these methods suffer from Out-of-Distribution (OOD) bias, where deep neural networks naturally assign high confidence to unrelated data. This bias causes benign clients to appear as if they are preserving the server's pattern, resulting in misjudgment.
The Coward Framework
Coward introduces a paradigm shift by exploiting the multi-backdoor collision effect. Empirical evidence suggests that when a model is optimized to learn a new backdoor, it tends to suppress or "collide" with existing ones. Coward uses this to its advantage: it flags clients who lose a server-injected watermark rather than those who gain a pattern.
The workflow consists of three main stages:
- Watermark Injection: The server injects a forensic watermark into the global model using OOD data (e.g., EMNIST letters for a CIFAR-10 task). This includes a "base mapping" to stabilize the OOD space and a "targeted watermark mapping."
- Client Interaction: Clients train locally. Benign clients preserve the watermark. Malicious clients, while injecting their own backdoor, accidentally trigger the collision effect, erasing the server's watermark.
- Detection: Upon receiving updates, the server evaluates each model's accuracy on the watermark. Models with significantly degraded watermark performance are excluded.
To ensure the watermark does not interfere with the primary task, Coward employs BatchNorm (BN) switching, isolating task-specific statistics from the OOD space.
Experimental Evaluation
Coward was evaluated on CIFAR-10 and CIFAR-100 datasets using EMNIST as OOD data. Key findings include:
- High Precision: Coward achieved a True Positive Rate (TPR) of nearly 100% across various attack scenarios.
- Robustness to Heterogeneity: Unlike previous proactive methods, Coward maintained a False Positive Rate (FPR) below 10.5%, even in extreme non-i.i.d. settings where competitors reached 50% FPR.
- Stealth Resistance: The defense remained effective against advanced attacks like Neurotoxin and Chameleon.
- Adaptive Attack Resilience: Even if attackers attempt to preserve the server's watermark (a "guessing attack"), the interference between multiple watermarks still allows for detection.
Conclusion
Coward represents a significant step toward practical proactive defense in FL. By inverting the detection logic to focus on watermark erasure, it effectively mitigates the impact of OOD bias and data heterogeneity. Future work will explore sample-specific watermarks and dynamic rotation strategies to further enhance security against evolving adaptive threats.
Summary updated