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

对抗训练的稳定性分析和推广界

Stability Analysis and Generalization Bounds of Adversarial Training

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Tencent AI Lab(腾讯人工智能实验室);Shenzhen Research Institute of Big Data(深圳大数据研究院)

Jiancong Xiao, Yanbo Fan, Ruoyu Sun, Jue Wang, Zhi-Quan Luo

摘要:

在对抗性机器学习中,深度神经网络可以在训练数据集上拟合对抗性示例,但在测试集上的泛化能力较差。这种现象被称为鲁棒过拟合,当在常见数据集(包括SVHN、CIFAR-10、CIFAR-100和ImageNet)上逆向训练神经网络时,可以观察到这种现象。本文利用一致稳定性工具研究了对抗训练中的鲁棒过拟合问题。一个主要的挑战是外部函数(作为内部函数的最大化)是非光滑的,因此标准技术(例如,hardt等人,2016年,不能使用。我们的方法是考虑$η$ -近似平滑:我们表明,外部函数满足这种修改后的平滑假设与$η$是一个常数有关的对抗扰动$ε$。在此基础上,我们推导出基于稳定性的一般类的$η$ -近似光滑函数的随机梯度下降(SGD),其中涵盖了对抗性损失。我们的研究结果表明,强大的测试精度$ε$时$T$大,$Ω(ε\sqrt{T})$和$\mathcal{O}(εT)$之间的速度下降。在实践中也观察到这种现象。此外,我们还展示了一些流行的对抗训练技术(例如,早期停止、循环学习率和随机加权平均)在理论上是促进稳定性的。

英文摘要:

In adversarial machine learning, deep neural networks can fit the adversarial examples on the training dataset but have poor generalization ability on the test set. This phenomenon is called robust overfitting, and it can be observed when adversarially training neural nets on common datasets, including SVHN, CIFAR-10, CIFAR-100, and ImageNet. In this paper, we study the robust overfitting issue of adversarial training by using tools from uniform stability. One major challenge is that the outer function (as a maximization of the inner function) is nonsmooth, so the standard technique (e.g., hardt et al., 2016) cannot be applied. Our approach is to consider $η$-approximate smoothness: we show that the outer function satisfies this modified smoothness assumption with $η$ being a constant related to the adversarial perturbation $ε$. Based on this, we derive stability-based generalization bounds for stochastic gradient descent (SGD) on the general class of $η$-approximate smooth functions, which covers the adversarial loss. Our results suggest that robust test accuracy decreases in $ε$ when $T$ is large, with a speed between $Ω(ε\sqrt{T})$ and $\mathcal{O}(εT)$. This phenomenon is also observed in practice. Additionally, we show that a few popular techniques for adversarial training (e.g., early stopping, cyclic learning rate, and stochastic weight averaging) are stability-promoting in theory.

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

↑