Adaptive Mirror Descent Bilevel Optimization

Feihu HuangarXiv 2023 · DOI

Abstract

Bilevel optimization is a critical framework for various machine learning tasks, yet existing methods often rely on restrictive strong convexity assumptions or lack adaptive learning rate capabilities. This paper introduces two novel algorithms, AdaPAG and AdaVSPAG, which leverage adaptive mirror descent and a projection-aid technique to handle nonconvex lower-level problems satisfying the Polyak-Łojasiewicz (PL) condition. We establish state-of-the-art gradient complexities of $O(\epsilon^{-1})$ for deterministic and $O(\epsilon^{-3/2})$ for stochastic settings, matching or exceeding previous non-adaptive benchmarks while providing the practical advantages of adaptivity.

Introduction

Bilevel optimization—where one optimization problem is nested inside another—serves as the backbone for modern machine learning paradigms such as meta-learning, hyperparameter tuning, and reinforcement learning. Despite its utility, solving these problems is notoriously difficult, particularly when the lower-level problem lacks simple convexity. Standard approaches typically assume the lower-level objective is strongly convex (SC), a condition often violated in deep learning contexts like over-parameterized neural networks.

Problem Formulation

The standard bilevel optimization problem aims to minimize an upper-level function $f(x, y)$ subject to $y$ being an optimal solution to a lower-level function $g(x, y)$: $$\min_{x \in \mathcal{X}} \Phi(x) := f(x, y^*(x)), \quad \text{s.t. } y^*(x) \in \arg\min_{y \in \mathcal{Y}} g(x, y)$$ Calculating the "hyper-gradient" $\nabla \Phi(x)$ usually requires inverting the Hessian matrix of the lower-level objective. If this matrix is singular or poorly conditioned, standard algorithms fail. Furthermore, while recent research has explored the broader Polyak-Łojasiewicz (PL) condition, which allows for nonconvexity, the integration of adaptive learning rates (e.g., Adam-like updates) remained an open challenge.

Proposed Methodology: AdaPAG and AdaVSPAG

The paper introduces two primary algorithms based on Mirror Descent, which utilizes Bregman divergence to adapt to the geometry of the optimization landscape.

1. AdaPAG (Adaptive Projection-Aid Gradient)

Designed for deterministic settings, AdaPAG employs an adaptive mirror distance to adjust learning rates dynamically. To address numerical instability, it introduces a "projection-aid" technique. Instead of direct Hessian inversion, it projects the Hessian onto a set of matrices with bounded eigenvalues using Singular Value Decomposition (SVD) and thresholding. This ensures stability even when the lower-level problem is nonconvex.

2. AdaVSPAG (Adaptive Stochastic Projection-Aid Gradient)

For stochastic environments, AdaVSPAG integrates variance-reduction techniques (such as SARAH or SPIDER) with adaptive mirror descent. This combination maintains stable gradient estimates while benefiting from adaptive step sizes.

3. Unified Framework

The analysis accommodates both unimodal and multimodal lower-level objectives by utilizing the concept of "attraction basins," providing a robust theoretical foundation for complex optimization landscapes.

Theoretical Results and Complexity

The proposed methods achieve state-of-the-art theoretical limits for finding an $\epsilon$-stationary solution. Specifically, AdaPAG achieves a gradient complexity of $O(\epsilon^{-1})$ in the deterministic case, while AdaVSPAG reaches $O(\epsilon^{-3/2})$ in the stochastic case.

As illustrated in the comparison table above, these results match or exceed the performance of non-adaptive state-of-the-art methods. Notably, both methods demonstrate a fast convergence rate of $O(1/T)$, where $T$ is the number of iterations.

Conclusion and Future Work

This work establishes a unified framework for adaptive bilevel optimization under the PL condition, offering robustness through spectral projection. While the theoretical bounds are optimal, the computational cost of SVD per iteration may be significant for high-dimensional problems. Future research should focus on empirical validation across large-scale benchmarks and exploring even more general nonconvex settings beyond the PL condition.

Summary updated

BibTeX
@misc{huang2023adaptive,
  author = {Feihu Huang},
  title = {{Adaptive Mirror Descent Bilevel Optimization}},
  year = {2023},
  eprint = {2311.04520},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.04520},
}
Figure