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

金发区:更好地理解神经网络损失景观

The Goldilocks zone: Towards better understanding of neural network loss landscapes

Stanford University(斯坦福大学)

Stanislav Fort, Adam Scherlis

摘要:

我们使用随机的低维超平面和超球体来探索全连接和卷积神经网络的损失景观。评估这些超曲面上损失函数的Hessian,$H$,我们观察到:1)$H$的正特征值的数量异常过剩,以及2)$\mathrm{Tr}(H) / ||H||$在一个定义良好的位形空间半径范围内的大值,对应于我们称为\textit{Goldilocks zone}的厚的中空球壳。我们在MNIST和CIFAR-10数据集上观察到了全连接神经网络在一系列网络宽度和深度上的这种效果,其中包括$\mathrm{ReLU}$和$\tanh$非线性,以及卷积网络的类似效果。使用我们的观察,我们证明了一个密切的联系,金发区,措施的局部凸性/患病率的正曲率,和网络初始化的适用性。我们表明,高和稳定的精度达到随机优化时,低维超曲面直接相关的超曲面和Goldilocks区之间的重叠,并作为一个推论表明,内在尺寸的概念是初始化依赖。我们注意到,常见的初始化技术初始化神经网络在这个特定的区域异常高的凸性/流行的正曲率,并提供了一个几何直观的成功。此外,我们证明,初始化一个神经网络在一些点,并选择高措施的局部凸性,如$\mathrm{Tr}(H) / ||H||$,正特征值的$H$,或低初始损失,导致统计上显着更快的训练MNIST。根据我们的观察,我们假设,适居带包含一个异常高密度的合适的初始化配置。

英文摘要:

We explore the loss landscape of fully-connected and convolutional neural networks using random, low-dimensional hyperplanes and hyperspheres. Evaluating the Hessian, $H$, of the loss function on these hypersurfaces, we observe 1) an unusual excess of the number of positive eigenvalues of $H$, and 2) a large value of $\mathrm{Tr}(H) / ||H||$ at a well defined range of configuration space radii, corresponding to a thick, hollow, spherical shell we refer to as the \textit{Goldilocks zone}. We observe this effect for fully-connected neural networks over a range of network widths and depths on MNIST and CIFAR-10 datasets with the $\mathrm{ReLU}$ and $\tanh$ non-linearities, and a similar effect for convolutional networks. Using our observations, we demonstrate a close connection between the Goldilocks zone, measures of local convexity/prevalence of positive curvature, and the suitability of a network initialization. We show that the high and stable accuracy reached when optimizing on random, low-dimensional hypersurfaces is directly related to the overlap between the hypersurface and the Goldilocks zone, and as a corollary demonstrate that the notion of intrinsic dimension is initialization-dependent. We note that common initialization techniques initialize neural networks in this particular region of unusually high convexity/prevalence of positive curvature, and offer a geometric intuition for their success. Furthermore, we demonstrate that initializing a neural network at a number of points and selecting for high measures of local convexity such as $\mathrm{Tr}(H) / ||H||$, number of positive eigenvalues of $H$, or low initial loss, leads to statistically significantly faster training on MNIST. Based on our observations, we hypothesize that the Goldilocks zone contains an unusually high density of suitable initialization configurations.

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

↑