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

刚度:神经网络泛化的新视角

Stiffness: A New Perspective on Generalization in Neural Networks

Stanford University(斯坦福大学);Google Research(谷歌研究院);New York University(纽约大学)

Stanislav Fort, Paweł Krzysztof Nowak, Stanislaw Jastrzebski, Srini Narayanan

摘要:

在本文中,我们开发了一个新的观点推广的神经网络的概念,提出和调查的神经网络刚度。我们通过观察一个例子中网络参数中的一个小梯度步长如何影响另一个例子中的损失来衡量网络的刚性。更高的刚度表明网络正在学习泛化的特征。特别是,我们研究了刚度如何取决于1)类成员资格,2)输入空间中数据点之间的距离,3)训练迭代和4)学习率。我们目前的实验MNIST,时尚MNIST,和CIFAR-10/100使用全连接和卷积神经网络,以及基于变换的NLP模型。我们证明了刚度和泛化之间的联系,并观察其依赖于学习率。在CIFAR-100上训练时,刚度矩阵表现出粗粒度行为,表明模型对超类成员的感知。此外,我们测量两个数据点之间的刚度如何取决于它们的相互输入空间距离,并建立动态临界长度的概念-一个距离,低于该距离,基于数据点的参数更新会影响其邻居。

英文摘要:

In this paper we develop a new perspective on generalization of neural networks by proposing and investigating the concept of a neural network stiffness. We measure how stiff a network is by looking at how a small gradient step in the network's parameters on one example affects the loss on another example. Higher stiffness suggests that a network is learning features that generalize. In particular, we study how stiffness depends on 1) class membership, 2) distance between data points in the input space, 3) training iteration, and 4) learning rate. We present experiments on MNIST, FASHION MNIST, and CIFAR-10/100 using fully-connected and convolutional neural networks, as well as on a transformer-based NLP model. We demonstrate the connection between stiffness and generalization, and observe its dependence on learning rate. When training on CIFAR-100, the stiffness matrix exhibits a coarse-grained behavior indicative of the model's awareness of super-class membership. In addition, we measure how stiffness between two data points depends on their mutual input-space distance, and establish the concept of a dynamical critical length -- a distance below which a parameter update based on a data point influences its neighbors.

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

↑