Stochastic Regret Guarantees for Online Zeroth- and First-Order Bilevel Optimization
Parvin Nazari, Bojian Hou, Davoud Ataee Tarzanagh, Li Shen, George Michailidis
TL;DR
This work advances online bilevel optimization (OBO) by removing the need for window-smoothed regret and providing sublinear stochastic bilevel regret guarantees for both first-order and zeroth-order settings. It introduces a novel momentum-like search direction and a simultaneous online gradient descent (SOGD) framework that updates the leader, follower, and auxiliary variables in a single loop, using Hessian-vector and Jacobian-vector products without full inner problem solves. In the zeroth-order regime, the paper leverages Gaussian smoothing and finite-difference estimators to construct hypergradient surrogates based on function-value feedback, achieving dimension-dependent but sublinear regret bounds. Theoretical results are complemented by experiments on online parametric loss tuning and black-box adversarial attacks, demonstrating practical efficiency and robustness under limited feedback. Overall, the approach broadens the applicability of online bilevel optimization to large-scale and black-box settings with provable dynamic performance guarantees.
Abstract
Online bilevel optimization (OBO) is a powerful framework for machine learning problems where both outer and inner objectives evolve over time, requiring dynamic updates. Current OBO approaches rely on deterministic \textit{window-smoothed} regret minimization, which may not accurately reflect system performance when functions change rapidly. In this work, we introduce a novel search direction and show that both first- and zeroth-order (ZO) stochastic OBO algorithms leveraging this direction achieve sublinear {stochastic bilevel regret without window smoothing}. Beyond these guarantees, our framework enhances efficiency by: (i) reducing oracle dependence in hypergradient estimation, (ii) updating inner and outer variables alongside the linear system solution, and (iii) employing ZO-based estimation of Hessians, Jacobians, and gradients. Experiments on online parametric loss tuning and black-box adversarial attacks validate our approach.
