arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.10190cs.LGcs.NEmath.OCstat.ML
收藏

特征纯化:对抗性训练如何执行强大的深度学习

Feature Purification: How Adversarial Training Performs Robust Deep Learning

Microsoft Research(微软研究院);Carnegie Mellon University(卡内基梅隆大学)

Zeyuan Allen-Zhu, Yuanzhi Li

摘要:

尽管使用对抗性训练来保护深度学习模型免受对抗性扰动的经验成功,但到目前为止,仍然不清楚对抗性扰动存在背后的原理是什么,以及对抗性训练对神经网络做了什么来消除它们。在本文中,我们提出了一个原则,我们称之为特征纯化,其中我们表明对抗性例子存在的原因之一是在神经网络的训练过程中隐藏权重中某些小的密集混合物的积累;更重要的是,对抗性训练的目标之一是去除这种混合物以纯化隐藏权重。我们在CIFAR-10数据集上进行了两个实验来说明这一原理,并且理论结果证明,对于某些自然分类任务,使用随机初始化的梯度下降训练具有ReLU激活的双层神经网络确实满足这一原理。从技术上讲,据我们所知,我们给出了第一个结果,证明以下两个可以同时用于训练具有ReLU激活的神经网络。(1)在原始数据上进行训练确实对某些半径的小对抗性扰动不鲁棒。(2)对抗性训练,即使使用经验扰动算法(如FGM),实际上也可以证明对相同半径的任何扰动都是鲁棒的。最后,我们还证明了一个复杂度下限,表明低复杂度的模型,如线性分类器,低次多项式,甚至神经切线核的网络,不能抵御相同半径的扰动,无论使用什么算法来训练他们。

英文摘要:

Despite the empirical success of using Adversarial Training to defend deep learning models against adversarial perturbations, so far, it still remains rather unclear what the principles are behind the existence of adversarial perturbations, and what adversarial training does to the neural network to remove them. In this paper, we present a principle that we call Feature Purification, where we show one of the causes of the existence of adversarial examples is the accumulation of certain small dense mixtures in the hidden weights during the training process of a neural network; and more importantly, one of the goals of adversarial training is to remove such mixtures to purify hidden weights. We present both experiments on the CIFAR-10 dataset to illustrate this principle, and a theoretical result proving that for certain natural classification tasks, training a two-layer neural network with ReLU activation using randomly initialized gradient descent indeed satisfies this principle. Technically, we give, to the best of our knowledge, the first result proving that the following two can hold simultaneously for training a neural network with ReLU activation. (1) Training over the original data is indeed non-robust to small adversarial perturbations of some radius. (2) Adversarial training, even with an empirical perturbation algorithm such as FGM, can in fact be provably robust against ANY perturbations of the same radius. Finally, we also prove a complexity lower bound, showing that low complexity models such as linear classifiers, low-degree polynomials, or even the neural tangent kernel for this network, CANNOT defend against perturbations of this same radius, no matter what algorithms are used to train them.

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

↑