Overview
This paper introduces SUSTAIN (Single-timescale Double-momentum Stochastic Approximation), a novel algorithm designed for stochastic unconstrained bilevel optimization. By applying recursive momentum to both upper and lower-level gradient updates, SUSTAIN matches the optimal sample complexity of single-level stochastic gradient methods. Crucially, it avoids the computationally crippling Hessian matrix inversions required by prior state-of-the-art approaches, offering a highly efficient, single-loop solution.
Problem Statement
Many modern machine learning tasks—such as meta-learning, hyperparameter optimization, and reinforcement learning—are inherently hierarchical and can be framed as bilevel optimization problems. In these scenarios, an "upper-level" (outer) objective depends on the optimal solution of a "lower-level" (inner) objective.
Solving these problems is notoriously difficult. Updating the upper-level variables requires the gradient of the upper-level objective, which in turn demands knowing the exact solution to the lower-level problem and computing an inverse Hessian matrix. In stochastic settings (like training with mini-batches), this becomes a noisy, computationally expensive bottleneck.
Prior approaches typically fall into one of several traps:
- Double-loop methods: Waste time solving the inner problem to full convergence at every step.
- Two-timescale methods: Use drastically different learning rates for inner and outer loops, slowing down overall convergence.
- Computationally heavy methods: Require massive batch sizes and explicit matrix inversions that scale cubically $\mathcal{O}(d^3)$ with the dimension of the problem.
This paper seeks a sample-efficient, computationally cheap, single-loop alternative.
Proposed Methodology: SUSTAIN
The authors propose SUSTAIN to overcome the limitations of existing bilevel optimizers. The algorithm's core innovations include:
- Single-Loop, Single-Timescale: Instead of waiting for the inner problem to converge, SUSTAIN updates both the inner and outer variables simultaneously using step sizes of the same order.
- Double-Momentum: To combat the noise of updating both levels at once, SUSTAIN uses recursive momentum estimators (similar to STORM or SPIDER in standard optimization) for both the lower-level gradient and the upper-level gradient surrogate.
- Cheap Hessian-Vector Products: Instead of explicitly inverting the Hessian matrix of the lower-level objective, SUSTAIN uses a Neumann series approximation. This provides a biased but cheap estimate of the inverse Hessian-vector product using only $\mathcal{O}(1)$ samples per iteration.
Key Theoretical Insights
- Variance reduction doesn't require tracking everything: The upper-level gradient estimator is a complex mathematical object involving multiple stochastic vectors and matrices. Previous works tried to apply variance reduction to each component individually, requiring the storage and inversion of massive matrices. SUSTAIN proves that you only need to apply momentum to the combined gradient surrogate to achieve optimal convergence.
- Bilevel optimization can be as fast as single-level: A surprising theoretical takeaway is that bilevel optimization doesn't have to be asymptotically slower or more sample-hungry than standard single-level optimization. With the right momentum tracking, the sample complexity matches the known lower bounds for single-level stochastic gradient descent.
- Bias is acceptable if managed well: The cheap Neumann series approximation introduces bias into the gradient estimate. However, the authors show that as the inner variable converges, this bias decays exponentially, meaning explicit Hessian inversion is entirely unnecessary.
Main Results
SUSTAIN demonstrates significant improvements in both theoretical complexity and empirical performance:
- Theoretical Sample Complexity: For non-convex upper-level problems, SUSTAIN requires $\mathcal{O}(\epsilon^{-3/2})$ samples to reach an $\epsilon$-stationary point. For strongly-convex upper-level problems, it requires $\mathcal{O}(\epsilon^{-1})$ samples. Both match the best-known rates for single-level optimization.
- Computational Efficiency: As shown in the comparison table above, SUSTAIN reduces the per-iteration computational complexity to $\mathcal{O}(d_{\text{lo}}^2 \log T)$ (where $d_{\text{lo}}$ is the dimension of the inner problem). This is a massive improvement over the $\mathcal{O}(d_{\text{lo}}^3)$ required by competing variance-reduced algorithms like STABLE and SVRB.
Empirical Evaluation
The authors evaluated SUSTAIN on two standard benchmarks:
- Data Hyper-cleaning (FashionMNIST): A hyperparameter optimization task where the algorithm trains a classifier on a dataset with 30% corrupted labels by learning to weight the training samples. SUSTAIN converged significantly faster and achieved lower training loss than baselines like stocBiO and HOAG.
- Meta-learning (miniImageNet): A 5-way 5-shot task testing how well the algorithm learns task-specific parameters that generalize across diverse tasks. SUSTAIN outperformed ANIL and ITD-BiO in both training speed and final testing accuracy.
Limitations and Future Work
The theoretical guarantees of SUSTAIN currently rely on the assumption that the lower-level subproblem is strongly convex and unconstrained.
For future work, the authors plan to rigorously establish the theoretical lower bounds for sample complexity in bilevel stochastic optimization to prove SUSTAIN is strictly optimal. They also suggest extending the algorithm to handle constrained lower-level problems and developing communication-efficient variants for distributed settings.
Summary updated