arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.01279cs.LGcs.AIstat.ML
收藏

更广泛的神经网络真的有助于对抗鲁棒性吗?

Do Wider Neural Networks Really Help Adversarial Robustness?

College of Computer Science, Zhejiang University(浙江大学计算机学院);College of Information Science and Technology, Pennsylvania State University(宾夕法尼亚州立大学信息科学与技术学院);Department of Computer Science, University of California, Los Angeles(加利福尼亚大学洛杉矶分校计算机科学系)

Boxi Wu, Jinghui Chen, Deng Cai, Xiaofei He, Quanquan Gu

摘要:

对抗性训练是对抗性示例的一种强大防御类型。先前的实证结果表明,对抗性训练需要更广泛的网络才能获得更好的表现。然而,神经网络宽度如何影响模型的鲁棒性仍然是难以捉摸的。在本文中,我们仔细研究了网络宽度和模型鲁棒性之间的关系。具体来说,我们表明,模型的鲁棒性是密切相关的自然精度和扰动稳定性之间的权衡,这是由鲁棒正则化参数$λ$控制。使用相同的$λ$,更宽的网络可以实现更好的自然精度,但更差的扰动稳定性,导致潜在的更差的整体模型鲁棒性。为了理解这种现象的起源,我们进一步将扰动稳定性与网络的局部Lipschitz性联系起来。通过利用最近关于神经切线核的结果,我们从理论上证明了更宽的网络往往具有更差的扰动稳定性。我们的分析表明:1)首先在小网络上微调$λ$,然后直接将其用于宽模型训练的常见策略可能导致模型鲁棒性恶化; 2)需要适当地放大$λ$以充分释放更宽模型的鲁棒性潜力。最后,我们提出了一种新的宽度调整正则化(WAR)方法,自适应扩大$λ$宽模型,并显着节省调谐时间。

英文摘要:

Adversarial training is a powerful type of defense against adversarial examples. Previous empirical results suggest that adversarial training requires wider networks for better performances. However, it remains elusive how neural network width affects model robustness. In this paper, we carefully examine the relationship between network width and model robustness. Specifically, we show that the model robustness is closely related to the tradeoff between natural accuracy and perturbation stability, which is controlled by the robust regularization parameter $λ$. With the same $λ$, wider networks can achieve better natural accuracy but worse perturbation stability, leading to a potentially worse overall model robustness. To understand the origin of this phenomenon, we further relate the perturbation stability with the network's local Lipschitzness. By leveraging recent results on neural tangent kernels, we theoretically show that wider networks tend to have worse perturbation stability. Our analyses suggest that: 1) the common strategy of first fine-tuning $λ$ on small networks and then directly use it for wide model training could lead to deteriorated model robustness; 2) one needs to properly enlarge $λ$ to unleash the robustness potential of wider models fully. Finally, we propose a new Width Adjusted Regularization (WAR) method that adaptively enlarges $λ$ on wide models and significantly saves the tuning time.

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

↑