mlsanityData to 7 Oct 2026

A Stochastic Approach to Bi-Level Optimization for Hyperparameter Optimization and Meta Learning

arXiv 2410.10417 ↗First posted 14 Oct 2024cs.LG stat.MLcited by 3

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

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  3. 2017On Calibration of Modern Neural Networkscited by 4,860
  4. 2015ShapeNet: An Information-Rich 3D Model Repositorycited by 2,880
  5. 2016Matching Networks for One Shot Learningcited by 2,246
  6. 2013Describing Textures in the Wildcited by 2,110
  7. 2018On First-Order Meta-Learning Algorithmscited by 1,003
  8. 2015Automatic differentiation in machine learning: a surveycited by 846
  9. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
  10. 2019Meta-Learning with Implicit Gradientscited by 523
  11. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
  12. 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
14 more
  1. 2020Learned Initializations for Optimizing Coordinate-Based Neural Representationscited by 240
  2. 2017Forward and Reverse Gradient-Based Hyperparameter Optimizationcited by 232
  3. 2018Approximation Methods for Bilevel Programmingcited by 231
  4. 2018Bayesian Model-Agnostic Meta-Learningcited by 194
  5. 2021Provably Faster Algorithms for Bilevel Optimizationcited by 106
  6. 2018Understanding and correcting pathologies in the training of learned optimizerscited by 97
  7. 2015Scalable Gradient-Based Tuning of Continuous Regularization Hyperparameterscited by 71
  8. 2016TI-POOLING: transformation-invariant pooling for feature learning in Convolutional Neural Networkscited by 66
  9. 2021A Fully Single Loop Algorithm for Bilevel Optimization without Hessian Inversecited by 53
  10. 2020Learning Invariances in Neural Networkscited by 52
  11. 2018Learning Invariances using the Marginal Likelihoodcited by 51
  12. 2022On Implicit Bias in Overparameterized Bilevel Optimizationcited by 30
  13. 2016Local Group Invariant Representations via Orbit Embeddingscited by 12
  14. 2020Gradient-based Hyperparameter Optimization Over Long Horizonscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.