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

对抗训练中神经网络的泛化效应研究

Towards the Memorization Effect of Neural Networks in Adversarial Training

Michigan State University(密歇根州立大学);TAL Education Group(好未来教育集团)

Han Xu, Xiaorui Liu, Wentao Wang, Wenbiao Ding, Zhongqin Wu, Zitao Liu, Anil Jain, Jiliang Tang

摘要:

最近的研究表明,“记忆”是超参数化深度神经网络(DNN)实现最佳性能的一个重要因素。具体地说,完美拟合的DNN可以记住许多非典型样本的标签,推广它们的记忆,以正确分类测试非典型样本,并享有更好的测试性能。同时,通过对抗训练算法优化的DNN也可以通过记忆非典型样本的标签以及对抗扰动的非典型样本来实现完美的训练性能。然而,逆向训练模型的泛化能力总是很差,在测试集上的准确性和鲁棒性都相对较低。在这项工作中,我们研究了记忆在对抗训练DNN中的作用,并揭示了两个重要的发现:(a)对非典型样本进行分类只能有效提高DNN对干净非典型样本的准确性,但几乎不能提高其对抗鲁棒性;(b)对某些非典型样本进行分类甚至会损害DNN对典型样本的性能。基于这两个发现,我们提出了良性对抗训练(BAT),它可以促进对抗训练,以避免拟合“有害”的非典型样本,并尽可能拟合更多的“良性”非典型样本。在我们的实验中,我们验证了BAT的有效性,并表明它可以在CIFAR 100和Tiny~ImageNet等基准数据集中实现比基线方法更好的清洁精度与鲁棒性权衡。

英文摘要:

Recent studies suggest that ``memorization'' is one important factor for overparameterized deep neural networks (DNNs) to achieve optimal performance. Specifically, the perfectly fitted DNNs can memorize the labels of many atypical samples, generalize their memorization to correctly classify test atypical samples and enjoy better test performance. While, DNNs which are optimized via adversarial training algorithms can also achieve perfect training performance by memorizing the labels of atypical samples, as well as the adversarially perturbed atypical samples. However, adversarially trained models always suffer from poor generalization, with both relatively low clean accuracy and robustness on the test set. In this work, we study the effect of memorization in adversarial trained DNNs and disclose two important findings: (a) Memorizing atypical samples is only effective to improve DNN's accuracy on clean atypical samples, but hardly improve their adversarial robustness and (b) Memorizing certain atypical samples will even hurt the DNN's performance on typical samples. Based on these two findings, we propose Benign Adversarial Training (BAT) which can facilitate adversarial training to avoid fitting ``harmful'' atypical samples and fit as more ``benign'' atypical samples as possible. In our experiments, we validate the effectiveness of BAT, and show it can achieve better clean accuracy vs. robustness trade-off than baseline methods, in benchmark datasets such as CIFAR100 and Tiny~ImageNet.

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

↑