A Stochastic Approach to Bi-Level Optimization for Hyperparameter Optimization and Meta Learning
Not on the map. Why?
Abstract (arXiv)
We tackle the general differentiable meta learning problem that is ubiquitous in modern deep learning, including hyperparameter optimization, loss function learning, few-shot learning, invariance learning and more. These problems are often formalized as Bi-Level optimizations (BLO). We introduce a novel perspective by turning a given BLO problem into a stochastic optimization, where the inner loss function becomes a smooth probability distribution, and the outer loss becomes an expected loss over the inner distribution. To solve this stochastic optimization, we adopt Stochastic Gradient Langevin Dynamics (SGLD) MCMC to sample inner distribution, and propose a recurrent algorithm to compute the MC-estimated hypergradient. Our derivation is similar to forward-mode differentiation, but we introduce a new first-order approximation that makes it feasible for large models without needing to store huge Jacobian matrices. The main benefits are two-fold: i) Our stochastic formulation takes into account uncertainty, which makes the method robust to suboptimal inner optimization or non-unique multiple inner minima due to overparametrization; ii) Compared to existing methods that often exhibit unstable behavior and hyperparameter sensitivity in practice, our method leads to considerably more reliable solutions. We demonstrate that the new approach achieves promising results on diverse meta learning problems and easily scales to learning 87M hyperparameters in the case of Vision Transformers.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 26 of its 38 references that are in the map. First posted on arXiv 14 Oct 2024.
Builds on
26 of 38 references.
References · 26
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015ShapeNet: An Information-Rich 3D Model Repositorycited by 2,880
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2013Describing Textures in the Wildcited by 2,110
- 2018On First-Order Meta-Learning Algorithmscited by 1,003
- 2015Automatic differentiation in machine learning: a surveycited by 846
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
- 2019Meta-Learning with Implicit Gradientscited by 523
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
14 more
- 2020Learned Initializations for Optimizing Coordinate-Based Neural Representationscited by 240
- 2017Forward and Reverse Gradient-Based Hyperparameter Optimizationcited by 232
- 2018Approximation Methods for Bilevel Programmingcited by 231
- 2018Bayesian Model-Agnostic Meta-Learningcited by 194
- 2021Provably Faster Algorithms for Bilevel Optimizationcited by 106
- 2018Understanding and correcting pathologies in the training of learned optimizerscited by 97
- 2015Scalable Gradient-Based Tuning of Continuous Regularization Hyperparameterscited by 71
- 2016TI-POOLING: transformation-invariant pooling for feature learning in Convolutional Neural Networkscited by 66
- 2021A Fully Single Loop Algorithm for Bilevel Optimization without Hessian Inversecited by 53
- 2020Learning Invariances in Neural Networkscited by 52
- 2018Learning Invariances using the Marginal Likelihoodcited by 51
- 2022On Implicit Bias in Overparameterized Bilevel Optimizationcited by 30
- 2016Local Group Invariant Representations via Orbit Embeddingscited by 12
- 2020Gradient-based Hyperparameter Optimization Over Long Horizonscited by 12
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026On the Difficulty of Learning a Meta-network for Training Data Selectioncited by 2
- 2025UrbanMind: Towards Urban General Intelligence via Tool-Enhanced Retrieval-Augmented Generation and Multilevel Optimizationcited by 0
- 2026BLO-Inst: Bi-Level Optimization Based Alignment of YOLO and SAM for Robust Instance Segmentationcited by 0
- 2026On the Difficulty of Learning a Meta-network for Training Data Selection30 May 2026
- 2026BLO-Inst: Bi-Level Optimization Based Alignment of YOLO and SAM for Robust Instance Segmentation29 Jan 2026
- 2025UrbanMind: Towards Urban General Intelligence via Tool-Enhanced Retrieval-Augmented Generation and Multilevel Optimization7 Jul 2025