Abstract
Federated learning (FL) systems allow decentralized clients to jointly train a global model by uploading local updates to a centralized server. However, this decentralization enables adversaries to inject backdoor updates that cause the model to misclassify specific inputs containing a trigger. Existing defenses primarily rely on post-training detection, which often fails against stealthy updates or shows inconsistent performance across training stages. We propose TrojanDam, a proactive, detection-free defense paradigm. TrojanDam robustifies the global model by utilizing out-of-distribution (OOD) samples to activate redundant neurons, effectively "occupying" the parameters where backdoors typically hide. By injecting fresh OOD mappings before client training, the server creates a conflict that cancels out malicious updates during aggregation. Extensive experiments demonstrate that TrojanDam significantly outperforms state-of-the-art defenses, reducing backdoor accuracy to near-random levels while maintaining main task performance.
Introduction
In Federated Learning, the server aggregates updates from numerous clients without direct access to their private data. This opacity is exploited by backdoor attacks, where malicious clients train the model to associate a specific trigger with a target label. A significant challenge in defending against these attacks is the "stealthiness" of modern poisoning techniques. Attackers can craft updates that are statistically indistinguishable from benign ones, allowing backdoor functionality to accumulate over time.
As illustrated in Figure 4, sophisticated attacks like Neurotoxin can steadily increase the accuracy of a poisoned task over hundreds of global rounds while the main task accuracy remains stable. Because these updates do not trigger traditional statistical anomalies, they bypass "detect-then-filter" defenses and eventually become a permanent part of the global model.
Methodology: The TrojanDam Approach
TrojanDam shifts the defense strategy from reactive detection to proactive robustification. The core insight is that backdoors thrive in "redundant neurons"—parameters that are underutilized by the main task. By proactively training these neurons to perform specific OOD mappings, the server leaves no room for adversarial triggers.
As shown in Figure 3, the TrojanDam mechanism follows a three-step process:
- Server Robustification: Before distributing the model, the server identifies "key kernels" (convolutional filters) that are most susceptible to backdoors but least critical for the main task. It then performs a brief training session using a mixture of Flood Data (OOD samples with random labels) and Shadow Data (OOD samples labeled by the current global model). This "pre-fills" redundant neurons with robust mappings.
- Local Training: Clients receive the robustified model and perform their standard local training. Malicious clients attempting to inject a backdoor will find that their updates now conflict with the pre-existing OOD mappings in the key kernels.
- Aggregation: When the server aggregates the updates, the conflict between the server's proactive OOD mappings and the client's malicious backdoor updates leads to the cancellation of the backdoor effect, effectively neutralizing the attack.
Experimental Evaluation
We evaluated TrojanDam using standard benchmarks including CIFAR-10, CIFAR-100, and EMNIST, testing against powerful attacks like Neurotoxin and Chameleon.
Key Results
- Superior Suppression: TrojanDam consistently reduced Backdoor Accuracy (BA) to near-random levels. For instance, on CIFAR-100, TrojanDam limited BA to just 0.31%, whereas the next best defense (Deepsight) still allowed a BA of 27.76%.
- Main Task Stability: The defense is highly surgical. By using Shadow Data to preserve the model's existing knowledge, TrojanDam maintains high Main Task Accuracy (MA), with observed drops typically being less than 2% compared to an undefended clean model.
- Resilience to Adaptive Attacks: Even when attackers were aware of the defense and attempted to avoid the "key kernels," TrojanDam remained effective, keeping BA between 14-19%, far below the 80%+ seen in undefended scenarios.
Conclusion
TrojanDam represents a paradigm shift in Federated Learning security. By treating the model's redundant capacity as a resource to be protected rather than a void to be monitored, it provides a robust defense that does not rely on the fallible task of detecting malicious clients. While it introduces a minor computational overhead and requires access to OOD data, its ability to neutralize stealthy, long-term backdoor accumulation makes it a powerful tool for securing decentralized machine learning systems.
Summary updated