HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

On First-Order Meta-Learning Algorithms

Alex Nichol; Joshua Achiam; John Schulman

On First-Order Meta-Learning Algorithms

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.

Code Repositories

Yuzhe-CHEN/NerfSNN
pytorch
Mentioned in GitHub
gebob19/REPTILE-Metalearning
pytorch
Mentioned in GitHub
radrumond/Chameleon
tf
Mentioned in GitHub
aravindMahadevan/metaLearningAlgos
pytorch
Mentioned in GitHub
openai/supervised-reptile
Official
tf
Mentioned in GitHub
gebob19/cscd94_metalearning
pytorch
Mentioned in GitHub
sanowar-raihan/nerf-meta
pytorch
Mentioned in GitHub
gabrielhuang/reptile-pytorch
pytorch
Mentioned in GitHub
hfahrudin/reptile_implement_tf2
tf
Mentioned in GitHub
gebob19/cscd94-metalearning
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-mini-12Reptile
Accuracy: 31.1
few-shot-image-classification-on-mini-12Reptile+BN
Accuracy: 32.0
few-shot-image-classification-on-mini-13Reptile+BN
Accuracy: 47.6
few-shot-image-classification-on-mini-13Reptile
Accuracy: 44.7
few-shot-image-classification-on-mini-2Reptile + Transduction
Accuracy: 49.97
few-shot-image-classification-on-mini-3Reptile + Transduction
Accuracy: 65.99
few-shot-image-classification-on-omniglot-1-1Reptile + Transduction
Accuracy: 89.43%
few-shot-image-classification-on-omniglot-1-2Reptile + Transduction
Accuracy: 97.68
few-shot-image-classification-on-omniglot-5-1Reptile + Transduction
Accuracy: 97.12%
few-shot-image-classification-on-omniglot-5-2Reptile + Transduction
Accuracy: 99.48
few-shot-image-classification-on-tiered-2Reptile+BN
Accuracy: 35.3
few-shot-image-classification-on-tiered-2Reptile
Accuracy: 33.7
few-shot-image-classification-on-tiered-3Reptile+BN
Accuracy: 52.0
few-shot-image-classification-on-tiered-3Reptile
Accuracy: 48.0
image-classification-on-tiered-imagenet-5-wayReptile + BN
Accuracy: 71.03
image-classification-on-tiered-imagenet-5-wayReptile
Accuracy: 66.47

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
On First-Order Meta-Learning Algorithms | Papers | HyperAI