ASSET: Robust Backdoor Data Detection Across a Multiplicity of Deep Learning Paradigms
About
Backdoor data detection is traditionally studied in an end-to-end supervised learning (SL) setting. However, recent years have seen the proliferating adoption of self-supervised learning (SSL) and transfer learning (TL), due to their lesser need for labeled data. Successful backdoor attacks have also been demonstrated in these new settings. However, we lack a thorough understanding of the applicability of existing detection methods across a variety of learning settings. By evaluating 56 attack settings, we show that the performance of most existing detection methods varies significantly across different attacks and poison ratios, and all fail on the state-of-the-art clean-label attack. In addition, they either become inapplicable or suffer large performance losses when applied to SSL and TL. We propose a new detection method called Active Separation via Offset (ASSET), which actively induces different model behaviors between the backdoor and clean samples to promote their separation. We also provide procedures to adaptively select the number of suspicious points to remove. In the end-to-end SL setting, ASSET is superior to existing methods in terms of consistency of defensive performance across different attacks and robustness to changes in poison ratios; in particular, it is the only method that can detect the state-of-the-art clean-label attack. Moreover, ASSET's average detection rates are higher than the best existing methods in SSL and TL, respectively, by 69.3% and 33.2%, thus providing the first practical backdoor defense for these new DL settings. We open-source the project to drive further development and encourage engagement: https://github.com/ruoxi-jia-group/ASSET.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | GTSRB | Natural Accuracy83.24 | 87 | |
| Image Classification | SVHN | CA81.09 | 22 | |
| Downstream Classification | CIFAR-10 modified (test) | Accuracy86.3 | 22 | |
| Backdoor Sample Detection | CIFAR-10 imbalanced mu=0.9, rho=10 (train test) | Badnets TPR60 | 13 | |
| Backdoor Detection | CIFAR-10 imbalanced µ=0.9, ρ=2 (test) | Badnets TPR53.3 | 13 | |
| Backdoor Sample Detection | CIFAR-10 balanced rho=1 (train test) | Badnets TPR89.9 | 13 | |
| Backdoor Detection | CIFAR-10 imbalanced µ=0.9, ρ=100 (test) | Badnets TPR0.00e+0 | 13 | |
| Backdoor Sample Detection | CIFAR-10 imbalanced mu=0.9, rho=200 (train test) | Badnets TPR0.00e+0 | 13 | |
| Upstream Backdoor Detection | CIFAR-10 Upstream 1.0 (train) | TPR94.7 | 11 | |
| Upstream Backdoor Detection | ImageNet 1.0 (train) | TPR0.998 | 7 |