On First-Order Meta-Learning Algorithms

Alex Nichol, Joshua Achiam, John Schulman
3/8/2018
cs.LG

Official code: openai/supervised-reptile (1,043 stars, MIT, last commit 2023-05-20).

Abstract

This paper considers meta-learning problems, where there is a distribution of tasks, and we would like to obtain an agent that performs well (i.e., learns quickly) when presented with a previously unseen task sampled from this distribution. We analyze a family of algorithms for learning a parameter initialization that can be fine-tuned quickly on a new task, using only first-order derivatives for the meta-learning updates. This family includes and generalizes first-order MAML, an approximation to MAML obtained by ignoring second-order derivatives. It also includes Reptile, a new algorithm that we introduce here, which works by repeatedly sampling a task, training on it, and moving the initialization towards the trained weights on that task. We expand on the results from Finn et al. showing that first-order meta-learning algorithms perform well on some well-established benchmarks for few-shot classification, and we provide theoretical analysis aimed at understanding why these algorithms work.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "On First-Order Meta-Learning Algorithms"

1,043213CSS, HTMLDec 5, 20173 years agoMIT
paper

Similar Papers

Cite this paper

@article{nichol2018firstorder,
  title  = {On First-Order Meta-Learning Algorithms},
  author = {Alex Nichol and Joshua Achiam and John Schulman},
  year   = {2018},
  eprint = {1803.02999},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.02999}
}

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/1803.02999.svg)](https://codeofpaper.com/paper/1803.02999)

Discussion