arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.11326cs.LG
收藏

超越二次近似:神经网络损失景观的多尺度结构

Beyond the Quadratic Approximation: the Multiscale Structure of Neural Network Loss Landscapes

Stanford University(斯坦福大学);Peking University(北京大学)

Chao Ma, Daniel Kunin, Lei Wu, Lexing Ying

摘要:

神经网络损失景观的二次近似已被广泛用于研究这些网络的优化过程。虽然它通常在最小值的一个非常小的邻域内成立,但它不能解释在优化过程中观察到的许多现象。在这项工作中,我们研究了神经网络的结构损失函数和它的影响,在一个区域的优化超出了一个很好的二次近似。在数值上,我们观察到神经网络损失函数具有多尺度结构,表现在两个方面:(1)在最小值的邻域内,损失混合了连续的尺度,并以次二次的方式增长;(2)在更大的区域内,损失清楚地显示出几个独立的尺度。使用次二次增长,我们能够解释在梯度下降(GD)方法中观察到的稳定边缘现象[5]。利用分离尺度,通过简单的例子解释了学习率衰减的工作机理。最后,我们研究了多尺度结构的起源,提出模型的非凸性和训练数据的非均匀性是造成多尺度结构的原因之一。通过构造一个两层神经网络问题,我们表明,训练数据具有不同的幅度引起不同规模的损失函数,产生次二次增长和多个单独的规模。

英文摘要:

A quadratic approximation of neural network loss landscapes has been extensively used to study the optimization process of these networks. Though, it usually holds in a very small neighborhood of the minimum, it cannot explain many phenomena observed during the optimization process. In this work, we study the structure of neural network loss functions and its implication on optimization in a region beyond the reach of a good quadratic approximation. Numerically, we observe that neural network loss functions possesses a multiscale structure, manifested in two ways: (1) in a neighborhood of minima, the loss mixes a continuum of scales and grows subquadratically, and (2) in a larger region, the loss shows several separate scales clearly. Using the subquadratic growth, we are able to explain the Edge of Stability phenomenon [5] observed for the gradient descent (GD) method. Using the separate scales, we explain the working mechanism of learning rate decay by simple examples. Finally, we study the origin of the multiscale structure and propose that the non-convexity of the models and the non-uniformity of training data is one of the causes. By constructing a two-layer neural network problem we show that training data with different magnitudes give rise to different scales of the loss function, producing subquadratic growth and multiple separate scales.

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

↑