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

网络可解释性与对抗鲁棒性关系的实证研究

An Empirical Study on the Relation between Network Interpretability and Adversarial Robustness

University of Oregon(俄勒冈大学);Nanyang Technological University(南洋理工大学)

Adam Noack, Isaac Ahern, Dejing Dou, Boyang Li

摘要:

深度神经网络(DNN)已经取得了许多成功,但它们存在两个主要问题:(1)易受对抗性示例的影响,(2)倾向于逃避人类的解释。有趣的是,最近的经验和理论证据表明,这两个看似完全不同的问题实际上是相互关联的。特别是,鲁棒模型往往比非鲁棒模型提供更多的可解释梯度。然而,这种关系是否在相反的方向上起作用仍然不清楚。在本文中,我们寻求以下问题的经验答案:当模型被训练成具有可解释的梯度时,它们能否获得对抗鲁棒性?我们引入了一种理论上受启发的技术,称为解释正则化(IR),它鼓励模型的梯度(1)匹配可解释的目标显着图的方向,(2)具有较小的幅度。为了评估模型性能并梳理有助于对抗鲁棒性的因素,我们对MNIST和CIFAR-10进行了广泛的实验,同时使用$\ell_2$和$\ell_\infty$攻击。我们证明了训练网络具有可解释的梯度可以提高它们对对抗性扰动的鲁棒性。应用网络解释技术SmoothGrad会产生额外的性能增益,特别是在交叉范数攻击和严重扰动下。结果表明,模型梯度的可解释性是对抗鲁棒性的关键因素。实验代码可以在https://github.com/a1noack/interp_regularization上找到。

英文摘要:

Deep neural networks (DNNs) have had many successes, but they suffer from two major issues: (1) a vulnerability to adversarial examples and (2) a tendency to elude human interpretation. Interestingly, recent empirical and theoretical evidence suggests these two seemingly disparate issues are actually connected. In particular, robust models tend to provide more interpretable gradients than non-robust models. However, whether this relationship works in the opposite direction remains obscure. With this paper, we seek empirical answers to the following question: can models acquire adversarial robustness when they are trained to have interpretable gradients? We introduce a theoretically inspired technique called Interpretation Regularization (IR), which encourages a model's gradients to (1) match the direction of interpretable target salience maps and (2) have small magnitude. To assess model performance and tease apart factors that contribute to adversarial robustness, we conduct extensive experiments on MNIST and CIFAR-10 with both $\ell_2$ and $\ell_\infty$ attacks. We demonstrate that training the networks to have interpretable gradients improves their robustness to adversarial perturbations. Applying the network interpretation technique SmoothGrad yields additional performance gains, especially in cross-norm attacks and under heavy perturbations. The results indicate that the interpretability of the model gradients is a crucial factor for adversarial robustness. Code for the experiments can be found at https://github.com/a1noack/interp_regularization.

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

↑