A Conditional Gradient-based Method for Simple Bilevel Optimization with Convex Lower-level Problem

Ruichen Jiang, Nazanin Abolfazli, Aryan Mokhtari, Erfan Yazdandoost Hamedani

Abstract

Bilevel optimization involves minimizing an upper-level objective function over the optimal solution set of a lower-level problem. This "simple" bilevel optimization class is challenging due to the implicit nature of the feasible set and the failure of standard stability conditions like Slater's condition. We introduce CG-BiO, a novel projection-free algorithm that approximates the lower-level solution set using a cutting plane and performs conditional gradient updates. CG-BiO achieves state-of-the-art iteration complexity: $O(\max\{1/\epsilon_f, 1/\epsilon_g\})$ for convex upper-level objectives and $O(\max\{1/\epsilon_f^2, 1/(\epsilon_f\epsilon_g)\})$ for non-convex cases. Our method also demonstrates superior numerical stability compared to traditional primal-dual approaches.

Introduction

Bilevel optimization problems are hierarchical, where one problem is nested within another. In "simple" bilevel optimization, the goal is to minimize an upper-level function $f(x)$ subject to $x$ being an optimal solution to a lower-level convex problem $\min g(z)$. This structure is common in hyperparameter tuning, meta-learning, and fair machine learning.

This class of problems is notoriously difficult because the feasible set—the set of all $x$ that minimize $g$—is not explicitly defined. Standard tools like Gradient Descent fail because projecting onto this unknown set is computationally prohibitive. Furthermore, primal-dual methods often struggle because the problem is "degenerate," meaning it fails Slater’s condition. This leads to numerical instability and slow convergence as algorithms attempt to satisfy constraints perfectly.

Methodology: The CG-BiO Algorithm

The proposed CG-BiO (Conditional Gradient-based bilevel Optimization) algorithm addresses these challenges through two core innovations:

  1. Cutting Plane Approximation: Instead of characterizing the entire lower-level solution set, CG-BiO creates a local linear approximation at each iteration. It uses a "cutting plane"—a single linear inequality derived from the convexity of the lower-level objective $g$—to define a half-space that contains all optimal solutions of the lower-level problem.
  2. Conditional Gradient (Frank-Wolfe) Update: Once the local approximation is established (the intersection of the original constraint set and the cutting plane), the algorithm performs a standard Conditional Gradient update. This involves solving a simple linear subproblem rather than an expensive projection, making the method highly efficient for complex polyhedral constraints.

Experimental Evaluation

The authors evaluated CG-BiO against state-of-the-art baselines, including BiG-SAM, a-IRG, MNG, and DBGD, across tasks such as over-parameterized regression and fair classification.

Convergence and Stability

Numerical experiments demonstrate that CG-BiO converges significantly faster than existing methods. As shown in the convergence plots below, CG-BiO maintains a consistent lead in reducing both the lower-level and upper-level gaps over time while maintaining a lower test error objective.

Convergence performance of CG-BiO compared to baselines on lower-level gap, upper-level gap, and test error objective.

Unlike primal-dual methods which often show erratic behavior due to the degeneracy of the bilevel constraint, CG-BiO remained numerically stable throughout all experiments. It successfully achieves the best-known non-asymptotic convergence rates for this problem class.

Fair Classification

In a fair classification task using the Adult income dataset, the lower level minimizes standard training loss, while the upper level minimizes the covariance between predictions and sensitive attributes to ensure fairness.

Test set accuracy and fairness (p%-rule) for the fair classification task.

As illustrated in the results, while all methods achieve comparable test accuracy, CG-BiO achieves a much better "p%-rule" (a common fairness metric). This indicates that CG-BiO is more effective at finding solutions that satisfy the upper-level fairness objective without sacrificing model performance.

Conclusion

CG-BiO provides a robust and efficient framework for simple bilevel optimization. By combining cutting-plane approximations with conditional gradient updates, it bypasses the numerical instabilities of traditional methods and achieves optimal iteration complexity. While currently focused on "simple" bilevel problems where the lower-level objective is independent of upper-level variables, the cutting-plane approach serves as a fundamental building block for future extensions into more general bilevel optimization settings, such as hyperparameter optimization and reinforcement learning.

Summary updated

BibTeX
@inproceedings{jiang2023conditional,
  author = {Ruichen Jiang and Nazanin Abolfazli and Aryan Mokhtari and Erfan Yazdandoost Hamedani},
  title = {{A Conditional Gradient-based Method for Simple Bilevel Optimization with Convex Lower-level Problem}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=MKFLEEyERY},
}
Figure