Mitigating Backdoor Attack by Injecting Proactive Defensive Backdoor
About
Data-poisoning backdoor attacks are serious security threats to machine learning models, where an adversary can manipulate the training dataset to inject backdoors into models. In this paper, we focus on in-training backdoor defense, aiming to train a clean model even when the dataset may be potentially poisoned. Unlike most existing methods that primarily detect and remove/unlearn suspicious samples to mitigate malicious backdoor attacks, we propose a novel defense approach called PDB (Proactive Defensive Backdoor). Specifically, PDB leverages the home-field advantage of defenders by proactively injecting a defensive backdoor into the model during training. Taking advantage of controlling the training process, the defensive backdoor is designed to suppress the malicious backdoor effectively while remaining secret to attackers. In addition, we introduce a reversible mapping to determine the defensive target label. During inference, PDB embeds a defensive trigger in the inputs and reverses the model's prediction, suppressing malicious backdoor and ensuring the model's utility on the original task. Experimental results across various datasets and models demonstrate that our approach achieves state-of-the-art defense performance against a wide range of backdoor attacks. The code is available at https://github.com/shawkui/Proactive_Defensive_Backdoor.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Time Series Forecasting | ETTm1 (test) | -- | 315 | |
| Time Series Forecasting | Weather (test) | -- | 248 | |
| Time Series Forecasting | PeMS03 | MAEC18.63 | 39 | |
| Backdoor Mitigation | SFT-based Poisoning Long trigger | Clean Accuracy (CACC)94.6 | 18 | |
| Backdoor Mitigation | SFT-based Poisoning Phrase trigger | Clean Accuracy (CACC)94.9 | 18 | |
| Backdoor Mitigation | SFT-based Poisoning Word trigger | Clean Accuracy (CACC)94.1 | 18 | |
| Backdoor Defense in Time Series Forecasting | PEMS03 v1 (full) | MAE (c)18.63 | 16 | |
| Backdoor Defense in Time Series Forecasting | GBA 2019 | MAEC26.705 | 12 | |
| Backdoor Defense in Time Series Forecasting | Bike Sharing hourly 2011-2012 | MAEC19.131 | 12 | |
| Time Series Forecasting | Exchange dataset | MAEC0.0074 | 12 |