Papers › Provably Faster Algorithms for Bilevel Optimization

Provably Faster Algorithms for Bilevel Optimization

8 Jun 2021NeurIPS 2021 12arXiv:2106.04692archive 2025-07-28

Junjie Yang, Kaiyi Ji, Yingbin Liang

Bilevel optimization has been widely applied in many important machine learning applications such as hyperparameter optimization and meta-learning. Recently, several momentum-based algorithms have been proposed to solve bilevel optimization problems faster. However, those momentum-based algorithms do not achieve provably better computational complexity than 𝒪(ϵ⁻²) of the SGD-based algorithm. In this paper, we propose two new algorithms for bilevel optimization, where the first algorithm adopts momentum-based recursive iterations, and the second algorithm adopts recursive gradient estimations in nested loops to decrease the variance. We show that both algorithms achieve the complexity of 𝒪(ϵ^(-1.5)), which outperforms all existing algorithms by the order of magnitude. Our experiments validate our theoretical results and demonstrate the superior empirical performance of our algorithms in hyperparameter applications.

PaperPDFConference PDFCodeCode 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="2106.04692")

Code

Syntology Ran 8 of 10 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 3 ran · fixture could not drive it.

By repository: official repository: 9 samples from 1 repository, 7 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JunjieYang97/MRVRBO officialmentioned in papermentioned 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

10 samples harvested; 8 ran; 2 honoured the contract we drafted; 2 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
3ran · our draft was wrong
3ran · fixture could not drive it
2unverified

Licence: 1 of the 10 samples is 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 junjieyang97/mrvrbo. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

cat_list_to_tensor junjieyang97/mrvrbo/hypergrad/CG_torch.py official repository ran · honoured contract MIT (permissive) · 3ed1406329714c3f · report
cg junjieyang97/mrvrbo/hypergrad/CG_torch.py official repository ran · our draft was wrong MIT (permissive) · 31f282d2a7c181bb · report
fixed_point junjieyang97/mrvrbo/hypergrad/hypergradients.py official repository ran · our draft was wrong MIT (permissive) · 11d924c279d6166a · report
mstsa JunjieYang97/MRVRBO/stocBiO.py official repository ran · fixture could not drive it MIT (permissive) · 2d1dc63491a58c81 · report
reverse junjieyang97/mrvrbo/hypergrad/hypergradients.py official repository ran · honoured contract MIT (permissive) · 52b6f88728db5c40 · report
reverse_unroll junjieyang97/mrvrbo/hypergrad/hypergradients.py official repository ran · our draft was wrong MIT (permissive) · 677c8518ad1a22c9 · report
stocbio junjieyang97/mrvrbo/stocBiO.py official repository ran · fixture could not drive it MIT (permissive) · e8238fd3ed908a9f · report
mstsa junjieyang97/mrvrbo/stocBiO.py official repository unverified MIT (permissive) · 26aebb9780915816 · report
stable junjieyang97/mrvrbo/stocBiO.py official repository unverified MIT (permissive) · 149effd1caaad2cb · report
loss_train_avg identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · d46ee4443d27d233 · 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