Efficient Curvature-Aware Hypergradient Approximation for Bilevel Optimization
Youran Dong, Junfeng Yang, Wei Yao, Jin Zhang
TL;DR
The work addresses efficient hypergradient estimation in bilevel optimization by exploiting curvature information through an inexact Newton-based framework (NBO). It introduces two instantiations, NBO-GD for deterministic settings and NSBO-SGD for stochastic settings, and provides convergence guarantees with improved deterministic complexity over prior gradient-based methods. A unified hypergradient approximation ties the lower-level solution with Hessian inverse-vector computations via a shared curvature matrix, enabling quadratic improvements in error decay with Newton steps. Empirically, curvature-aware updates yield significant gains across synthetic problems, hyperparameter optimization, and data cleaning, with extensions to variance reduction, momentum, and non-strongly convex settings discussed as future directions.
Abstract
Bilevel optimization is a powerful tool for many machine learning problems, such as hyperparameter optimization and meta-learning. Estimating hypergradients (also known as implicit gradients) is crucial for developing gradient-based methods for bilevel optimization. In this work, we propose a computationally efficient technique for incorporating curvature information into the approximation of hypergradients and present a novel algorithmic framework based on the resulting enhanced hypergradient computation. We provide convergence rate guarantees for the proposed framework in both deterministic and stochastic scenarios, particularly showing improved computational complexity over popular gradient-based methods in the deterministic setting. This improvement in complexity arises from a careful exploitation of the hypergradient structure and the inexact Newton method. In addition to the theoretical speedup, numerical experiments demonstrate the significant practical performance benefits of incorporating curvature information.
