Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Two Coupled Rejection Metrics Can Tell Adversarial Examples Apart

About

Correctly classifying adversarial examples is an essential but challenging requirement for safely deploying machine learning models. As reported in RobustBench, even the state-of-the-art adversarially trained models struggle to exceed 67% robust test accuracy on CIFAR-10, which is far from practical. A complementary way towards robustness is to introduce a rejection option, allowing the model to not return predictions on uncertain inputs, where confidence is a commonly used certainty proxy. Along with this routine, we find that confidence and a rectified confidence (R-Con) can form two coupled rejection metrics, which could provably distinguish wrongly classified inputs from correctly classified ones. This intriguing property sheds light on using coupling strategies to better detect and reject adversarial examples. We evaluate our rectified rejection (RR) module on CIFAR-10, CIFAR-10-C, and CIFAR-100 under several attacks including adaptive ones, and demonstrate that the RR module is compatible with different adversarial training frameworks on improving robustness, with little extra computation. The code is available at https://github.com/P2333/Rectified-Rejection.

Tianyu Pang, Huishuai Zhang, Di He, Yinpeng Dong, Hang Su, Wei Chen, Jun Zhu, Tie-Yan Liu• 2021

Related benchmarks

TaskDatasetResultRank
Selective ClassificationCIFAR-100 (test)
AUC0.776
32
Adversarial DetectionCIFAR-10 clean (test)
TPR-9594.12
23
Selective ClassificationCIFAR-10 (test)
AUC0.773
21
Adversarial Attack DetectionCIFAR-100 1.0 (Clean)
TPR-9570.14
16
Adversarial Attack DetectionCIFAR-100 PGD-10 (l_inf, 8/255) 1.0
TPR-9538.81
16
Adversarial Attack DetectionCIFAR-100 PGD-10 (l_inf, 16/255) 1.0
TPR-9522.2
16
Adversarial Attack DetectionCIFAR-100 PGD-10 (l_2, 128/255) 1.0
TPR-950.4826
16
Robust Image ClassificationCIFAR-10-C common corruptions (test)
Accuracy (Snow)89.38
16
Adversarial Robustness (Rejection)CIFAR-10 PGD-100, l_inf, 8/255 (test)
TPR-9558.52
15
Adversarial Robustness (Rejection)CIFAR-10 PGD-100, l_inf, 16/255 (test)
TPR-9548.02
15
Showing 10 of 19 rows

Other info

Code

Follow for update