Abstract
Recently, lower-level constrained bilevel optimization has attracted increasing attention. However, existing methods mostly focus on either deterministic cases or problems with linear constraints. The main challenge in stochastic cases with general constraints is the bias and variance of the hyper-gradient, arising from the inexact solution of the lower-level problem. In this paper, we propose a novel stochastic augmented Lagrangian value function method for solving stochastic bilevel optimization problems with nonlinear lower-level constraints. Our approach reformulates the original bilevel problem using an augmented Lagrangian-based value function and then applies a penalized stochastic gradient method that carefully manages the noise from stochastic oracles. We establish an equivalence between the stochastic single-level reformulation and the original constrained bilevel problem and provide a non-asymptotic rate of convergence for the proposed method. The rate is further enhanced by employing variance reduction techniques. Extensive experiments on synthetic problems and real-world applications demonstrate the effectiveness of our approach.
Introduction
Bilevel Optimization (BLO) involves solving a nested structure where an upper-level objective depends on the optimal solution of a lower-level problem. This framework is critical for applications like meta-learning, hyperparameter tuning, and reinforcement learning. However, real-world scenarios often involve stochastic data and nonlinear constraints in the lower-level task, presenting significant challenges.
Traditional methods often struggle with two main issues:
- The Bias-Variance Trap: Inexact lower-level solutions derived from noisy samples lead to biased hyper-gradients, hindering convergence.
- Computational Complexity: Many existing "implicit gradient" methods require second-order derivatives (Hessians), which are computationally expensive for high-dimensional models like neural networks.
Methodology: The SALVF Approach
The proposed Stochastic Augmented Lagrangian Value Function (SALVF) method addresses these challenges by transforming the nested problem into a single-level penalized problem.
Augmented Lagrangian Reformulation
Instead of handling hard constraints directly, SALVF utilizes an Augmented Lagrangian (AL) penalty. This transforms the lower-level optimality condition into a value function constraint.
Moreau Envelope Smoothing
To address the non-smoothness of the value function, the authors apply a Moreau envelope. This smoothing technique renders the subproblem "strongly-convex-strongly-concave," making it amenable to stochastic gradient descent.
Hessian-Free Optimization
A key advantage of SALVF is its Hessian-free nature. By using a double-loop structure where the inner loop approximates the lower-level solution and the outer loop updates upper-level variables using only first-order gradients, the method avoids the high costs associated with second-order methods.
Theoretical Convergence and Complexity
The paper provides a rigorous non-asymptotic convergence analysis. The authors prove that the single-level reformulation is equivalent to the original problem within a controlled error $\epsilon$.
As shown in the table above, SALVF achieves a convergence rate of $\tilde{O}(c\epsilon^{-1})$. By incorporating variance reduction (SALVF-VR) inspired by the STORM algorithm, the upper-level sample complexity is further improved to $\tilde{O}(c^{1.5}\epsilon^{-1.5})$. Notably, SALVF and SALVF-VR are among the few methods that are both Hessian-free and capable of handling stochastic, constrained lower-level problems.
Experimental Results
The effectiveness of SALVF was validated across several benchmarks:
- Synthetic Problems: Visualized convergence to global optima in non-convex settings.
- SVM Hyperparameter Tuning: On the Diabetes and Fourclass datasets, SALVF outperformed baselines like BLOCC and LV-HBA in terms of test accuracy and convergence speed.
- Neural Network Regularization: Tuning weight decay for an MLP on the Digit dataset demonstrated that SALVF efficiently reduces overfitting compared to triple-loop alternatives.
Conclusion
SALVF provides a robust, first-order framework for stochastic bilevel optimization with nonlinear constraints. While it significantly improves efficiency, future work remains to determine if variance reduction can simultaneously optimize sample complexity for both levels without the current trade-offs.
Summary updated