One-shot Neural Backdoor Erasing via Adversarial Weight Masking
About
Recent studies show that despite achieving high accuracy on a number of real-world applications, deep neural networks (DNNs) can be backdoored: by injecting triggered data samples into the training dataset, the adversary can mislead the trained model into classifying any test data to the target class as long as the trigger pattern is presented. To nullify such backdoor threats, various methods have been proposed. Particularly, a line of research aims to purify the potentially compromised model. However, one major limitation of this line of work is the requirement to access sufficient original training data: the purifying performance is a lot worse when the available training data is limited. In this work, we propose Adversarial Weight Masking (AWM), a novel method capable of erasing the neural backdoors even in the one-shot setting. The key idea behind our method is to formulate this into a min-max optimization problem: first, adversarially recover the trigger patterns and then (soft) mask the network weights that are sensitive to the recovered patterns. Comprehensive evaluations of several benchmark datasets suggest that AWM can largely improve the purifying effects over other state-of-the-art methods on various available training dataset sizes.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Backdoor Defense | GTSRB BadNets (test) | Attack Success Rate4.35 | 22 | |
| Backdoor Removal | CIFAR-10 BLEND attack (test) | Accuracy69.75 | 6 | |
| Backdoor Removal | CIFAR-10 CLB attack (test) | Accuracy70.33 | 6 | |
| Backdoor Removal | CIFAR-10 WaNet attack (test) | Accuracy76.35 | 6 | |
| Backdoor Removal | CIFAR-10 WaNet all-to-all attack (test) | Accuracy80.97 | 6 | |
| Backdoor Removal | GTSRB Trojan-SQ attack | Accuracy98.17 | 5 | |
| Backdoor Removal | CIFAR-10 one-shot | BadNets ACC76.46 | 4 | |
| Backdoor Removal | GTSRB all-to-all attack | Accuracy93.02 | 4 | |
| Backdoor Defense | Multiple Backdoor Dataset (test) | ASR (All)10.38 | 3 | |
| Backdoor Removal | GTSRB Trojan-WM attack | Accuracy96.15 | 2 |