math.OCSep 6, 2026

Stochastic Nonconvex Bilevel Optimization: Improved Rates Without Rare-Visit Assumption

Authors: Daniel Cortild, Mathias Staudigl, Juan Peypouquet, Coralia Cartis

Organizations: Mathematical Institute, University of Oxford, United Kingdom · Department of Business Analytics and Decision Sciences, University of Economics and Business, Vienna, Austria · Bernouilli Institute, University of Groningen, The Netherlands

Abstract

We investigate stochastic simple bilevel optimization with smooth and possibly nonconvex upper- and lower-level objectives. Existing stochastic extensions of dynamic barrier gradient descent (DBGD) either obtain fast convergence under an unverifiable trajectory-dependent ``rare-visit'' assumption, or remove this assumption at a substantially higher oracle cost. We show that a simple denominator-only regularization of the DBGD multiplier eliminates the need for such an assumption while preserving fast convergence rates. Specifically, our method achieves (ε,ε)(\varepsilon, \varepsilon)-stationarity in O(ε−2)O(\varepsilon^{-2}) iterations using O(ε−4)O(\varepsilon^{-4}) upper-level and O(ε−7)O(\varepsilon^{-7}) lower-level stochastic gradients, which improves upon the best assumption-free complexities. We additionally derive anytime parameter schedules.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 5, 2026

A Single-Loop, Constant-Batch First-Order Penalty Method for Stochastic Bilevel Optimization

Recent advances in penalty-based methods for stochastic bilevel optimization (SBO) have eliminated the need for second-order derivative oracles. However, for stochastic nonconvex-strongly convex bilevel problems, existing first-order methods typically rely on nested loops and/or large batch sizes for attaining O(ε−6)O(ε^{-6}) or O(ε−4)O(ε^{-4}) sample complexity under standard bounded-variance assumption or mean-square smoothness assumption. Achieving these rates with a single-loop penalty method and a constant batch size remains challenging due to a large penalty value needed for an accurate approximation. To address this challenge, we develop a stochastic SIngle-loop COnstant-Batch first-order penalty method (SICO) that combines two complementary ingredients. First, it performs one stochastic-gradient update per-iteration for both the original lower-level and penalized problems, with a projection that controls the separation between their iterates. Second, it applies an exponential moving average to stabilize the upper-level gradient estimator. We show that this combination achieves O(ε−6)O(ε^{-6}) sample complexity using only O(1)O(1) stochastic-gradient samples per iteration under unbiased, bounded-variance stochastic gradients. Under the additional mean-square smoothness assumption on the lower-level stochastic gradients, the same algorithm improves the complexity to O(ε−4)O(ε^{-4}) also with O(1)O(1) batch size. To the best of our knowledge, this is the first work to match the best-known convergence rate for fully first-order SBO methods using a single loop and a constant batch size. This result addresses an open problem posed in the literature.
Oct 1, 2026

Optimal Stochastic Bilevel Optimization with First-Order Oracles

We study nonconvex--strongly-convex bilevel optimization under a stochastic first-order oracle. We introduce MRT-FD, a single-loop first-order method that simultaneously tracks the upper-level variable, the lower-level solution, and the auxiliary response arising from implicit differentiation of the hyperobjective. MRT-FD performs one update of each variable per iteration and approximates the second-order derivative actions using order-pp finite differences. For any fixed finite smoothness order p≥1p\ge1 in the lower-level variable, MRT-FD finds an ε\varepsilon-stationary point using O(ε−4−2/p)\mathcal{O}(\varepsilon^{-4-2/p}) stochastic gradient queries. We also prove a matching Ω(ε−4−2/p)Ω(\varepsilon^{-4-2/p}) oracle lower bound. The lower-bound construction starts from a hard nonconvex minimization chain with a stronger stochastic oracle, and lifts it to a bilevel problem through a sinusoidal coupling with a scalar lower-level variable. Consequently, the dependence on ε\varepsilon is optimal for every fixed finite pp, closing the upper--lower complexity gap in this stochastic first-order oracle setting.
Aug 24, 2026

SGHA: A Single-Loop Fully First-Order Algorithm for Nonconvex-Strongly-Convex Bilevel Optimization

In this work, we study the oracle complexity of finding an εε-stationary point for nonconvex-strongly-convex (NC-SC) bilevel optimization using only first-order oracles. Existing methods achieving the best-known complexity guarantees typically rely on double-loop, penalty-based procedures. We propose a novel single-loop algorithm based on a constrained reformulation in which lower-level stationarity is imposed as a constraint. Specifically, we construct a regularized Lagrangian by introducing a quadratic regularizer and restricting the dual variable to a bounded domain, and then apply Smoothed Gradient Descent Ascent [Zhang et al., 2020], with Hessian-vector products approximated via finite differences of gradients. We refer to the resulting deterministic and stochastic algorithms as SGHA and Stoc-SGHA, respectively. In the deterministic setting, SGHA achieves an oracle complexity of O(κˉy5ε−2)O(\barκ_y^{5}ε^{-2}), where κˉy\barκ_y denotes the relevant condition number. In the stochastic setting, Stoc-SGHA achieves an oracle complexity of O(κˉy17ε−6ρ−3)O\left(\barκ_y^{17}ε^{-6}ρ^{-3}\right) with probability at least 1−ρ1-ρ for any ρ∈(0,1)ρ\in(0,1), and an oracle complexity of O(κˉy17ε−6)O\left(\barκ_y^{17}ε^{-6}\right) in expectation under an additional bounded-iterate assumption. Moreover, under an additional stochastic smoothness assumption imposed only on the lower-level objective, the stochastic oracle complexity of Stoc-SGHA improves to O(κˉy11ε−4ρ−2)O\left(\barκ_y^{11}ε^{-4}ρ^{-2}\right) with high probability and O(κˉy11ε−4)O\left(\barκ_y^{11}ε^{-4}\right) in expectation, matching the εε-dependence of the lower bounds.