arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.01473stat.MLcs.LG
收藏

神经网络的斜率和泛化性质

Slope and generalization properties of neural networks

Chalmers University of Technology(查尔姆斯理工大学)

Anton Johansson, Niklas Engsner, Claes Strannegård, Petter Mostad

摘要:

神经网络在例如高级分类中是非常成功的工具。从统计学的角度来看,拟合神经网络可以被看作是一种回归,其中我们寻求从输入空间到分类概率空间的函数,该函数遵循数据的“一般”形状,但通过避免记忆单个数据点来避免过拟合。在统计学中,这可以通过控制回归函数的几何复杂性来实现。我们建议在拟合神经网络时通过控制网络的斜率来做类似的事情。在定义了斜率并讨论了它的一些理论属性之后,我们继续使用ReLU网络在示例中实证地表明,经过良好训练的神经网络分类器的斜率分布通常与全连接网络中的层的宽度无关,并且分布的平均值通常只对模型架构有弱依赖性。斜率在整个相关体积中具有相似的大小,并且平滑变化。它的行为也与重新缩放示例中预测的一样。我们讨论了斜率概念的可能应用,例如在网络训练期间将其用作损失函数或停止准则的一部分,或者根据其复杂性对数据集进行排名。

英文摘要:

Neural networks are very successful tools in for example advanced classification. From a statistical point of view, fitting a neural network may be seen as a kind of regression, where we seek a function from the input space to a space of classification probabilities that follows the "general" shape of the data, but avoids overfitting by avoiding memorization of individual data points. In statistics, this can be done by controlling the geometric complexity of the regression function. We propose to do something similar when fitting neural networks by controlling the slope of the network. After defining the slope and discussing some of its theoretical properties, we go on to show empirically in examples, using ReLU networks, that the distribution of the slope of a well-trained neural network classifier is generally independent of the width of the layers in a fully connected network, and that the mean of the distribution only has a weak dependence on the model architecture in general. The slope is of similar size throughout the relevant volume, and varies smoothly. It also behaves as predicted in rescaling examples. We discuss possible applications of the slope concept, such as using it as a part of the loss function or stopping criterion during network training, or ranking data sets in terms of their complexity.

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

↑