Papers › Bilevel Optimization: Convergence Analysis and Enhanced Design

Bilevel Optimization: Convergence Analysis and Enhanced Design

15 Oct 2020arXiv:2010.07962archive 2025-07-28

Kaiyi Ji, Junjie Yang, Yingbin Liang

Bilevel optimization has arisen as a powerful tool for many machine learning problems such as meta-learning, hyperparameter optimization, and reinforcement learning. In this paper, we investigate the nonconvex-strongly-convex bilevel optimization problem. For deterministic bilevel optimization, we provide a comprehensive convergence rate analysis for two popular algorithms respectively based on approximate implicit differentiation (AID) and iterative differentiation (ITD). For the AID-based method, we orderwisely improve the previous convergence rate analysis due to a more practical parameter selection as well as a warm start strategy, and for the ITD-based method we establish the first theoretical convergence rate. Our analysis also provides a quantitative comparison between ITD and AID based approaches. For stochastic bilevel optimization, we propose a novel 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 κ and the target accuracy ϵ. We further validate our theoretical results and demonstrate the efficiency of bilevel optimization algorithms by the experiments on meta-learning and hyperparameter optimization.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2010.07962")

Code

Syntology Ran 9 of 18 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · honoured contract; 5 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: official repository: 14 samples from 1 repository, 6 ran; community (archive-listed): 4 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

junjieyang97/stocbio_hp officialmentioned in papermentioned on GitHubpytorchMIT report
JunjieYang97/stocBiO mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 9 ran; 2 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
5ran · our draft was wrong
2ran · fixture could not drive it
9unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy junjieyang97/stocbio_hp/Meta-learning/ANIL/miniimagenet/anil.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · d41eb4e2f3bebbf1 · report
cat_list_to_tensor junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/CG_torch.py official repository ran · honoured contract MIT (permissive) · 3ed1406329714c3f · report
cg junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/CG_torch.py official repository ran · our draft was wrong MIT (permissive) · 31f282d2a7c181bb · report
fixed_point junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/hypergradients.py official repository ran · our draft was wrong MIT (permissive) · 11d924c279d6166a · report
reverse junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/hypergradients.py official repository ran · honoured contract MIT (permissive) · 52b6f88728db5c40 · report
reverse_unroll junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/hypergradients.py official repository ran · our draft was wrong MIT (permissive) · 677c8518ad1a22c9 · report
fast_adapt junjieyang97/stocbio_hp/Meta-learning/ANIL/miniimagenet/anil.py official repository unverified MIT (permissive) · 186dcd090e91bb0e · report
fast_adapt junjieyang97/stocbio_hp/Meta-learning/FO-ITD-BiO/miniimagenet/ITD-BiO.py official repository unverified MIT (permissive) · e77a457bca6c4a2d · report
from_sparse junjieyang97/stocbio_hp/Hyperparameter-optimization/experimental/l2reg_on_twentynews.py official repository unverified MIT (permissive) · e73c33a4af5fe161 · report
gd_step junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/diff_optimizers.py official repository unverified MIT (permissive) · 3ffa7e0c883965f8 · report
get_data_loaders junjieyang97/stocbio_hp/Hyperparameter-optimization/experimental/mnist_exp.py official repository unverified MIT (permissive) · 3851e32f29e94b92 · report
heavy_ball_step junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/diff_optimizers.py official repository unverified MIT (permissive) · d533144f406f4f80 · report
torch_momentum_step junjieyang97/stocbio_hp/Hyperparameter-optimization/hypergrad/diff_optimizers.py official repository unverified MIT (permissive) · 6cdf7a8f1301bf5c · report
train_loss junjieyang97/stocbio_hp/Hyperparameter-optimization/experimental/l2reg_on_twentynews.py official repository unverified MIT (permissive) · fae35b77af7219e9 · report
gradient_fy JunjieYang97/stocBiO/Hyperparameter-optimization/experimental/stocBiO.py community (archive-listed) ran · our draft was wrong MIT (permissive) · b233bbdedd873c21 · report
gradient_gy JunjieYang97/stocBiO/Hyperparameter-optimization/experimental/stocBiO.py community (archive-listed) ran · our draft was wrong MIT (permissive) · cda14929afcae4b3 · report
loss_train_avg JunjieYang97/stocBiO/Hyperparameter-optimization/experimental/mnist_exp.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · d46ee4443d27d233 · report
stocbio JunjieYang97/stocBiO/Hyperparameter-optimization/experimental/stocBiO.py community (archive-listed) unverified MIT (permissive) · e519fae7e667e28f · report

Tasks

Bilevel OptimizationHyperparameter OptimizationMeta-Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections