Abstract: In this paper, we consider bilevel optimization problem where the lower-level has coupled constraints, i.e. the constraints depend both on the upper- and lower-level variables. In particular, we consider two settings for the lower-level problem. The first is when the objective is strongly convex and the constraints are convex with respect to the lower-level variable; The second is when the lower-level is a linear program. We propose to utilize a barrier function reformulation to translate the problem into an unconstrained problem. By developing a series of new techniques, we proved that both the hyperfunction value and hypergradient of the barrier reformulated problem (uniformly) converge to those of the original problem under minimal assumptions. Further, to overcome the non-Lipschitz smoothness of hyperfunction and lower-level problem for barrier reformulated problems, we design an adaptive algorithm that ensures a non-asymptotic convergence guarantee. We also design an algorithm that converges to the stationary point of the original problem asymptotically under certain assumptions. The proposed algorithms require minimal assumptions, and to our knowledge, they are the first with convergence guarantees when the lower-level problem is a linear program. Numerical experiments are conducted to show the effectiveness of the proposed method.
1. Introduction
Bilevel optimization (BLO) is a powerful mathematical framework for modeling hierarchical decision-making. In a standard BLO setup, a "leader" (upper-level) makes a decision, and a "follower" (lower-level) optimizes their own objective based on that decision. This structure is essential for applications ranging from hyperparameter tuning in machine learning to tax setting in economics.
However, significant challenges arise when the follower’s choices are restricted by coupled constraints—constraints that depend on both the leader's and the follower's variables. In these cases, the follower's optimal response can become nonsmooth or discontinuous, making the calculation of the "hypergradient" (the gradient needed by the leader) extremely difficult. Most existing algorithms either ignore these constraints or lack theoretical convergence proofs, particularly when the lower-level problem is a Linear Program (LP).
2. The Bilevel Barrier Method (BFBM)
To address these complexities, we introduce the Bilevel Barrier Method (BFBM). Our approach leverages the log-barrier function, a classic tool from interior-point methods, to reformulate the problem:
- Reformulation: We replace hard constraints $h_i(x, y) \le 0$ with a penalty term $-t \sum \log(-h_i(x, y))$ added to the follower's objective. This transforms a constrained problem into a smooth, unconstrained one.
- Adaptive Algorithm: Log-barriers cause gradients to "explode" near the boundaries of the feasible set, violating standard Lipschitz smoothness assumptions. We designed an adaptive algorithm that carefully adjusts the leader's step size and the barrier parameter $t$ to maintain stability.
- Path-Following: We provide both non-asymptotic and asymptotic versions of the algorithm. The latter iteratively shrinks the barrier parameter $t$ to zero to recover the stationary point of the original constrained problem.
3. Theoretical Insights
A key technical contribution of this work is the proof of a linear boundary relationship (Theorem 4.1). We demonstrate that as the barrier parameter $t$ approaches zero, the follower's distance to the constraint boundary shrinks at most linearly with $t$. This discovery allows us to bound the "explosive" gradients and establish the first hypergradient convergence guarantees for barrier-reformulated BLO, even when the lower-level is an LP.
4. Comparison with Existing Literature
The BFBM framework offers several theoretical and practical advantages over existing methods. Unlike penalty-based methods that may drift into infeasible regions, the barrier method naturally ensures that the follower's solution remains within the feasible set.
As illustrated in Table 1, BFBM is the only algorithm that handles both strongly convex and linear lower-level problems without requiring nonstandard assumptions while providing non-asymptotic convergence guarantees. This makes it a robust choice for complex hierarchical problems where traditional methods like BSG or BLOCC may fail to provide guarantees.
5. Experimental Results
We evaluated BFBM using synthetic benchmarks and a practical price-setting problem. In the price-setting task—a transportation context where a leader sets taxes and a follower minimizes costs—BFBM was the only algorithm that consistently maintained zero constraint violation. Furthermore, it significantly outperformed existing methods in finding optimal objective values for Linear Program lower-level tasks.
6. Conclusion
This paper introduces a rigorous barrier-based approach to bilevel optimization with coupled constraints. By smoothing the follower's response and utilizing adaptive step-sizing, we provide the first convergence guarantees for LP-based lower-level problems. Future work will focus on improving computational efficiency and extending the BFBM framework to stochastic settings common in large-scale machine learning applications.
Summary updated