Comparing BFGS and OGR for Second-Order Optimization

📅 2025-12-07
📈 Citations: 0
Influential: 0
📄 PDF

career value

212K/year
🤖 AI Summary
Addressing the challenges of Hessian estimation—namely, high computational cost and numerical instability—in high-dimensional nonconvex optimization, this paper proposes Online Gradient Regression (OGR). OGR models the local second-order relationship between gradients and parameter displacements via exponential moving averages, enabling direct estimation of general (not necessarily positive-definite) Hessian matrices—thereby relaxing the positive-definiteness requirement inherent in BFGS-type methods. By integrating Sherman–Morrison updates with an online learning framework, OGR avoids explicit Hessian storage and inversion, significantly improving both computational efficiency and numerical robustness. Experiments on standard nonconvex benchmark functions demonstrate that OGR achieves faster convergence and lower final loss than BFGS, especially in high-dimensional settings. This work establishes a new, scalable, and robust paradigm for Hessian approximation in second-order optimization of neural networks.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Compares BFGS and OGR for Hessian estimation in optimization
Evaluates methods for handling non-convex structures in neural networks
Assesses convergence speed and loss improvement in non-convex settings
Innovation

Methods, ideas, or system contributions that make the work stand out.

OGR uses exponential moving average for Hessian estimation
OGR avoids Hessian inversion unlike BFGS method
OGR handles non-convex structures with general Hessian
🔎 Similar Papers
No similar papers found.