Abstract: Bilevel optimization is one of the fundamental problems in machine learning and optimization. Recent theoretical developments in bilevel optimization focus on finding the first-order stationary points for nonconvex-strongly-convex cases. In this paper, we analyze algorithms that can escape saddle points in nonconvex-strongly-convex bilevel optimization. Specifically, we show that the perturbed approximate implicit differentiation (AID) with a warm start strategy finds $\epsilon$-approximate local minimum of bilevel optimization in $\tilde{O}(\epsilon^{-2})$ iterations with high probability. Moreover, we propose an inexact NEgative-curvature-Originated-from-Noise Algorithm (iNEON), a pure first-order algorithm that can escape saddle point and find local minimum of stochastic bilevel optimization. As a by-product, we provide the first nonasymptotic analysis of perturbed multi-step gradient descent ascent (GDmax) algorithm that converges to local minimax point for minimax problems.
1. Introduction
Bilevel optimization has emerged as a critical framework for modeling nested decision-making processes in machine learning, including hyperparameter optimization, meta-learning, and reinforcement learning. These problems are characterized by an "outer" optimization task that depends on the optimal solution of an "inner" optimization task.
While significant progress has been made in finding first-order stationary points—points where the gradient is zero—for these problems, a major challenge remains: stationary points include saddle points. In nonconvex landscapes, saddle points can trap optimization algorithms, leading to suboptimal model performance. This paper addresses the challenge of efficiently escaping these saddle points to find true local minima in the nonconvex-strongly-convex bilevel setting.
2. The Challenge of Saddle Points in Bilevel Optimization
In standard optimization, escaping saddle points is well-studied. However, bilevel optimization introduces unique complexities. The objective function of the outer problem (the hyperobjective) is defined implicitly through the solution of the inner problem. Calculating the gradient of this hyperobjective—the hypergradient—requires differentiating through the inner solution.
When the inner problem is strongly convex, the hypergradient can be estimated, but these estimates are computationally expensive and subject to approximation errors. These errors make it difficult to apply standard second-order methods or even simple perturbation techniques to identify directions of negative curvature, which are necessary to move away from saddle points.
3. Proposed Methodology
The authors focus on the nonconvex-strongly-convex regime, where the outer function is nonconvex but the inner function is strongly convex. They propose three primary innovations to navigate this landscape:
3.1 Perturbed AID (Approximate Implicit Differentiation)
For deterministic bilevel problems, the authors utilize Approximate Implicit Differentiation (AID) to estimate the hypergradient. To escape saddle points, they introduce a perturbation strategy: when the norm of the hypergradient falls below a certain threshold (indicating proximity to a stationary point), the algorithm adds random noise sampled from a uniform ball. If the current point is a saddle point, this perturbation is likely to shift the algorithm into a region of negative curvature, allowing it to resume descent.
3.2 iNEON (inexact NEgative-curvature-Originated-from-Noise)
To handle stochastic bilevel optimization, the authors propose iNEON, a pure first-order algorithm. iNEON is designed to find directions of negative curvature using only noisy gradient information. By mimicking the power method, iNEON can identify descent directions even when second-order information (the Hessian) is too costly to compute or explicitly represent.
3.3 Efficiency via Warm Starts
To maintain computational efficiency, both algorithms employ a warm start strategy. Instead of solving the inner optimization problem from scratch at every outer iteration, the algorithms use the solution from the previous iteration as the starting point. This significantly reduces the number of inner-loop iterations required to reach the necessary accuracy for the hypergradient estimate.
4. Theoretical and Experimental Results
4.1 Convergence Rates
The paper provides the first non-asymptotic convergence analysis for escaping saddle points in bilevel optimization:
- Deterministic Case: The Perturbed AID algorithm finds an $\epsilon$-approximate local minimum in $\tilde{O}(\epsilon^{-2})$ iterations.
- Stochastic Case: The combination of stochastic bilevel optimization (stochBiO) and iNEON achieves a gradient complexity of $\tilde{O}(\epsilon^{-4})$.
Additionally, the authors bridge a gap in minimax optimization by proving that for minimax problems, a strict local minimum of the objective function is equivalent to a strict local minimax point.
4.2 Empirical Validation
The algorithms were tested on synthetic benchmarks designed to be "saddle-point-heavy." Specifically, the authors used a function with $d$ saddle points (based on Du et al., 2017) to serve as an obstacle course. In these simulations, the proposed Perturbed Bilevel Optimization (PBO) algorithm consistently escaped saddle points that trapped standard bilevel algorithms, reaching the local optimum significantly faster and with higher reliability.
5. Conclusion and Future Work
This research provides a theoretical foundation for moving beyond first-order stationarity in bilevel optimization. By demonstrating that approximate hypergradients are "accurate enough" to maintain the properties needed to escape saddle points, the authors open new doors for more robust nested optimization.
However, limitations remain. The current analysis requires the inner problem to be strongly convex, a condition not always met in complex deep learning architectures like GANs. Furthermore, the complexity results are sensitive to the condition number of the inner problem. Future work will focus on relaxing these requirements and scaling these first-order techniques to large-scale applications such as Neural Architecture Search (NAS).
Summary updated