BOME! Bilevel Optimization Made Easy: A Simple First-Order Approach
Bo LiuMao YeStephen WrightPeter StoneQiang Liu
Presents a fast, fully first-order bilevel optimization algorithm that bypasses expensive Hessian calculations through a value-function reformulation, backed by non-asymptotic convergence guarantees for non-convex deep learning objectives.
Modern machine learning applications—including automated hyperparameter tuning, meta-learning, and continual learning—frequently rely on bilevel optimization, a framework where an outer objective is optimized subject to the solution of an inner minimization problem. However, traditional bilevel methods are computationally expensive and impractical for large-scale deep learning because they require calculating complex second-order derivatives (such as Hessian matrices) or unrolling long optimization paths. While fully first-order alternatives have been sought, existing options either fail to converge reliably to correct solutions or suffer from extreme hyperparameter sensitivity on practical problems.
The article designs and evaluates a simple, efficient, fully first-order bilevel optimization algorithm, termed Bilevel Optimization Made Easy (BOME), that avoids second-order derivative calculations entirely and remains effective for large-scale, non-convex objectives. The authors formulate bilevel optimization as a single-level constrained problem using a value-function approach, which mathematically eliminates the need for implicit differentiation. They solve this formulation by employing a dynamic barrier gradient descent method that alternately optimizes the primary objective while driving constraint violations toward zero, approximating the optimal inner variable via a short sequence of standard gradient descent steps without backpropagating through the optimization trajectory. The method was rigorously tested across theoretical convergence proofs, three benchmark toy problems, and three real-world machine learning tasks (data hyper-cleaning on image datasets, learnable regularization on text classification, and continual learning benchmarks).
The evaluation yielded several key findings. First, the proposed method establishes the first known non-asymptotic convergence rate for a fully first-order bilevel algorithm under general non-convex settings. Second, across toy challenges (including mini-max games and degenerate inner problems), the method reliably converged to true global optima where existing first-order and penalty baselines failed. Third, in real-world hyperparameter tuning and text classification tasks, the approach converged significantly faster while matching or exceeding the accuracy of state-of-the-art methods, showing especially large efficiency gains in high-dimensional settings. Fourth, when integrated into continual learning pipelines, the method boosted overall test accuracy (e.g., from 78.40% to 80.70% on Permuted MNIST) and reduced catastrophic forgetting (reducing negative backward transfer from 5.62 to 4.09) compared to standard implicit gradient methods.
These results demonstrate that organizations can execute complex bilevel workflows at a fraction of the computational and memory overhead required by traditional Hessian-based approaches. By eliminating complex matrix inversions and sensitive barrier tuning, the method substantially reduces infrastructure costs and engineering complexity for large neural network pipelines. Decision-makers should consider adopting this approach as a drop-in optimizer for large-scale hyperparameter tuning, model weighting, and lifelong learning systems.
For practical deployment, technical teams are recommended to implement the method using standard first-order optimizers (such as Adam) and default hyperparameter settings, noting that running as few as 1 to 10 inner steps is sufficient in practice. Future work should explore bridging the gap between theoretical inner-loop requirements and its superior empirical efficiency, as well as testing performance on larger, distributed foundation models.
- Paper: On First-Order Meta-Learning Algorithms, Alex Nichol et al. (2018). It analyzes the effectiveness and mechanics of first-order approximations in gradient-based meta-learning, directly motivating the need for scalable first-order bilevel optimization.
- Paper: Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks, Chelsea Finn et al. (2017). It establishes the canonical bilevel formulation of gradient-based meta-learning that traditionally relies on differentiating through optimization steps.
- Paper: Meta-Learning With Differentiable Convex Optimization, Kwonjoon Lee et al. (2019). It details how implicit differentiation and optimality conditions are conventionally applied to bilevel problems in deep meta-learning, highlighting the computational bottlenecks addressed by BOME.
- Paper: Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming, Saeed Ghadimi et al. (2013). It provides the foundational convergence analysis and complexity rates for first-order stochastic optimization on non-convex objectives.
- Paper: Optimization Methods for Large-Scale Machine Learning, Léon Bottou et al. (2016). It surveys the theoretical and practical principles of large-scale stochastic first-order methods underpinning modern deep learning optimization.
- Paper: Learning to learn by gradient descent by gradient descent, Marcin Andrychowicz et al. (2016). It explores learning-to-learn via gradient-based meta-optimization, framing the structural bilevel problem that motivates simplified first-order techniques.
No sufficiently relevant recommendations were found.
