Meta-Learning with Implicit Gradients

By Aravind Rajeswaran, Chelsea Finn, Sham M. Kakade, Sergey Levine. 2019

1,013 citations recorded by the source corpus.

A core capability of intelligent systems is the ability to quickly learn new tasks by drawing on prior experience. Gradient (or optimization) based meta-learning has recently emerged as an effective approach for few-shot learning. In this formulation, meta-parameters are learned in the outer loop, while task-specific models are learned in the inner-loop, by using only a small amount of data from the current task. A key challenge in scaling these approaches is the need to differentiate through the inner loop learning process, which can impose considerable computational and memory burdens. By drawing upon implicit differentiation, we develop the implicit MAML algorithm, which depends only on the solution to the inner level optimization and not the path taken by the inner loop optimizer. This effectively decouples the meta-gradient computation from the choice of inner loop optimizer. As a result, our approach is agnostic to the choice of inner loop optimizer and can gracefully handle many gradient steps without vanishing gradients or memory constraints. Theoretically, we prove that implicit MAML can compute accurate meta-gradients with a memory footprint that is, up to small constant factors, no more than that which is required to compute a single inner loop gradient and at no overall increase in the total computational cost. Experimentally, we show that these benefits of implicit MAML translate into empirical gains on few-shot image recognition benchmarks.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Statistical and Nonlinear Physics, Representation & Self-Supervised Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Sergey Levine
  2. Mohit Bansal
  3. Chelsea Finn
  4. Ruslan Salakhutdinov
  5. Yoshua Bengio
  6. Percy Liang
  7. Quoc V. Le
  8. Pieter Abbeel

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Xiaogang Wang
  5. Bernt Schiele
  6. Ming-Hsuan Yang
  7. Jitendra Malik
  8. Andrea Vedaldi

In Statistical and Nonlinear Physics

  1. Sergey Levine
  2. Chelsea Finn
  3. Vikash Kumar
  4. Aravind Rajeswaran
  5. Igor Mordatch
  6. Han-Jia Ye
  7. Wei-Lun Chao
  8. Junjie Yang

In Representation & Self-Supervised Learning

  1. Han-Jia Ye
  2. De-chuan Zhan
  3. Sergey Levine
  4. Chelsea Finn
  5. Wei-Lun Chao
  6. Timothy M. Hospedales
  7. Yongxin Yang
  8. Antreas Antoniou

Citations in the corpus