arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.00731cs.LGstat.ML
收藏

对抗攻击的二阶可证防御

Second-Order Provable Defenses against Adversarial Attacks

University of Maryland, College Park(马里兰大学帕克分校)

Sahil Singla, Soheil Feizi

摘要:

鲁棒性证书是给定输入到分类器的决策边界(或其下限)的最小距离。对于{ \it any}具有小于证书值的幅度的输入扰动,分类输出将可证明地保持不变。精确计算神经网络的鲁棒性证书是困难的,因为它需要求解非凸优化。在本文中,我们提供了计算效率的鲁棒性证书的神经网络与可微激活函数在两个步骤。首先,我们表明,如果网络的Hessian的特征值是有界的,我们可以计算一个鲁棒性证书的$l_2$规范有效地使用凸优化。其次,我们推导出了深度网络曲率的计算有效的可微上界。我们还在网络的训练过程中使用曲率界作为正则化项,以提高其认证的鲁棒性。将这些结果放在一起导致我们提出的基于{\bf C}曲率的{\bf R}不稳定性{ \bf C}认证(CRC)和基于{\bf C}曲率的{ \bf R}不稳定性{ \bf T}训练(CRT)。我们的数值结果表明,CRT导致显着更高的认证鲁棒性的准确性相比,区间边界传播(IBP)为基础的训练。在MNIST数据集上,基于IBP的方法在2层、3层和4层网络上分别获得了69.79%、57.78%和53.19%的稳健准确率,而基于IBP的方法分别获得了44.96%、44.74%和44.66%的稳健准确率。

英文摘要:

A robustness certificate is the minimum distance of a given input to the decision boundary of the classifier (or its lower bound). For {\it any} input perturbations with a magnitude smaller than the certificate value, the classification output will provably remain unchanged. Exactly computing the robustness certificates for neural networks is difficult since it requires solving a non-convex optimization. In this paper, we provide computationally-efficient robustness certificates for neural networks with differentiable activation functions in two steps. First, we show that if the eigenvalues of the Hessian of the network are bounded, we can compute a robustness certificate in the $l_2$ norm efficiently using convex optimization. Second, we derive a computationally-efficient differentiable upper bound on the curvature of a deep network. We also use the curvature bound as a regularization term during the training of the network to boost its certified robustness. Putting these results together leads to our proposed {\bf C}urvature-based {\bf R}obustness {\bf C}ertificate (CRC) and {\bf C}urvature-based {\bf R}obust {\bf T}raining (CRT). Our numerical results show that CRT leads to significantly higher certified robust accuracy compared to interval-bound propagation (IBP) based training. We achieve certified robust accuracy 69.79\%, 57.78\% and 53.19\% while IBP-based methods achieve 44.96\%, 44.74\% and 44.66\% on 2,3 and 4 layer networks respectively on the MNIST-dataset.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑