arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.21276cs.LGstat.ML
收藏

神经网络优化策略与损失景观的地形

Neural network optimization strategies and the topography of the loss landscape

Department of Physics & Astronomy, Rutgers, The State University of New Jersey(物理与天文学系,罗格斯大学)

Jianneng Yu, Alexandre V. Morozov

AI总结:

本文研究了SGD与准牛顿方法在神经网络训练中的表现差异,发现SGD能探索平滑吸引盆地,而准牛顿方法能发现更深孤立的最小值,但泛化能力较弱。

摘要:

神经网络通过在非凸损失景观上优化多维拟合参数进行训练。损失景观中低损失区域对应于在训练数据上表现良好的参数集。机器学习中的一个关键问题是训练好的神经网络在之前未见过的测试数据上的表现。本文研究了通过随机梯度下降(SGD)进行神经网络训练,这是一种非凸全局优化算法,仅依赖于目标函数的梯度。我们对比了SGD解与通过非随机准牛顿方法获得的解,后者利用曲率信息确定步长方向,并利用黄金分割法选择步长。我们使用几种计算工具来研究通过这两种优化方法获得的神经网络参数,包括核主成分分析和一种新的通用算法,用于在损失或能量景观上找到两点之间的低高度路径,即FourierPathFinder。我们发现优化器的选择深刻影响最终解的性质。SGD解倾向于由比准牛顿解更低的障碍物分隔开,即使两者都通过早停来确保在测试数据上的良好表现。当允许在训练数据上进行大量拟合时,准牛顿解占据损失景观中更深的最小值,这些最小值无法被SGD达到。然而,这些解在测试数据上的泛化能力较差。总体而言,SGD探索平滑的吸引盆地,而准牛顿优化能够找到更深、更孤立的最小值,这些最小值在参数空间中分布更广。我们的发现有助于理解损失景观的地形以及景观探索策略在创建稳健、可转移的神经网络模型中的基本作用。

英文摘要:

Neural networks are trained by optimizing multi-dimensional sets of fitting parameters on non-convex loss landscapes. Low-loss regions of the landscapes correspond to the parameter sets that perform well on the training data. A key issue in machine learning is the performance of trained neural networks on previously unseen test data. Here, we investigate neural network training by stochastic gradient descent (SGD) - a non-convex global optimization algorithm which relies only on the gradient of the objective function. We contrast SGD solutions with those obtained via a non-stochastic quasi-Newton method, which utilizes curvature information to determine step direction and Golden Section Search to choose step size. We use several computational tools to investigate neural network parameters obtained by these two optimization methods, including kernel Principal Component Analysis and a novel, general-purpose algorithm for finding low-height paths between pairs of points on loss or energy landscapes, FourierPathFinder. We find that the choice of the optimizer profoundly affects the nature of the resulting solutions. SGD solutions tend to be separated by lower barriers than quasi-Newton solutions, even if both sets of solutions are regularized by early stopping to ensure adequate performance on test data. When allowed to fit extensively on the training data, quasi-Newton solutions occupy deeper minima on the loss landscapes that are not reached by SGD. These solutions are less generalizable to the test data however. Overall, SGD explores smooth basins of attraction, while quasi-Newton optimization is capable of finding deeper, more isolated minima that are more spread out in the parameter space. Our findings help understand both the topography of the loss landscapes and the fundamental role of landscape exploration strategies in creating robust, transferrable neural network models.

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

↑