TL;DR
This paper introduces a novel "sample rejection" mechanism to improve the robustness and accuracy of deep learning classifiers against adversarial attacks. By allowing the model to "abstain" from making a prediction on uncertain inputs, they achieve better natural accuracy without sacrificing certified robustness, particularly for more challenging noise levels.
What Problem Does This Paper Address?
Deep learning models are notoriously vulnerable to adversarial attacks, where subtle perturbations to input data can cause misclassifications. While "denoised smoothing" has emerged as a state-of-the-art defense, it often suffers from a trade-off: achieving certified robustness against $\ell_2$-norm perturbations can lead to a significant drop in natural accuracy. This is because the denoised inputs, while more robust, can still be ambiguous for the base classifier, leading to uncertainty and lower confidence in its predictions. The paper aims to bridge this gap by improving both natural accuracy and certified robustness simultaneously.
Methods
The core innovation is the introduction of an "explicit reject class" into the base classifier, creating a "base classifier with rejection." This classifier, denoted as $f_R(x)$, can either predict a class from the original set $Y$ or assign the input to a special "reject class" $R$. This rejection is managed by "rejector" networks, which are trained to identify inputs that are likely to be misclassified after denoising.
The overall system combines a pretrained classifier $f$, a denoiser $D$, and these trainable rejectors $\{h_k\}_{k=1}^K$. When an input $x$ is processed, it's first denoised by $D(x+\epsilon)$, then passed through the base classifier with rejection $f_R$. The rejectors then decide whether to output a class prediction or abstain. The "smoothed classifier without rejection" $g_R(x)$ is then derived from $f_R$ using randomized smoothing, where the rejection class is effectively excluded from the final majority vote. This approach allows for certifiable robustness against $\ell_2$-norm perturbations while leveraging the rejectors to improve accuracy.
Datasets
The experiments were conducted on the CIFAR10 dataset.
Key Insights and Ideas
- Abstention as a Strength: The paper demonstrates that allowing a model to "abstain" from making a prediction when uncertain can be a powerful tool for improving robustness and accuracy, rather than a sign of weakness.
- Synergy of Denoising and Rejection: Combining denoising with a rejection mechanism proves more effective than either alone. The denoiser smooths out noise, and the rejector filters out remaining ambiguous cases, leading to better overall performance.
- Affordable Robustness: The rejector networks are designed to be "cheaply-trainable," meaning they can be trained with significantly less computational cost compared to training the denoiser with more complex "stability" objectives. This makes the proposed method more practical.
- Improved Certification Radius: By effectively utilizing the reject class, the system can achieve a tighter upper bound on the probability of misclassification, leading to a larger certified robustness radius. This is particularly noticeable for medium to large noise parameters ($\sigma$).
Key Results
- The proposed method achieves substantial improvements in natural accuracy over standard denoised smoothing, without degrading adversarial performance.
- For medium and large noise parameters ($\sigma$), the rejection mechanism leads to significantly improved certified accuracy, especially at smaller radii.
- The training time for the rejectors is considerably less than half of that required for training denoisers with stability objectives, making the approach more computationally efficient. For instance, training a denoiser with stability loss can take 9.8 to 20.8 hours, while the proposed method with rejectors takes 2.78 to 6.8 hours.
Limitations and Future Work
- Certification Accuracy vs. Denoiser Baseline: While the proposed method improves upon denoised smoothing with cheaper denoisers, its certification accuracy is noted to be lower than the "expensive denoised smoothing baseline with stability objectives."
- Future Work: The paper suggests that further exploration of the rejector architecture and training objectives could lead to even greater improvements. The current work focuses on $\ell_2$-norm perturbations, and extending this to other $\ell_p$ norms could be a valuable future direction. The authors also highlight the potential for further research into certifiable applications of rejection mechanisms.
Summary updated