arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08503cs.LG
收藏

对抗训练可证明提升鲁棒性:结构化数据下特征学习过程的理论分析

Adversarial Training Can Provably Improve Robustness: Theoretical Analysis of Feature Learning Process Under Structured Data

Peking University(北京大学);Carnegie Mellon University(卡内基梅隆大学)

Binghui Li, Yuanzhi Li

AI总结:

本文从特征学习理论角度证明标准训练偏向学习非鲁棒特征从而产生对抗样本,而对抗训练可证明增强鲁棒特征学习并抑制非鲁棒特征学习,并在MNIST、CIFAR10和SVHN上验证了理论结论。

摘要:

对抗训练是一种被广泛应用的训练深度神经网络以抵御对抗扰动的方法。然而,尽管对抗训练在实践中取得了经验上的成功,但对抗样本为何存在以及对抗训练方法如何提升模型鲁棒性仍不清楚。本文从特征学习理论的角度提供了对对抗样本和对抗训练算法的理论理解。具体而言,我们关注一个多分类设置,其中结构化数据可由两类特征组成:鲁棒特征,它们对扰动具有抵抗力但较为稀疏;以及非鲁棒特征,它们易受扰动影响但较为稠密。我们训练一个两层平滑ReLU卷积神经网络来学习我们的结构化数据。首先,我们证明通过使用标准训练(对经验风险进行梯度下降),网络学习器主要学习非鲁棒特征而非鲁棒特征,从而导致由与负非鲁棒特征方向对齐的扰动所产生的对抗样本。然后,我们考虑基于梯度的对抗训练算法,该算法运行梯度上升以寻找对抗样本,并在对抗样本上对经验风险运行梯度下降以更新模型。我们表明,对抗训练方法可证明地增强鲁棒特征学习并抑制非鲁棒特征学习,从而提升网络鲁棒性。最后,我们还在真实图像数据集(包括MNIST、CIFAR10和SVHN)上通过实验实证验证了我们的理论发现。

英文摘要:

Adversarial training is a widely-applied approach to training deep neural networks to be robust against adversarial perturbation. However, although adversarial training has achieved empirical success in practice, it still remains unclear why adversarial examples exist and how adversarial training methods improve model robustness. In this paper, we provide a theoretical understanding of adversarial examples and adversarial training algorithms from the perspective of feature learning theory. Specifically, we focus on a multiple classification setting, where the structured data can be composed of two types of features: the robust features, which are resistant to perturbation but sparse, and the non-robust features, which are susceptible to perturbation but dense. We train a two-layer smoothed ReLU convolutional neural network to learn our structured data. First, we prove that by using standard training (gradient descent over the empirical risk), the network learner primarily learns the non-robust feature rather than the robust feature, which thereby leads to the adversarial examples that are generated by perturbations aligned with negative non-robust feature directions. Then, we consider the gradient-based adversarial training algorithm, which runs gradient ascent to find adversarial examples and runs gradient descent over the empirical risk at adversarial examples to update models. We show that the adversarial training method can provably strengthen the robust feature learning and suppress the non-robust feature learning to improve the network robustness. Finally, we also empirically validate our theoretical findings with experiments on real-image datasets, including MNIST, CIFAR10 and SVHN.

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

↑