[Paper Review] Toward Adversarial Robustness via Semi-supervised Robust Training
This paper proposes Semi-supervised Robust Training (SRT), a novel defense method that jointly minimizes standard and robust risks to enhance adversarial robustness. By decoupling the risks and leveraging unlabeled data via a label-independent robust risk, SRT achieves state-of-the-art performance against both pixel-wise and spatial perturbations, outperforming supervised methods even with fewer labeled examples.
Adversarial examples have been shown to be the severe threat to deep neural networks (DNNs). One of the most effective adversarial defense methods is adversarial training (AT) through minimizing the adversarial risk $R_{adv}$, which encourages both the benign example $x$ and its adversarially perturbed neighborhoods within the $\ell_{p}$-ball to be predicted as the ground-truth label. In this work, we propose a novel defense method, the robust training (RT), by jointly minimizing two separated risks ($R_{stand}$ and $R_{rob}$), which is with respect to the benign example and its neighborhoods respectively. The motivation is to explicitly and jointly enhance the accuracy and the adversarial robustness. We prove that $R_{adv}$ is upper-bounded by $R_{stand} + R_{rob}$, which implies that RT has similar effect as AT. Intuitively, minimizing the standard risk enforces the benign example to be correctly predicted, and the robust risk minimization encourages the predictions of the neighbor examples to be consistent with the prediction of the benign example. Besides, since $R_{rob}$ is independent of the ground-truth label, RT is naturally extended to the semi-supervised mode ($i.e.$, SRT), to further enhance the adversarial robustness. Moreover, we extend the $\ell_{p}$-bounded neighborhood to a general case, which covers different types of perturbations, such as the pixel-wise ($i.e.$, $x + δ$) or the spatial perturbation ($i.e.$, $ AX + b$). Extensive experiments on benchmark datasets not only verify the superiority of the proposed SRT method to state-of-the-art methods for defensing pixel-wise or spatial perturbations separately, but also demonstrate its robustness to both perturbations simultaneously. The code for reproducing main results is available at \url{https://github.com/THUYimingLi/Semi-supervised_Robust_Training}.
Motivation & Objective
- To address the vulnerability of deep neural networks to adversarial examples, especially under diverse perturbation types.
- To improve adversarial robustness beyond supervised adversarial training by exploiting unlabeled data.
- To develop a unified defense framework that generalizes to multiple perturbation types, including pixel-wise and spatial transformations.
- To theoretically justify the effectiveness of joint risk minimization through an upper bound on adversarial risk.
- To demonstrate that robustness can be enhanced not only by labeled data but also by unlabeled data, enabling efficient semi-supervised learning.
Proposed method
- The method introduces a new robust training (RT) objective that jointly minimizes the standard risk $ R_{\text{stand}} $ and the robust risk $ R_{\text{rob}} $, where $ R_{\text{rob}} $ measures prediction consistency between a benign example and its perturbed neighbors.
- The robust risk $ R_{\text{rob}} $ is defined as the maximum 0/1-loss over all perturbed neighbors, and it does not require ground-truth labels, enabling semi-supervised extension.
- The paper proves that the adversarial risk $ R_{\text{adv}} $ is upper-bounded by $ R_{\text{stand}} + R_{\text{rob}} $, ensuring that RT achieves similar robustness to adversarial training.
- The method generalizes the $ \ell_p $-bounded neighborhood to a broader class of transformations, including spatial and functional perturbations, using a metric-based neighborhood definition.
- Semi-supervised robust training (SRT) incorporates unlabeled data into $ R_{\text{rob}} $, significantly improving robustness without requiring labels for these samples.
- The framework is extended to defend against compound attacks by applying the generalized neighborhood definition to multiple perturbation types simultaneously.
Experimental results
Research questions
- RQ1Can joint minimization of standard and robust risks improve adversarial robustness more effectively than standard adversarial training?
- RQ2Can the robust risk, which is independent of ground-truth labels, be effectively leveraged in a semi-supervised setting to improve model generalization?
- RQ3Does generalizing the perturbation neighborhood beyond $ \ell_p $-bounded pixel-wise perturbations enable defense against diverse attack types such as spatial transformations?
- RQ4Can a single model trained via SRT achieve robustness against both pixel-wise and spatial perturbations simultaneously?
- RQ5How does the use of unlabeled data affect the trade-off between standard accuracy and adversarial robustness in robust training?
Key findings
- SRT trained with only 10,000 labeled and 50,000 unlabeled MNIST samples achieved higher adversarial accuracy on spatial attacks than Worst-of-k trained with all 60,000 labeled samples.
- The adversarial accuracy of SRT continues to improve as more unlabeled data is used, indicating scalability and potential for further gains with larger data pools.
- Visualizations show that SRT produces flatter decision surfaces with higher confidence plateaus, explaining its robustness to small perturbations.
- SRT outperforms state-of-the-art methods in defending against both pixel-wise and spatial perturbations simultaneously, demonstrating joint robustness.
- The method generalizes beyond pixel-wise and spatial perturbations, with potential for extension to other transformations like blurring and color shifting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.