A Primal-Dual-Assisted Penalty Approach to Bilevel Optimization with Coupled Constraints

Liuyuan Jiang, Quan Xiao, Victor M. Tenorio, Fernando Real-Rojas, Antonio G. Marqués, Tianyi Chen · DOI

Introduction

Bilevel optimization (BLO) models hierarchical decision-making where a "leader" (upper-level) optimizes an objective function subject to the optimal solution of a "follower" (lower-level) problem. A particularly difficult class of BLO involves Coupled Constraints (CCs), where the feasible region of the follower depends on the leader's decision. These constraints are prevalent in real-world applications like transportation network design and hyperparameter tuning but often lead to non-smoothness and computational intractability.

Existing algorithms often require "joint projections"—computationally expensive mathematical resets at every step to ensure all constraints are met. As the number of variables grows into the thousands, these methods become a significant bottleneck.

The BLOCC Framework

To overcome these hurdles, the authors introduce BLOCC (BiLevel Optimization with Coupled Constraints). The core innovation is a Primal-Dual-Assisted Penalty Reformulation. Instead of direct optimization or complex joint projections, BLOCC converts the bilevel problem into a single-level min-max-min structure.

Comparison of BLOCC with existing bilevel optimization methods across various constraint types and computational complexities.

The method utilizes:

  1. Penalty Terms: These "soften" the bilevel constraint by penalizing deviations from the lower-level optimum.
  2. Lagrangian Dual Variables: These handle coupled inequality constraints without requiring projections onto complex sets.
  3. First-Order Updates: By relying solely on gradients rather than Hessians (complex matrices of second-order derivatives), BLOCC achieves high memory efficiency and speed.

Theoretical Contributions and Complexity

A key finding is that the proposed reformulation is differentiable, allowing for standard gradient-based optimization. The authors provide rigorous convergence guarantees, establishing a complexity of $\tilde{O}(\epsilon^{-2.5})$ for general constraints and $\tilde{O}(\epsilon^{-1.5})$ for affine constraints. This represents a significant improvement over existing methods that often lack explicit complexity bounds or fail to scale to large datasets.

Visualization of the value function $v(x)$ illustrating how the inclusion of the dual variable $\mu_g^*(x)$ assists in defining the optimal solution path.

Experimental Validation

The effectiveness of BLOCC was demonstrated across several benchmarks:

  • Transportation Planning: In the Seville network (26 nodes, 50,000+ variables), BLOCC converged in under 19 hours, whereas the state-of-the-art LV-HBA failed to converge within a day.
  • Machine Learning: For SVM hyperparameter optimization using the Diabetes and Fourclass datasets, BLOCC outperformed the Gradient Approximation Method (GAM) in both test accuracy and computational stability.

Conclusion

BLOCC offers a scalable, first-order solution for bilevel problems with coupled constraints. By bypassing the "joint projection" bottleneck, it enables the optimization of large-scale systems previously considered intractable. Future research will explore extending this framework to stochastic environments and non-convex lower-level problems.

Summary updated

BibTeX
@inproceedings{jiang2024primal,
  author = {Liuyuan Jiang and Quan Xiao and Victor M. Tenorio and Fernando Real-Rojas and Antonio G. Marqués and Tianyi Chen},
  title = {{A Primal-Dual-Assisted Penalty Approach to Bilevel Optimization with Coupled Constraints}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=uZi7H5Ac0X},
}
Figure