Progressive Backdoor Erasing via connecting Backdoor and Adversarial Attacks
About
Deep neural networks (DNNs) are known to be vulnerable to both backdoor attacks as well as adversarial attacks. In the literature, these two types of attacks are commonly treated as distinct problems and solved separately, since they belong to training-time and inference-time attacks respectively. However, in this paper we find an intriguing connection between them: for a model planted with backdoors, we observe that its adversarial examples have similar behaviors as its triggered images, i.e., both activate the same subset of DNN neurons. It indicates that planting a backdoor into a model will significantly affect the model's adversarial examples. Based on these observations, a novel Progressive Backdoor Erasing (PBE) algorithm is proposed to progressively purify the infected model by leveraging untargeted adversarial attacks. Different from previous backdoor defense methods, one significant advantage of our approach is that it can erase backdoor even when the clean extra dataset is unavailable. We empirically show that, against 5 state-of-the-art backdoor attacks, our PBE can effectively erase the backdoor without obvious performance degradation on clean samples and significantly outperforms existing defense methods.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Backdoor Defense | CIFAR10 (test) | ASR0.46 | 322 | |
| Backdoor Defense | Tiny ImageNet (test) | Accuracy63.23 | 47 | |
| Backdoor Defense | GTSRB SIG attack | Accuracy94.05 | 8 | |
| Backdoor Defense | GTSRB Blend attack | Accuracy94.57 | 8 | |
| Image Classification | CIFAR-10 all-to-all setting, Badnet attack (test) | Accuracy93.84 | 8 | |
| Image Classification | CIFAR-10 all-to-all setting, Blend attack (test) | Accuracy93.65 | 8 | |
| Image Classification | CIFAR-10 all-to-all setting, SIG attack (test) | Accuracy93.71 | 8 | |
| Image Classification | CIFAR-10 all-to-all setting DynamicAtt attack (test) | Accuracy93.28 | 8 | |
| Image Classification | CIFAR-10 all-to-all setting, WaNet attack (test) | Accuracy93.45 | 8 | |
| Backdoor Defense | GTSRB Badnet attack | Accuracy94.43 | 8 |