Meta-Learning with Adjoint Methods
Not on the map. Why?
Abstract (arXiv)
Model Agnostic Meta Learning (MAML) is widely used to find a good initialization for a family of tasks. Despite its success, a critical challenge in MAML is to calculate the gradient w.r.t. the initialization of a long training trajectory for the sampled tasks, because the computation graph can rapidly explode and the computational cost is very expensive. To address this problem, we propose Adjoint MAML (A-MAML). We view gradient descent in the inner optimization as the evolution of an Ordinary Differential Equation (ODE). To efficiently compute the gradient of the validation loss w.r.t. the initialization, we use the adjoint method to construct a companion, backward ODE. To obtain the gradient w.r.t. the initialization, we only need to run the standard ODE solver twice -- one is forward in time that evolves a long trajectory of gradient flow for the sampled task; the other is backward and solves the adjoint ODE. We need not create or expand any intermediate computational graphs, adopt aggressive approximations, or impose proximal regularizers in the training loss. Our approach is cheap, accurate, and adaptable to different trajectory lengths. We demonstrate the advantage of our approach in both synthetic and real-world meta-learning tasks.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 35 of its 63 references that are in the map. First posted on arXiv 16 Oct 2021.
Builds on
35 of 63 references.
References · 35
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2018On First-Order Meta-Learning Algorithmscited by 1,018
- 2020Meta-Learning in Neural Networks: A Surveycited by 950
- 2016Learning to learn by gradient descent by gradient descentcited by 620
- 2019Meta-Learning with Implicit Gradientscited by 525
- 2016Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithmcited by 507
23 more
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 503
- 2018Meta-Learning with Latent Embedding Optimizationcited by 476
- 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
- 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
- 2018Meta-learning with differentiable closed-form solverscited by 397
- 2017Meta-SGD: Learning to Learn Quickly for Few-Shot Learningcited by 379
- 2016Learning to reinforcement learncited by 377
- 2019Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examplescited by 315
- 2017Meta Networkscited by 269
- 2018Probabilistic Model-Agnostic Meta-Learningcited by 256
- 2016Learning to Optimizecited by 195
- 2018Bayesian Model-Agnostic Meta-Learningcited by 194
- 2018Recasting Gradient-Based Meta-Learning as Hierarchical Bayescited by 180
- 2019Infinite Mixture Prototypes for Few-Shot Learningcited by 99
- 2019ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEscited by 84
- 2019ES-MAML: Simple Hessian-Free Meta Learningcited by 57
- 2018Meta-Learning Priors for Efficient Online Bayesian Regressioncited by 48
- 2020The Advantage of Conditional Meta-Learning for Biased Regularization and Fine-Tuningcited by 40
- 2018Deep Meta-Learning: Learning to Learn in the Concept Spacecited by 22
- 2021Conditional Meta-Learning of Linear Representationscited by 12
- 2020Meta Learning in the Continuous Time Limitcited by 10
- 2014Automatic Differentiation of Algorithms for Machine Learningcited by 7
- 2019Model-Agnostic Meta-Learning using Runge-Kutta Methodscited by 2
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 1; 2025: 1; 2026: 1.
5 papers.
- 2024Functional Bilevel Optimization for Machine Learningcited by 20
- 2022Continuous-Time Meta-Learning with Forward Mode Differentiationcited by 12
- 2022Meta Learning of Interface Conditions for Multi-Domain Physics-Informed Neural Networkscited by 6
- 2025FedMeNF: Privacy-Preserving Federated Meta-Learning for Neural Fieldscited by 1
- 2026Meta-Learning for Rapid Adaptation in Reference Tracking of Uncertain Nonlinear Systemscited by 0
- 2026Meta-Learning for Rapid Adaptation in Reference Tracking of Uncertain Nonlinear Systems21 May 2026
- 2025FedMeNF: Privacy-Preserving Federated Meta-Learning for Neural Fields8 Aug 2025
- 2024Functional Bilevel Optimization for Machine Learning29 Mar 2024
- 2022Meta Learning of Interface Conditions for Multi-Domain Physics-Informed Neural Networks23 Oct 2022
- 2022Continuous-Time Meta-Learning with Forward Mode Differentiation2 Mar 2022