Faster Gradient Methods for Highly-Smooth Stochastic Bilevel Optimization

Lesi Chen, Junru Li, El Mahdi Chayti, Jingzhao Zhang

Here is a blog-style summary of the paper.

TL;DR

Stochastic bilevel optimization typically suffers from slow convergence rates ($\tilde{\mathcal{O}}(\epsilon^{-6})$) compared to standard single-level optimization ($\Omega(\epsilon^{-4})$). This paper introduces $\text{F}^2\text{SA}-p$, a novel class of fully first-order methods that leverages higher-order smoothness in the lower-level problem via $p$-th order finite differences. This approach accelerates the convergence rate up to $\tilde{\mathcal{O}}(\epsilon^{-4})$, effectively bridging the gap between bilevel and single-level stochastic optimization without requiring expensive Hessian computations.

What Problem Does This Paper Address?

Bilevel optimization—where one optimization problem contains another as a constraint—is foundational to modern machine learning applications like meta-learning, hyperparameter tuning, and reinforcement learning. However, solving these problems stochastically is notoriously difficult.

For the common "nonconvex-strongly-convex" setting, standard first-order stochastic gradient methods face a steep complexity barrier of $\tilde{\mathcal{O}}(\epsilon^{-6})$ to find an $\epsilon$-stationary point. This is significantly slower than the optimal $\Omega(\epsilon^{-4})$ lower bound for standard, single-level stochastic gradient descent (SGD). While some methods achieve faster rates, they typically rely on expensive Hessian-Vector Products (HVPs) and strict stochastic Hessian assumptions. The authors address a fundamental question: Can we achieve the optimal single-level convergence rate for stochastic bilevel optimization using only first-order (gradient) information?

Methods

The authors begin with a key insight: the existing fully first-order method, $\text{F}^2\text{SA}$, can be re-interpreted as approximating the hypergradient using a simple forward difference scheme. Because forward differences only provide a first-order error guarantee, the overall algorithm is slow.

To fix this, they propose $\text{F}^2\text{SA}-p$, which uses a $p$-th order finite difference approximation to estimate the hypergradient:

  • Symmetric Error Cancellation: For even values of $p$, the method employs a central difference scheme. For instance, $\text{F}^2\text{SA}-2$ solves a symmetric penalty problem that allows first-order approximation errors to perfectly cancel out.
  • Double-Loop Structure: The algorithm uses an inner loop running a $K$-step single-batch SGD subroutine to approximate the lower-level optimal solution, and an outer loop that executes a normalized gradient descent step based on the $p$-th order finite difference hypergradient estimator.

Crucially, this framework requires only gradient oracles and completely bypasses the need for second-order Hessian matrices or HVPs.

Datasets

The authors evaluated their method on the "20 Newsgroup" dataset (containing 18,000 samples across 20 categories) using a "learn-to-regularize" logistic regression problem. To test the limits of their method on nonsmooth, nonconvex problems, they also conducted experiments using a 5-layer multilayer perceptron (MLP) network with ReLU activations.

Key Insights and Ideas

  • The Finite Difference Connection: Linking penalty-based bilevel optimization directly to numerical finite difference methods provides a systematic framework for accelerating first-order algorithms.
  • Higher Smoothness = Higher Speed: If the lower-level objective function is highly smooth (i.e., possesses Lipschitz-continuous higher-order derivatives), we can use larger perturbation steps ($\nu$) without blowing up the approximation error.
  • Bilevel is Not Inherently Harder: The paper demonstrates that as the smoothness order $p$ approaches infinity, the complexity of stochastic bilevel optimization relaxes to match the single-level lower bound ($\Omega(\epsilon^{-4})$). This implies that bilevel structure itself doesn't inherently dictate a slower asymptotic rate.

Key Results

The theoretical and empirical results validate the power of higher-order differences:

  • Theoretical Upper Bounds: $\text{F}^2\text{SA}-p$ improves the stochastic first-order oracle (SFO) complexity from $\tilde{\mathcal{O}}(\epsilon^{-6})$ to $\tilde{\mathcal{O}}(p\epsilon^{-4-2/p})$. When the problem is highly smooth ($p = \Omega(\log \epsilon^{-1} / \log \log \epsilon^{-1})$), the complexity becomes $\tilde{\mathcal{O}}(\epsilon^{-4})$, achieving near-optimality.
  • Tightened Lower Bound: The authors proved that the $\Omega(\epsilon^{-4})$ lower bound holds for stochastic bilevel optimization under a fully separable problem construction.

A summary of how $\text{F}^2\text{SA}-p$ compares to prior work is illustrated in the table below:

SFO complexity comparison table
  • Empirical Performance: In hyperparameter tuning experiments on the 20 Newsgroup dataset, $\text{F}^2\text{SA}-p$ (specifically for $p \ge 2$) significantly outperformed the baseline $\text{F}^2\text{SA}$ and matched or exceeded the performance of state-of-the-art HVP-based methods (like stocBiO and VRBO) while being much simpler to implement.

Limitations and Future Work

Despite the breakthrough, a few open challenges remain:

  1. The Small-$p$ Gap: When $p$ is small (e.g., $p=1$), a theoretical gap still exists between the achieved upper bound and the optimal lower bound.
  2. Condition Number Dependency: The current upper bound scales with the condition number as $\kappa^9$, whereas concurrent lower bounds suggest dependencies around $\kappa^{2.5}$ or $\kappa^4$. Optimizing this factor remains an open problem.
  3. Algorithmic Enhancements: The authors suggest that integrating variance-reduction or momentum techniques into the $\text{F}^2\text{SA}-p$ framework could yield even faster empirical and theoretical convergence rates.

Summary updated

BibTeX
@inproceedings{chen2026faster,
  author = {Lesi Chen and Junru Li and El Mahdi Chayti and Jingzhao Zhang},
  title = {{Faster Gradient Methods for Highly-Smooth Stochastic Bilevel Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=XIAta0WOJ6},
}
Figure