arXiv:2610.24538math.OCOct 2026

Manuscript Offprint

arXiv:2610.24538

Accelerating Finite-Sum Bilevel Optimization with Fully First-Order Oracles

Qihao Zhou, Shanshui Niu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study nonconvex-strongly-convex bilevel optimization with finite-sum objectives and fully first-order oracles. We propose Sampled Implicit Corrections for Bilevel Optimization (SICBO), which combines a penalty approximation with variance-reduced corrections for the lower-level variables. Under componentwise lower strong convexity, SICBO finds a point xx satisfying E∥∇Φ(x)∥2≤ε2\mathbb{E}\|\nabla\Phi(x)\|^2 \leq \varepsilon^2 within O~(N+Nκ7/2ε−2)\widetilde{\mathcal{O}}(N + \sqrt{N}\kappa^{7/2}\varepsilon^{-2}) component-gradient calls, where NN is the total number of components and κ\kappa is the normalized lower-level condition number. The bound achieves square-root finite-sum dependence using only gradients and preserves the best known deterministic fully first-order condition-number exponent for smooth problems. Our improvement follows from a curvature-dependent bound for nonlinear correction errors, which permits epochs of length Θ~(N/κ)\widetilde{\Theta}(\sqrt{N/\kappa}) with batches of size Θ~(Nκ)\widetilde{\Theta}(\sqrt{N\kappa}). A single-level reduction shows that the dependence on NN and ε\varepsilon is optimal up to logarithmic factors for fixed κ\kappa.

1 Introduction

We study the finite-sum bilevel optimization problem

min⁡x∈RdxΦ(x):=f(x,y∗(x)),y∗(x):=arg⁡min⁡y∈Rdyg(x,y),(1)\min_{x\in\mathbb{R}^{d_{x}}}\Phi(x):=f(x,y^{*}(x)),\qquad y^{*}(x):=\arg\min_{y\in\mathbb{R}^{d_{y}}}g(x,y), \tag{1}

where f(x,y)=n−1∑i=1nfi(x,y)f(x,y) = n^{-1} \sum_{i=1}^{n} f_i(x,y) and g(x,y)=m−1∑j=1mgj(x,y)g(x,y) = m^{-1} \sum_{j=1}^{m} g_j(x,y). The lower objective is strongly convex in yy, and Φ\Phi may be nonconvex. Such problems arise when an upper variable is selected through the solution of a training problem. We write N=n+mN = n + m and count individual component-gradient evaluations.

The gradient of Φ\Phi, called the hypergradient, involves the inverse of the lower Hessian. Implicit differentiation methods therefore typically require Hessian-vector products. Fully first-order methods approximate the hypergradient through differences of gradients. The penalty approach of Kwon et al. [16] and Chen et al. [3], combined with accelerated inner minimization, gives a deterministic complexity of O~(κ7/2ε−2)\widetilde{\mathcal{O}}(\kappa^{7/2}\varepsilon^{-2}) [4].

Implementing these deterministic methods on (1) by full gradients adds a factor NN. Accelerated finite-sum solvers reduce the inner minimization cost, but a full pass at every outer iteration still contributes Nκ3ε−2N\kappa^3\varepsilon^{-2}. This term exceeds the desired finite-sum rate when N>κN > \kappa.

In this paper, we propose Sampled Implicit Corrections for Bilevel Optimization (SICBO), which tracks the two inner solutions with sampled corrections. The key step is to control sampling errors through these nonlinear corrections in curvature-dependent norms. The resulting epoch estimate gives the complexity

O~(N+Nκ7/2ε−2).(2)\widetilde{\mathcal{O}}\Big(N+\sqrt{N}\kappa^{7/2}\varepsilon^{-2}\Big). \tag{2}

∗^{*}Independent Researcher. Corresponding author. Email: qihao_zhou@berkeley.edu.

†^{\dagger}Independent Researcher. Email: shanshun@alumni.cmu.edu.

The bound combines gradient-only access, square-root finite-sum dependence, and the κ7/2\kappa^{7/2} exponent of the accelerated deterministic penalty method. The analysis uses curvature-weighted concentration at population endpoints and predictable energy peeling to control the error over each epoch. We also prove a lower bound matching the dependence on N and ε\varepsilon up to logarithms for fixed κ\kappa; a matching bound in κ\kappa remains open. On a synthetic finite-sum family, SICBO uses the fewest component-gradient calls among the methods in Table 1, with an advantage over the full-refresh benchmark that decreases with κ\kappa as predicted by the amortized cost (Section 6).

References (22)