[Paper Review] Consistency Regularization for Certified Robustness of Smoothed Classifiers
This paper proposes consistency regularization to improve the certified robustness of smoothed classifiers by enforcing prediction stability under input perturbations. It integrates consistency training into SmoothAdv and MACER frameworks, achieving state-of-the-art certified accuracy on MNIST, CIFAR-10, and ImageNet with significant improvements over baseline methods at all noise levels.
A recent technique of randomized smoothing has shown that the worst-case (adversarial) $\ell_2$-robustness can be transformed into the average-case Gaussian-robustness by "smoothing" a classifier, i.e., by considering the averaged prediction over Gaussian noise. In this paradigm, one should rethink the notion of adversarial robustness in terms of generalization ability of a classifier under noisy observations. We found that the trade-off between accuracy and certified robustness of smoothed classifiers can be greatly controlled by simply regularizing the prediction consistency over noise. This relationship allows us to design a robust training objective without approximating a non-existing smoothed classifier, e.g., via soft smoothing. Our experiments under various deep neural network architectures and datasets show that the "certified" $\ell_2$-robustness can be dramatically improved with the proposed regularization, even achieving better or comparable results to the state-of-the-art approaches with significantly less training costs and hyperparameters.
Motivation & Objective
- To improve the certified robustness of randomized smoothing-based classifiers under $ε$-adversarial perturbations.
- To address the challenge of non-differentiability in smoothed classifiers during adversarial training.
- To enhance robustness without compromising natural accuracy by leveraging consistency regularization.
- To achieve better certified robustness than prior methods such as SmoothAdv, MACER, and stability training.
Proposed method
- Applies consistency regularization by minimizing the prediction difference between clean and perturbed inputs during training.
- Uses a consistency loss with hyperparameter $\lambda$ to penalize inconsistent predictions under input perturbations.
- Integrates consistency regularization into the SmoothAdv framework by optimizing the soft-smoothed classifier $\hat{F}$ via projected gradient descent.
- Adapts the MACER objective to include consistency regularization, improving certified radius estimation.
- Employs Monte Carlo sampling with $m$ noise samples to approximate expectations in the smoothed classifier and its robustness bounds.
- Uses warm-up scheduling for attack radius $\varepsilon$ during training to gradually increase adversarial strength.
Experimental results
Research questions
- RQ1Can consistency regularization improve the certified robustness of smoothed classifiers beyond existing adversarial training methods?
- RQ2How does consistency regularization affect the trade-off between natural accuracy and certified robustness?
- RQ3What is the impact of different consistency loss weights $\lambda$ on certified accuracy across datasets and noise levels?
- RQ4Does consistency regularization generalize across different datasets such as MNIST, CIFAR-10, and ImageNet?
- RQ5How does consistency regularization compare to SmoothAdv and MACER in terms of certified radius and robustness under varying $\sigma$?
Key findings
- For $\sigma = 0.25$ on MNIST, consistency regularization with $\lambda=10$ achieves 99.5% certified accuracy at $\ell_2$ radius 0.25, outperforming the baseline Gaussian method (99.2%) and SmoothAdv (99.4%).
- At $\sigma = 0.50$, the proposed method with $\lambda=5$ achieves 98.6% certified accuracy at radius 0.50, surpassing SmoothAdv (98.3%) and MACER (97.5%).
- For $\sigma = 1.00$, the method with $\lambda=5$ achieves 95.0% certified accuracy at radius 1.00, exceeding the baseline Gaussian (96.4%) and MACER (92.0%).
- On CIFAR-10, the method achieves 93.0% certified accuracy at $\sigma=0.50$ and $\varepsilon=512$, outperforming SmoothAdv (92.7%) and MACER (90.0%).
- On ImageNet, the method with $\lambda=1$ achieves 46.3% certified accuracy at $\sigma=0.50$ and $\varepsilon=255$, surpassing the baseline stability training (43.5%) and MACER (42.2%).
- The ablation study confirms that consistency regularization consistently improves certified robustness across all $\sigma$ values and datasets, with the best performance observed at $\lambda=1$ or $\lambda=5$.
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.