arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.10599cs.LGcs.NEstat.ML
收藏

神经网络的细粒度谱透视

A Fine-Grained Spectral Perspective on Neural Networks

Microsoft Research(微软研究院)

Greg Yang, Hadi Salman

摘要:

神经网络偏向于简单函数吗?深度是否总是有助于学习更复杂的特征?训练网络的最后一层和训练所有层一样好吗?如何设置学习率调整的范围?这些问题表面上看起来并不相关,但在这项工作中,我们从光谱的角度对它们进行了共同的处理。我们将研究 * 共轭核CK *(也称为 * 神经网络-高斯过程核 *)和 * 神经切线核NTK* 的频谱。粗略地说,CK和NTK分别告诉我们“网络在初始化时的样子”和“网络在训练期间和训练之后的样子”。“然后,它们的光谱编码了关于神经网络的初始分布以及训练和泛化特性的有价值的信息。通过分析特征值,我们提供了新的见解提出的问题在开始,我们验证了这些见解的神经网络的广泛实验。我们推导出快速算法计算CK和NTK的频谱时,数据均匀分布在布尔立方体,并显示此频谱是相同的,在高维数据时,从各向同性高斯或均匀的球。复制我们结果的代码可在github.com/thegregyang/NNspectra上获得。

英文摘要:

Are neural networks biased toward simple functions? Does depth always help learn more complex features? Is training the last layer of a network as good as training all layers? How to set the range for learning rate tuning? These questions seem unrelated at face value, but in this work we give all of them a common treatment from the spectral perspective. We will study the spectra of the *Conjugate Kernel, CK,* (also called the *Neural Network-Gaussian Process Kernel*), and the *Neural Tangent Kernel, NTK*. Roughly, the CK and the NTK tell us respectively "what a network looks like at initialization" and "what a network looks like during and after training." Their spectra then encode valuable information about the initial distribution and the training and generalization properties of neural networks. By analyzing the eigenvalues, we lend novel insights into the questions put forth at the beginning, and we verify these insights by extensive experiments of neural networks. We derive fast algorithms for computing the spectra of CK and NTK when the data is uniformly distributed over the boolean cube, and show this spectra is the same in high dimensions when data is drawn from isotropic Gaussian or uniformly over the sphere. Code replicating our results is available at github.com/thegregyang/NNspectra.

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

↑