arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.05577cs.LGcs.CR
收藏

神经切线核能告诉我们什么关于对抗鲁棒性?

What Can the Neural Tangent Kernel Tell Us About Adversarial Robustness?

Center for Data Science(数据科学中心);New York University(纽约大学);Courant Institute of Mathematical Sciences(库朗数学科学研究所)

Nikolaos Tsilivis, Julia Kempe

摘要:

神经网络的对抗性脆弱性以及随后创建鲁棒模型的技术引起了人们的极大关注;然而,我们仍然缺乏对这种现象的充分理解。在这里,我们通过连接神经网络和内核方法的最新理论进展提供的分析工具,即神经切线核(NTK),研究训练神经网络的对抗性示例,随着越来越多的工作利用NTK近似成功分析重要的深度学习现象并为新应用设计算法。我们展示了NTK如何允许以“无训练”的方式生成对抗性示例,并证明它们在“懒惰”机制中转移到欺骗有限宽度的神经网络。我们利用这种联系提供了一个强大的和非强大的功能,这已被认为是神经网络的对抗性脆性的基础上的另一种观点。具体来说,我们定义和研究的内核的特征分解,以更好地了解强大的和非强大的功能,对标准分类和鲁棒性准确性权衡两者的依赖的作用。我们发现,这些特征在不同的架构中具有惊人的一致性,并且鲁棒特征往往对应于模型的最大特征值,因此在训练过程中很早就被学习到。我们的框架允许我们识别和可视化非鲁棒但有用的功能。最后,我们揭示了在实践中使用的神经网络的对抗训练的鲁棒性机制:量化相关经验NTK的演变,我们证明了它的动态更早地落入“懒惰”状态,并表现出一种更强的众所周知的偏见形式,与标准训练相比,优先考虑内核的顶部特征空间内的学习特征。

英文摘要:

The adversarial vulnerability of neural nets, and subsequent techniques to create robust models have attracted significant attention; yet we still lack a full understanding of this phenomenon. Here, we study adversarial examples of trained neural networks through analytical tools afforded by recent theory advances connecting neural networks and kernel methods, namely the Neural Tangent Kernel (NTK), following a growing body of work that leverages the NTK approximation to successfully analyze important deep learning phenomena and design algorithms for new applications. We show how NTKs allow to generate adversarial examples in a ``training-free'' fashion, and demonstrate that they transfer to fool their finite-width neural net counterparts in the ``lazy'' regime. We leverage this connection to provide an alternative view on robust and non-robust features, which have been suggested to underlie the adversarial brittleness of neural nets. Specifically, we define and study features induced by the eigendecomposition of the kernel to better understand the role of robust and non-robust features, the reliance on both for standard classification and the robustness-accuracy trade-off. We find that such features are surprisingly consistent across architectures, and that robust features tend to correspond to the largest eigenvalues of the model, and thus are learned early during training. Our framework allows us to identify and visualize non-robust yet useful features. Finally, we shed light on the robustness mechanism underlying adversarial training of neural nets used in practice: quantifying the evolution of the associated empirical NTK, we demonstrate that its dynamics falls much earlier into the ``lazy'' regime and manifests a much stronger form of the well known bias to prioritize learning features within the top eigenspaces of the kernel, compared to standard training.

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

↑