Abstract
Bilevel optimization reveals the inner structure of otherwise oblique optimization problems, such as hyperparameter tuning and meta-learning. A common goal in bilevel optimization is to find stationary points of the hyper-objective function. Although this hyper-objective approach is widely used, its theoretical properties have not been thoroughly investigated in cases where the lower-level functions lack strong convexity. In this work, we take a step forward and study the hyper-objective approach without the typical lower-level strong convexity assumption. Our hardness results show that the hyper-objective of general convex lower-level functions can be intractable either to evaluate or to optimize. To tackle this challenge, we introduce the gradient dominant condition, which strictly relaxes the strong convexity assumption by allowing the lower-level solution set to be non-singleton. Under the gradient dominant condition, we propose the Inexact Gradient-Free Method (IGFM), which uses the Switching Gradient Method (SGM) as the zeroth order oracle, to find an approximate stationary point of the hyper-objective. We also extend our results to nonsmooth lower-level functions under the weak sharp minimum condition.
Introduction
Bilevel optimization involves solving a nested problem where an upper-level objective $f(x, y)$ is minimized subject to $y$ being an optimal solution to a lower-level function $g(x, y)$. This framework is essential for modern machine learning applications like hyperparameter tuning, where $x$ represents hyperparameters and $y$ represents model weights. Traditionally, theoretical guarantees for these problems rely on the assumption that the lower-level function $g$ is strongly convex, ensuring a unique solution $y^*(x)$ and a well-behaved "hyper-gradient."
However, in real-world scenarios—particularly in deep learning—functions are rarely strongly convex; they are often nonconvex or merely convex. This work, presented at COLT 2024, explores whether stationary points can still be found efficiently when this strong convexity requirement is relaxed.
Theoretical Challenges and Hardness
The authors first establish that bilevel optimization is fundamentally difficult without strong convexity. Using the framework of zero-respecting algorithms, they prove that for general nonconvex-convex problems, standard first-order methods can fail to progress, remaining stuck at their starting points. This formally demonstrates that simple convexity of the lower-level problem is insufficient for tractability in bilevel settings, as the hyper-objective can even become discontinuous.
The Polyak-Łojasiewicz (PL) Condition
To find a tractable middle ground, the paper investigates the Polyak-Łojasiewicz (PL) condition (also known as the gradient dominant condition). A function satisfies the PL condition if it grows at least quadratically relative to the distance from its set of minima. Crucially, the PL condition allows for multiple global minima, making it a significant relaxation of strong convexity that still provides enough structure for optimization.
The $F^2BA$ Algorithm
The authors analyze the Fully First-order Bilevel Approximation ($F^2BA$) algorithm. Unlike methods that attempt to solve the inner problem to high precision, $F^2BA$ employs a penalty-based approach. It optimizes a hyper-objective that balances the upper-level goal with a penalty term for deviations from the lower-level minimum.
A key contribution of this work is the discovery that the hyper-objective under the PL condition is smoother than previously assumed ($O(1)$-smooth). This insight allows the authors to achieve the "gold standard" convergence rates typically reserved for single-level optimization.
Complexity Results
The paper establishes new state-of-the-art complexity bounds for finding an $\epsilon$-stationary point across deterministic and stochastic settings.
As shown in the table above, $F^2BA$ achieves a deterministic complexity of $\tilde{O}(\kappa^4\epsilon^{-2})$, matching the optimal rate for single-level gradient descent. In the partially stochastic setting (where noise only affects the lower-level gradient), it achieves a near-optimal rate of $\tilde{O}(\kappa^6\epsilon^{-4})$. For the fully stochastic setting, the complexity is improved to $\tilde{O}(\kappa^{12}\epsilon^{-6})$, a significant advancement over the previous $\tilde{O}(\epsilon^{-7})$ benchmark established by prior work.
Conclusion and Future Work
This work demonstrates that bilevel optimization under PL conditions can be nearly as efficient as standard single-level optimization. While the deterministic and partially stochastic rates are optimal, the authors acknowledge that the fully stochastic rate might still have room for improvement. Future research could explore even broader conditions, such as the Kurdyka-Łojasiewicz (KL) condition, which encompasses a wider variety of neural network architectures but presents greater analytical challenges in a bilevel context.
Summary updated