比较BFGS和OGR用于二阶优化
Comparing BFGS and OGR for Second-Order Optimization
AI总结:
本文比较了BFGS与OGR在二阶优化中的性能,发现OGR在非凸情况下具有更快的收敛速度和更好的损失表现。
摘要:
估计Hessian矩阵,尤其是在神经网络训练中,是一个具有挑战性的问题,由于高维性和成本。在本工作中,我们比较了BFGS方法中常用的Sherman-Morrison更新(Broyden-Fletcher-Goldfarb-Shanno),该方法在凸性假设下保持正定的Hessian近似,与一种称为在线梯度回归(OGR)的新方法。OGR通过使用指数移动平均对梯度进行回归来估计二阶导数,无需进行Hessian逆运算。与BFGS不同,OGR允许估计一般的(不一定是正定的)Hessian,并因此能够处理非凸结构。我们评估了两种方法在标准测试函数上的表现,并展示了OGR在非凸设置中实现了更快的收敛速度和改进的损失。
英文摘要:
Estimating the Hessian matrix, especially for neural network training, is a challenging problem due to high dimensionality and cost. In this work, we compare the classical Sherman-Morrison update used in the popular BFGS method (Broy-den-Fletcher-Goldfarb-Shanno), which maintains a positive definite Hessian approximation under a convexity assumption, with a novel approach called Online Gradient Regression (OGR). OGR performs regression of gradients against positions using an exponential moving average to estimate second derivatives online, without requiring Hessian inversion. Unlike BFGS, OGR allows estimation of a general (not necessarily positive definite) Hessian and can thus handle non-convex structures. We evaluate both methods across standard test functions and demonstrate that OGR achieves faster convergence and improved loss, particularly in non-convex settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。