Skip to main content
QUICK REVIEW

[论文解读] Consistency Regularization for Certified Robustness of Smoothed Classifiers

Jongheon Jeong, Jinwoo Shin|arXiv (Cornell University)|Jun 7, 2020
Adversarial Robustness in Machine LearningComputer Science参考文献 31被引用 20
一句话总结

本文提出一致性正则化,通过在输入扰动下强制预测稳定性,以提升平滑分类器的认证鲁棒性。该方法将一致性训练集成到SmoothAdv和MACER框架中,在MNIST、CIFAR-10和ImageNet上实现了最先进的认证准确率,且在所有噪声水平下均显著优于基线方法。

ABSTRACT

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.

研究动机与目标

  • 提升随机平滑方法分类器在$ε$-对抗扰动下的认证鲁棒性。
  • 解决平滑分类器在对抗训练过程中不可微的问题。
  • 通过利用一致性正则化,在不损害自然准确率的前提下增强鲁棒性。
  • 实现优于SmoothAdv、MACER和稳定性训练等先前方法的更好认证鲁棒性。

提出的方法

  • 通过在训练过程中最小化干净输入与扰动输入之间预测差异,应用一致性正则化。
  • 使用带有超参数$\lambda$的一致性损失,以惩罚输入扰动下的不一致预测。
  • 通过投影梯度下降优化软平滑分类器$\hat{F}$,将一致性正则化集成到SmoothAdv框架中。
  • 将MACER目标函数改进以包含一致性正则化,提升认证半径估计的准确性。
  • 使用$m$个噪声样本进行蒙特卡洛采样,以近似平滑分类器及其鲁棒性边界中的期望值。
  • 在训练过程中采用预热调度策略,逐步增加攻击半径$\varepsilon$。

实验结果

研究问题

  • RQ1一致性正则化能否在现有对抗训练方法基础上进一步提升平滑分类器的认证鲁棒性?
  • RQ2一致性正则化如何影响自然准确率与认证鲁棒性之间的权衡?
  • RQ3不同的一致性损失权重$\lambda$对不同数据集和噪声水平下的认证准确率有何影响?
  • RQ4一致性正则化是否在MNIST、CIFAR-10和ImageNet等不同数据集上具有泛化能力?
  • RQ5在不同$\sigma$值下,一致性正则化与SmoothAdv和MACER相比,在认证半径和鲁棒性方面表现如何?

主要发现

  • 在MNIST上,当$\sigma = 0.25$时,$\lambda=10$的一致性正则化方法在$\ell_2$半径0.25下达到99.5%的认证准确率,优于基线高斯方法(99.2%)和SmoothAdv(99.4%)。
  • 当$\sigma = 0.50$时,所提方法在$\lambda=5$下于半径0.50处达到98.6%的认证准确率,超过SmoothAdv(98.3%)和MACER(97.5%)。
  • 当$\sigma = 1.00$时,$\lambda=5$的方法在半径1.00处达到95.0%的认证准确率,优于基线高斯方法(96.4%)和MACER(92.0%)。
  • 在CIFAR-10上,该方法在$\sigma=0.50$和$\varepsilon=512$下达到93.0%的认证准确率,优于SmoothAdv(92.7%)和MACER(90.0%)。
  • 在ImageNet上,$\lambda=1$的方法在$\sigma=0.50$和$\varepsilon=255$下达到46.3%的认证准确率,超过基线稳定性训练(43.5%)和MACER(42.2%)。
  • 消融实验表明,一致性正则化在所有$\sigma$值和数据集上均一致提升认证鲁棒性,最佳性能出现在$\lambda=1$或$\lambda=5$时。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。