Back to results

The Ohio State University

Bilevel Optimization for Machine Learning: Algorithm Design and Convergence Analysis

Abstract

dc:description

Bilevel optimization has become a powerful framework in a variety of machine learning applications including signal processing, meta-learning, hyperparameter optimization, reinforcement learning and network architecture search. There are generally two classes of bilevel optimization formulations for modern machine learning: 1) problem-based bilevel optimization, whose inner-level problem is formulated as finding a minimizer of a given loss function; and 2) algorithm-based bilevel optimization, whose inner-level solution is an output of a fixed algorithm. For the first problem class, two popular types of gradient-based algorithms have been proposed to estimate the gradient of the outer-level objective (hypergradient) via approximate implicit differentiation (AID) and iterative differentiation (ITD). Algorithms for the second problem class include the popular model-agnostic meta-learning (MAML) and almost no inner loop (ANIL). Although bilevel optimization algorithms have been widely used, their convergence rate and fundamental limitations have not been well explored.In this thesis, we provide a comprehensive theory for bilevel algorithms in the aforementioned two classes. We further propose enhanced and principled algorithm designs for bilevel optimization with higher efficiency and scalability in practice. For problem-based bilevel optimization, we first provide a comprehensive convergence theory for AID- and ITD-based algorithms for the nonconvex-strongly-convex setting. For the AID-based methods, we orderwisely improve the previous computational complexities, and for the ITD-based methods we establish the first theoretical convergence rate. Our analysis also provides a quantitative comparison between ITD- and AID-based methods. We further provide the theoretical guarantee for ITD- and AID-based methods in meta-learning. Second, we propose a new accelerated bilevel optimizer named AccBiO, for which we provide the first-known complexity bounds without the gradient boundedness assumption (which was made in existing analyses) respectively for strongly-convex-strongly-convex and convex-strongly-convex bilevel optimizations. Our analysis controls the finiteness of all iterates as the algorithm runs via an induction proof to ensure that the hypergradient estimation error will not explode after the acceleration steps. We also provide significantly tighter upper bounds than the existing complexity when the bounded gradient assumption does hold. We then provide the first-known lower bounds for strongly-convex-strongly-convex and convex-strongly-convex bilevel optimizations. We demonstrate the optimality of our results by showing that AccBiO achieves the optimal results (i.e., the upper and lower bounds match) up to logarithmic factors when the inner-level problem takes a quadratic form with a constant-level condition number. Interestingly, our lower bounds under both geometries are larger than the corresponding optimal complexities of minimax optimization, establishing that bilevel optimization is provably more challenging than minimax optimization.We finally propose a novel stochastic bilevel optimization algorithm named stocBiO, which features a sample-efficient hypergradient estimator using efficient Jacobian- and Hessian-vector product computations. We provide the convergence rate guarantee for stocBiO, and show that stocBiO outperforms the best known computational complexities orderwisely with respect to the condition number $\kappa$ and the target accuracy ε. We further validate our theoretical results and demonstrate the efficiency of stocBiO by the experiments on hyperparameter optimization. For algorithm-based bilevel optimization, we first develop a new theoretical framework to provide such convergence guarantee for two types of objective functions that are of interest in practice: (a) resampling case (e.g., reinforcement learning), where loss functions take the form in expectation; and (b) finite-sum case (e.g., supervised learning), where loss functions take the finite-sum form with given samples. For both cases, we characterize the convergence rate and complexity to attain an ε-accurate solution for multi-step MAML in the general nonconvex setting. In particular, our results suggest choosing the inner-stage stepsize to be inversely proportional to the number $N$ of inner-stage steps in order for $N$-step MAML to have guaranteed convergence. Technically, we develop novel techniques to deal with the nested structure of the meta gradient for multi-step MAML, which can be of independent interest. We then characterize the convergence rate and the computational complexity for ANIL under two representative inner-loop loss geometries, i.e., strongly-convexity and nonconvexity. Our results show that such a geometric property can significantly affect the overall convergence performance of ANIL. For example, ANIL achieves a faster convergence rate for a strongly-convex inner-loop loss as the number $N$ of inner-loop gradient descent steps increases, but a slower convergence rate for a nonconvex inner-loop loss as $N$ increases. Moreover, our complexity analysis provides a theoretical quantification on the improved efficiency of ANIL over MAML. The experiments on standard few-shot meta-learning benchmarks validate our theoretical findings.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ji, Kaiyi
Advisor dc:contributor.advisor
  • Liang, Yingbin

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Ji, Kaiyi. Bilevel Optimization for Machine Learning: Algorithm Design and Convergence Analysis. doctoral thesis, The Ohio State University, 2021. http://rave.ohiolink.edu/etdc/view?acc_num=osu1627654235521733