arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.04454cs.LG
收藏

过参数化神经网络Hessian的实证分析

Empirical Analysis of the Hessian of Over-Parametrized Neural Networks

NYU(纽约大学);Facebook(脸书);Facebook AI Research(脸书人工智能研究院);Institut de Physique Théorique(理论物理研究所);Université Paris Saclay(巴黎萨克雷大学);CEA(法国原子能和替代能源委员会)

Levent Sagun, Utku Evci, V. Ugur Guney, Yann Dauphin, Leon Bottou

摘要:

通过Hessian矩阵研究了常见损失曲面的性质。特别是,在深度学习的背景下,我们根据经验表明,Hessian的频谱由两部分组成:(1)以零为中心的块,(2)远离块的离群值。我们为Sagun et al.(2016)提出的以下假设提供了数值证据和数学证明:固定数据,增加参数的数量只是扩展了频谱的大部分;固定维度和改变数据(例如添加更多的聚类或使数据更难分离)只影响离群值。我们相信,我们的观察有显着的影响,在高维非凸优化。首先,这种景观的平坦性(可以用黑森的奇点来衡量)意味着吸引盆地的经典概念可能是相当误导的。宽/窄流域的讨论可能需要一个新的视角,围绕过度参数化和冗余,能够在景观的底部创建大型连接组件。其次,少数大特征值对数据分布的依赖性可以与模型输出梯度的协方差矩阵的谱相关联。考虑到这一点,我们可以重新评估模型的数据架构算法框架内的连接,希望它能在现代应用中揭示高维和非凸空间的几何。特别是,我们提出了一种情况下,连接两个观察:小批量和大批量的梯度下降似乎收敛到不同的盆地的吸引力,但我们表明,他们实际上是通过其平坦的区域连接,因此属于同一个盆地。

英文摘要:

We study the properties of common loss surfaces through their Hessian matrix. In particular, in the context of deep learning, we empirically show that the spectrum of the Hessian is composed of two parts: (1) the bulk centered near zero, (2) and outliers away from the bulk. We present numerical evidence and mathematical justifications to the following conjectures laid out by Sagun et al. (2016): Fixing data, increasing the number of parameters merely scales the bulk of the spectrum; fixing the dimension and changing the data (for instance adding more clusters or making the data less separable) only affects the outliers. We believe that our observations have striking implications for non-convex optimization in high dimensions. First, the flatness of such landscapes (which can be measured by the singularity of the Hessian) implies that classical notions of basins of attraction may be quite misleading. And that the discussion of wide/narrow basins may be in need of a new perspective around over-parametrization and redundancy that are able to create large connected components at the bottom of the landscape. Second, the dependence of small number of large eigenvalues to the data distribution can be linked to the spectrum of the covariance matrix of gradients of model outputs. With this in mind, we may reevaluate the connections within the data-architecture-algorithm framework of a model, hoping that it would shed light into the geometry of high-dimensional and non-convex spaces in modern applications. In particular, we present a case that links the two observations: small and large batch gradient descent appear to converge to different basins of attraction but we show that they are in fact connected through their flat region and so belong to the same basin.

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

↑