A Lazy Hessian Evaluation Framework for Accelerating Stochastic Bilevel Optimization

Peiwen Qiu, Prashant Khanduri, Haibo Yang, Chaosheng Dong, Jia Liu, Mingyi HongOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

Bilevel optimization has recently gained popularity because of its applicability in many machine learning applications. Hypergradient-based algorithms have been widely used for solving bilevel optimization problems because of their strong theoretical and empirical performance in many applications. However, computing these hypergradients requires the evaluation of Hessians (or Hessian-vector products) of the lower-level objective, which presents a major computational bottleneck. To address this challenge, in this paper, we propose LazyBLO (**Lazy** Hessian Evaluation in **B**i**l**evel **O**ptimization), an algorithmic framework that allows infrequent Hessian computation during the execution of the algorithm for solving stochastic bilevel problems. This allows the algorithm to execute faster compared to the state-of-the-art (SOTA) algorithms that evaluate either a single or multiple Hessians in each iteration. We theoretically establish the performance of vanilla SGD-based LazyBLO and show that, despite the additional errors incurred by the infrequent Hessian evaluations, LazyBLO surprisingly matches the computation complexity of the existing SGD-based bilevel algorithms. Extensive experiments further demonstrate that LazyBLO enjoys significant gains in numerical performance compared to the SOTA approaches. To our knowledge, this is the first work to theoretically establish that multiple Hessian computations are not necessary within each iteration to guarantee the convergence of stochastic bilevel algorithms.
BibTeX
@misc{qiu2025lazy,
  author = {Peiwen Qiu and Prashant Khanduri and Haibo Yang and Chaosheng Dong and Jia Liu and Mingyi Hong},
  title = {{A Lazy Hessian Evaluation Framework for Accelerating Stochastic Bilevel Optimization}},
  year = {2025},
  url = {https://openreview.net/forum?id=rVD4lasVp4},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure