arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.10745cs.LGcs.CRcs.NAmath.NAstat.ML
收藏

通过费米-狄拉克公式式方法提升ResNets的自然和鲁棒准确性的集成方法

ResNets Ensemble via the Feynman-Kac Formalism to Improve Natural and Robust Accuracies

Department of Mathematics(数学系);Computer Science Department(计算机科学系);University of California, Los Angeles(加州大学洛杉矶分校);Tsinghua University(清华大学);Yau Mathematical Sciences Center(杨振宁数学科学中心)

Bao Wang, Binjie Yuan, Zuoqiang Shi, Stanley J. Osher

AI总结:

本文提出了一种基于费米-狄拉克公式式的ResNets集成算法,通过在残差映射的输出中注入方差指定的高斯噪声并平均多个联合训练的修改ResNets的乘积来提高模型在干净和对抗性图像上的准确率。

摘要:

经验对抗风险最小化(EARM)是一种广泛使用的数学框架,用于鲁棒地训练深度神经网络(DNNs),使其对对抗性攻击具有抵抗力。然而,训练后的鲁棒模型在分类干净图像和对抗图像时的自然和鲁棒准确率仍然远未令人满意。在本工作中,我们统一了传输方程最优控制的理论与ResNets的训练和测试实践。基于这一统一观点,我们提出了一种简单但有效的ResNets集成算法,以提升鲁棒训练模型在干净和对抗图像上的准确率。所提出的算法包括两个组成部分:首先,我们通过在每个残差映射的输出中注入指定方差的高斯噪声来修改基础ResNets。其次,我们对多个联合训练的修改ResNets的乘积进行平均以获得最终预测。这两个步骤对费米-狄拉克公式表示粘性传输方程或对流-扩散方程的解提供了近似。在CIFAR10基准测试中,该简单算法导致在干净图像上的自然准确率为85.62%,在20次IFGSM攻击迭代下的鲁棒准确率为57.94%,优于当前在CIFAR10上防御IFGSM攻击的最先进方法。所提出的ResNets集成的自然和鲁棒准确率可以随着基础ResNet的进展动态提高。代码可在:https://github.com/BaoWangMath/EnResNet获取。

英文摘要:

Empirical adversarial risk minimization (EARM) is a widely used mathematical framework to robustly train deep neural nets (DNNs) that are resistant to adversarial attacks. However, both natural and robust accuracies, in classifying clean and adversarial images, respectively, of the trained robust models are far from satisfactory. In this work, we unify the theory of optimal control of transport equations with the practice of training and testing of ResNets. Based on this unified viewpoint, we propose a simple yet effective ResNets ensemble algorithm to boost the accuracy of the robustly trained model on both clean and adversarial images. The proposed algorithm consists of two components: First, we modify the base ResNets by injecting a variance specified Gaussian noise to the output of each residual mapping. Second, we average over the production of multiple jointly trained modified ResNets to get the final prediction. These two steps give an approximation to the Feynman-Kac formula for representing the solution of a transport equation with viscosity, or a convection-diffusion equation. For the CIFAR10 benchmark, this simple algorithm leads to a robust model with a natural accuracy of {\bf 85.62}\% on clean images and a robust accuracy of ${\bf 57.94 \%}$ under the 20 iterations of the IFGSM attack, which outperforms the current state-of-the-art in defending against IFGSM attack on the CIFAR10. Both natural and robust accuracies of the proposed ResNets ensemble can be improved dynamically as the building block ResNet advances. The code is available at: \url{https://github.com/BaoWangMath/EnResNet}.

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

↑