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

宽深度神经网络鲁棒过拟合的理论分析:一种神经正切核方法

Theoretical Analysis of Robust Overfitting for Wide DNNs: An NTK Approach

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)

Shaopeng Fu, Di Wang

AI总结:

本文通过扩展神经正切核理论到对抗训练,证明长期对抗训练导致宽DNN退化为未训练状态从而引发鲁棒过拟合,并提出首个无限宽DNN的对抗训练算法Adv-NTK,实验验证了其鲁棒性。

摘要:

对抗训练(AT)是增强深度神经网络(DNNs)鲁棒性的经典方法。然而,近期研究经验性地表明,它存在鲁棒过拟合问题,即长时间进行对抗训练可能对DNNs的鲁棒性产生不利影响。本文对DNNs的鲁棒过拟合现象给出了理论解释。具体而言,我们将神经正切核(NTK)理论非平凡地扩展到对抗训练,并证明经过对抗训练的宽DNN可以很好地被线性化DNN近似。此外,对于平方损失,可以推导出线性化DNN的闭式对抗训练动力学,这揭示了一种新的对抗训练退化现象:长期对抗训练将导致宽DNN退化为未经过对抗训练所得到的DNN,从而引起鲁棒过拟合。基于我们的理论结果,我们进一步设计了一种名为Adv-NTK的方法,这是首个针对无限宽DNN的对抗训练算法。在真实世界数据集上的实验表明,Adv-NTK可以帮助无限宽DNN获得与其有限宽对应物相当的鲁棒性,这反过来验证了我们的理论发现。代码可在 https://github.com/fshp971/adv-ntk 获取。

英文摘要:

Adversarial training (AT) is a canonical method for enhancing the robustness of deep neural networks (DNNs). However, recent studies empirically demonstrated that it suffers from robust overfitting, i.e., a long time AT can be detrimental to the robustness of DNNs. This paper presents a theoretical explanation of robust overfitting for DNNs. Specifically, we non-trivially extend the neural tangent kernel (NTK) theory to AT and prove that an adversarially trained wide DNN can be well approximated by a linearized DNN. Moreover, for squared loss, closed-form AT dynamics for the linearized DNN can be derived, which reveals a new AT degeneration phenomenon: a long-term AT will result in a wide DNN degenerates to that obtained without AT and thus cause robust overfitting. Based on our theoretical results, we further design a method namely Adv-NTK, the first AT algorithm for infinite-width DNNs. Experiments on real-world datasets show that Adv-NTK can help infinite-width DNNs enhance comparable robustness to that of their finite-width counterparts, which in turn justifies our theoretical findings. The code is available at https://github.com/fshp971/adv-ntk.

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

↑