Fast Unconstrained Optimization via Hessian Averaging and Adaptive Gradient Sampling Methods
Thomas O'Leary-Roseberry, Raghu Bollapragada
TL;DR
This work develops Hessian-averaged Newton methods that tolerate gradient inexactness through adaptive gradient sampling, while keeping a fixed per-iteration Hessian cost. It introduces deterministic and stochastic variants, proving global linear and sublinear convergence, and a local superlinear rate for deterministic cyclic Hessian sampling, with an additional $O\left(\frac{1}{\sqrt{k}}\right)$ local superlinear rate in the stochastic setting under expectation. A practical diagonally-averaged Newton (Dan) variant is proposed to enable scalable, matrix-free implementations via Hessian-vector products and diagonal estimators, with Dan2 providing an alternative diagonal-approximation scheme. Numerical experiments on stochastic quadratic problems, logistic regression, CIFAR-10/100 with ResNets, and derivative-informed neural operators for parametric PDEs demonstrate that Hessian averaging improves stability and often achieves state-of-the-art or competitive performance, particularly when combined with adaptive gradient sampling. Overall, the framework offers theoretically grounded, scalable second-order optimization tools that rival first-order methods in practice, while delivering faster local convergence and robust performance on challenging ML and scientific computing tasks.
Abstract
We consider minimizing finite-sum and expectation objective functions via Hessian-averaging based subsampled Newton methods. These methods allow for gradient inexactness and have fixed per-iteration Hessian approximation costs. The recent work (Na et al. 2023) demonstrated that Hessian averaging can be utilized to achieve fast $\mathcal{O}\left(\sqrt{\tfrac{\log k}{k}}\right)$ local superlinear convergence for strongly convex functions in high probability, while maintaining fixed per-iteration Hessian costs. These methods, however, require gradient exactness and strong convexity, which poses challenges for their practical implementation. To address this concern we consider Hessian-averaged methods that allow gradient inexactness via norm condition based adaptive-sampling strategies. For the finite-sum problem we utilize deterministic sampling techniques which lead to global linear and sublinear convergence rates for strongly convex and nonconvex functions respectively. In this setting we are able to derive an improved deterministic local superlinear convergence rate of $\mathcal{O}\left(\tfrac{1}{k}\right)$. For the %expected risk expectation problem we utilize stochastic sampling techniques, and derive global linear and sublinear rates for strongly convex and nonconvex functions, as well as a $\mathcal{O}\left(\tfrac{1}{\sqrt{k}}\right)$ local superlinear convergence rate, all in expectation. We present novel analysis techniques that differ from the previous probabilistic results. Additionally, we propose scalable and efficient variations of these methods via diagonal approximations and derive the novel diagonally-averaged Newton (Dan) method for large-scale problems. Our numerical results demonstrate that the Hessian averaging not only helps with convergence, but can lead to state-of-the-art performance on difficult problems such as CIFAR100 classification with ResNets.
