Meta-Learning with Warped Gradient Descent

Sebastian Flennerhag, Andrei A. Rusu, Razvan Pascanu, Francesco Visin, Hujun Yin +1 more
8/30/2019
cs.LGcs.NEstat.ML

Official code: flennerhag/warpgrad (92 stars, Python, Apache-2.0, last commit 2021-03-05).

Abstract

Learning an efficient update rule from data that promotes rapid learning of new tasks from the same distribution remains an open problem in meta-learning. Typically, previous works have approached this issue either by attempting to train a neural network that directly produces updates or by attempting to learn better initialisations or scaling factors for a gradient-based update rule.

Show full abstract

Both of these approaches pose challenges. On one hand, directly producing an update forgoes a useful inductive bias and can easily lead to non-converging behaviour. On the other hand, approaches that try to control a gradient-based update rule typically resort to computing gradients through the learning process to obtain their meta-gradients, leading to methods that can not scale beyond few-shot task adaptation. In this work, we propose Warped Gradient Descent (WarpGrad), a method that intersects these approaches to mitigate their limitations. WarpGrad meta-learns an efficiently parameterised preconditioning matrix that facilitates gradient descent across the task distribution. Preconditioning arises by interleaving non-linear layers, referred to as warp-layers, between the layers of a task-learner. Warp-layers are meta-learned without backpropagating through the task training process in a manner similar to methods that learn to directly produce updates. WarpGrad is computationally efficient, easy to implement, and can scale to arbitrarily large meta-learning problems. We provide a geometrical interpretation of the approach and evaluate its effectiveness in a variety of settings, including few-shot, standard supervised, continual and reinforcement learning.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Meta-Learning with Warped Gradient Descent

9218Python, ShellFeb 17, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{flennerhag2019metalearning,
  title  = {Meta-Learning with Warped Gradient Descent},
  author = {Sebastian Flennerhag and Andrei A. Rusu and Razvan Pascanu and Francesco Visin and Hujun Yin and Raia Hadsell},
  year   = {2019},
  eprint = {1909.00025},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.00025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.00025.svg)](https://codeofpaper.com/paper/1909.00025)

Discussion