Solving Bilevel Optimization via Sequential Minimax Optimization

Zhaosong Lu, Sanyou Mei

Bilevel optimization (BO) is the "boss level" of mathematical programming. Imagine a game where a leader makes a move, and a follower responds by optimizing their own objective based on that move. The leader must anticipate this response to reach their own goal. This hierarchical structure appears everywhere in modern AI—from hyperparameter tuning and meta-learning to adversarial training.

However, solving these problems is notoriously difficult because the follower's "best response" is itself an optimization problem nested inside another. A new paper by Zhaosong Lu and Sanyou Mei, titled "Solving bilevel optimization via sequential minimax optimization," introduces a more efficient way to navigate this hierarchy.

TL;DR

The authors propose Sequential Minimax Optimization (SMO), a first-order method that transforms complex bilevel problems into a sequence of simpler minimax subproblems. By using a modified augmented Lagrangian scheme, SMO achieves a significant theoretical speedup—improving the best-known operation complexity by a factor of $1/\epsilon$ for strongly convex lower-level problems—and demonstrates massive practical speedups in numerical tests.

What Problem Does This Paper Address?

Bilevel optimization problems are typically written as: $$\min_{x,y} f(x,y) \quad \text{subject to} \quad y \in \text{argmin}_z \{ \tilde{f}(x,z) \mid \tilde{g}(x,z) \leq 0 \}$$

The "gap" in current research lies in handling cases where the lower-level problem (the follower) has constraints and might be nonsmooth. Existing first-order methods often struggle with efficiency. The previous state-of-the-art method (the First-Order Penalty method, or FOP) converts the bilevel problem into a single massive minimax problem using a quadratic penalty. While theoretically sound, this often leads to "over-penalization," requiring extremely large penalty parameters that make the problem numerically brittle and slow to solve.

Methods

The core innovation of this paper is the Sequential Minimax Optimization (SMO) framework. Instead of one giant leap, SMO takes a series of calculated steps:

  1. Modified Augmented Lagrangian (AL): Unlike previous methods that use simple quadratic penalties, SMO employs a modified AL scheme for the lower-level constraints. This allows the algorithm to handle constraints more gracefully by using dual variables ($\lambda$) that are updated iteratively.
  2. Sequential Subproblems: SMO solves a sequence of minimax subproblems. In each iteration, it finds an approximate "primal-dual stationary point" for a subproblem and then updates the penalty parameters and multipliers.
  3. First-Order Only: The entire algorithm relies only on gradients (first-order information) and proximal operators. This makes it scalable to high-dimensional problems where calculating Hessians (second-order information) would be impossible.

Datasets

The authors evaluated SMO on several synthetic and real-world benchmarks:

  • Constrained Bilevel Linear/Quadratic Problems: Randomly generated instances to test scalability.
  • SVM Hyperparameter Tuning: Using five real-world datasets from the LIBSVM repository:
  • breast-cancer_scale
    • heart_scale
    • ionosphere_scale
    • german.numer_scale
    • australian_scale

Key Insights and Ideas

  • The Power of "Sequential": By solving a sequence of subproblems rather than one penalized problem, SMO avoids the numerical instability caused by the massive penalty parameters required in single-shot methods.
  • Decoupled Penalties: The authors found that separating the penalty parameters for the lower-level objective and the lower-level constraints is crucial. This "separation of concerns" allows for much more efficient convergence.
  • Theoretical Breakthrough: For problems where the lower-level objective is strongly convex, SMO improves the operation complexity from $O(\epsilon^{-7})$ to $O(\epsilon^{-6})$. In the world of optimization theory, a $1/\epsilon$ improvement is a major milestone.

Key Results

The numerical results are striking, particularly in terms of computational efficiency:

  • Speed: In constrained bilevel linear optimization, SMO was consistently 3x to 11x faster than the FOP method. For example, on a problem with 500 variables, SMO finished in 63.8 seconds compared to FOP's 719.8 seconds.
  • SVM Tuning: On the ionosphere_scale dataset, SMO reached a solution in 792.5 seconds, while the previous FOP method took 7520.7 seconds (nearly 10x slower) to achieve similar validation accuracy.
  • Stability: SMO consistently found solutions with lower objective values or better feasibility than the baseline, showing it is not just faster, but more robust.

Limitations and Future Work

While SMO represents a significant step forward, the authors note some areas for further exploration:

  • Compactness Assumption: The theoretical convergence relies on the assumption that the constraint sets are compact (bounded). Extending this to unbounded sets would broaden the method's applicability.
  • Stochastic Extensions: The current version is deterministic. In the era of Big Data, developing a stochastic version of SMO (using mini-batches of data) would be a logical and highly impactful next step for training massive machine learning models.
  • Parameter Sensitivity: Like many sequential methods, the performance can depend on the initial choice of penalty parameters and their update rates ($\tau$), though the paper provides suggested defaults that worked well across their tests.

Summary updated

BibTeX
@inproceedings{lu2026solving,
  author = {Zhaosong Lu and Sanyou Mei},
  title = {{Solving Bilevel Optimization via Sequential Minimax Optimization}},
  booktitle = {Mathematics},
  year = {2026},
  doi = {10.1287/moor.2024.0521},
}
Figure