Stochastic Regret Guarantees for Online Zeroth- and First-Order Bilevel Optimization

Li Shen (Sun Yat-Sen University) · Parvin Nazari (Amirkabir University of Technology) · Bojian Hou (Meta) · Davoud Ataee Tarzanagh (Samsung SDS Research America) · George Michailidis (University of California, Los Angeles)
bilevel optimizationblack-box attacksdynamic updatesgradientshessianshypergradient estimationjacobianslinear system solutiononline optimizationoracle dependenceparametric loss tuningregret minimizationsearch directionstochastic algorithmssystem performancezeroth-order methods

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.