Introduction
Deep Neural Networks (DNNs) are increasingly integrated into critical systems, yet they remain vulnerable to backdoor attacks. In these attacks, an adversary poisons a small portion of the training data with a "trigger." The resulting model performs normally on clean data but misclassifies inputs containing the trigger into a target class. Traditional defenses are largely reactive, attempting to detect or unlearn backdoors after training—a process often bypassed by sophisticated attackers who can hide their triggers.
This paper, presented at NeurIPS 2024, introduces Proactive Defensive Backdoor (PDB). Instead of reacting to potential threats, PDB proactively injects a defender-controlled backdoor during training. This "defensive" backdoor is designed to dominate and suppress any malicious triggers, effectively securing the model's inference process.
The PDB Framework
The PDB strategy leverages the defender's control over the training pipeline to establish a "home field advantage." The method consists of three primary components:
1. Reversible Label Mapping
The defender establishes a bijective (one-to-one) mapping, $h(y)$, for the labels in the training set. For instance, an image originally labeled as "Cat" might be mapped to "Dog" when the defensive trigger is present. Because this mapping is reversible, the defender can always recover the ground-truth label by applying the inverse mapping to the model's output.
2. Proactive Trigger Injection
During training, the defender introduces a small set of clean images modified with a defensive trigger. These samples are assigned labels according to the reversible mapping $h(y)$. The model is trained to prioritize this defensive trigger over other features, including potential malicious ones.
At inference time, the defender adds the same trigger to every input. The model then predicts the mapped label, which the defender subsequently reverses to obtain the correct classification. Even if a malicious trigger is present in the input, the defensive backdoor suppresses its effect.
3. Backdoor Enhancement
To ensure the defensive backdoor remains dominant, PDB employs enhancement strategies. These include increasing the sampling frequency of defensive samples during training or adding controlled Gaussian noise to them, making the defensive trigger the most robust and "important" feature learned by the network.
Experimental Results
The authors evaluated PDB against seven state-of-the-art (SOTA) backdoor attacks, including BadNets, WaNet, and Blended attacks, across benchmark datasets such as CIFAR-10, Tiny ImageNet, and GTSRB.
Performance and Utility
- Attack Suppression: PDB consistently reduced the Attack Success Rate (ASR) of malicious backdoors to near 0% across almost all tested scenarios, outperforming existing defenses like NAB and DBD.
- Model Utility: The Benign Accuracy (ACC) remained high, typically within 1-2% of a clean model's performance. This is a significant improvement over reactive defenses that often degrade accuracy through aggressive pruning or relabeling.
- Efficiency: PDB introduces minimal computational overhead. Unlike methods that require complex self-supervised pre-training, PDB’s runtime is only slightly higher than standard training.
Conclusion
PDB represents a paradigm shift in backdoor defense by moving from a reactive to a proactive stance. By dominating the model's behavior with a controlled, reversible backdoor, defenders can effectively neutralize malicious triggers without needing to identify them. While it requires control over the training process and a small set of clean data, PDB offers a robust and efficient solution for securing DNNs against poisoning attacks.
Summary updated