NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Functionally Constrained Algorithm Solves Convex Simple Bilevel Problem

Huaqing Zhang, Lesi Chen, Jing Xu, Jingzhao Zhang

Executive Summary

This paper presents a fundamental breakthrough in the field of simple bilevel optimization. The authors first prove a striking negative result: finding "absolute" optimal solutions is fundamentally impossible for standard first-order algorithms. To circumvent this theoretical roadblock, they introduce FC-BiO (Functionally Constrained Bilevel Optimizer), a novel algorithm that reformulates the problem to target "weak" optimal solutions. FC-BiO achieves the first near-optimal convergence rates for both smooth and nonsmooth convex bilevel problems without relying on restrictive assumptions like strong convexity.

The Challenge of Simple Bilevel Optimization

Bilevel optimization involves a strict hierarchy of objectives. The goal is to minimize an "upper-level" function $f(x)$, but the choice of $x$ is strictly restricted to the set of points that already minimize a "lower-level" function $g(x)$. This nested structure naturally models complex machine learning tasks, including hyperparameter tuning, lifelong learning, and dictionary learning.

The "simple" version of this problem assumes both $f$ and $g$ are convex. However, the "simple" label is a misnomer. These problems are notoriously difficult to solve because the constraint set—the exact solutions to the lower-level problem—is defined implicitly. Historically, algorithms attempting to solve this have either required very strong assumptions (such as strong convexity or specialized "sublevel set oracles") or suffered from sub-optimal convergence rates.

A Theoretical Roadblock: The Intractability Proof

A major contribution of this work is identifying a specific gap in how solutions are defined: the distinction between absolute optimal solutions (where the function value is strictly close to the global minimum) and weak optimal solutions (where the value is close to the minimum within a slightly relaxed constraint set).

The authors provide a rigorous intractability proof demonstrating that "zero-respecting" first-order algorithms—those that only move within the span of observed gradients—cannot find absolute optimal solutions. Furthermore, they highlight a fundamental asymmetry: while the minimum of $g$ is a global minimum, the minimum of $f$ is only a minimum on a restricted set. This asymmetry makes bilevel problems inherently harder than standard constrained optimization, justifying a necessary paradigm shift toward finding weak optimal solutions.

Methodology: The FC-BiO Algorithm

To find these weak optimal solutions efficiently, the authors propose a two-step reformulation strategy called FC-BiO:

  1. Functional Relaxation: Instead of forcing $x$ to be an exact minimizer of $g$, the algorithm relaxes the constraint to $g(x) \le \hat{g}^* + \epsilon_g$, where $\hat{g}^*$ is an approximate minimum of the lower-level problem.
  2. Minimax Root-Finding: Leveraging a technique pioneered by Nesterov, they transform this constrained problem into finding the smallest root of an auxiliary function: $$\psi^*(t) = \min_{x \in Z} \max \{f(x) - t, g(x) - \hat{g}^*\}$$

This leads to a highly efficient double-loop structure:

  • Outer Loop: A bisection procedure is used to find the root $t$, which represents the optimal value $f^*$.
  • Inner Loop: A first-order solver is deployed to solve the minimax sub-problem for a fixed $t$. Depending on the problem's smoothness, this is either a Subgradient Method (for nonsmooth problems) or a Generalized Accelerated Gradient Method (for smooth problems).

Key Results and Empirical Validation

FC-BiO stands out because it does not require functions to be strongly convex or satisfy complex error-bound conditions. By matching their upper bounds with newly constructed lower bounds, the authors demonstrate that FC-BiO is nearly optimal. It achieves a convergence rate of $\tilde{O}(1/\epsilon^2)$ for nonsmooth problems and $\tilde{O}(1/\sqrt{\epsilon})$ for smooth problems, hiding only logarithmic factors.

Empirically, the authors evaluated FC-BiO on two primary benchmarks:

  • Wikipedia Math Essential Dataset: A "minimum norm solution" problem aiming to find the minimum norm vector among all vectors that minimize a least-squares loss.
  • RCV1 (Reuters Corpus Volume 1): An over-parameterized logistic regression task where the lower-level task minimizes training loss and the upper-level task minimizes validation loss.

In these experiments, FC-BiO significantly outperformed existing methods such as a-IRG, CG-BiO, and Bi-SG. Despite its double-loop nature, the outer bisection converges logarithmically, meaning the total computational complexity is dominated by the efficient inner-loop gradient steps. In the logistic regression task, FC-BiO converged to low error levels rapidly, while baseline methods plateaued or progressed much slower.

Limitations and Future Directions

While FC-BiO represents a significant leap forward, the authors note a few areas for future exploration:

  • Logarithmic Gap: A small gap remains between the theoretical upper and lower bounds due to logarithmic factors introduced by the bisection and warm-start strategies.
  • Stochastic Settings: The current framework is tailored for deterministic gradients. Extending these near-optimal rates to stochastic bilevel optimization—where only noisy gradient samples are available—remains an open and challenging problem.
  • Hyperparameter Sensitivity: As is common with bisection-based methods, the algorithm's performance can be sensitive to the initial bounds $[l, u]$ chosen for the optimal value.

Summary updated

BibTeX
@inproceedings{zhang2024functionally,
  author = {Huaqing Zhang and Lesi Chen and Jing Xu and Jingzhao Zhang},
  title = {{Functionally Constrained Algorithm Solves Convex Simple Bilevel Problem}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=PAiGHJppam},
}
Figure