Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

A Simple Neural Attentive Meta-Learner

About

Deep neural networks excel in regimes with large amounts of data, but tend to struggle when data is scarce or when they need to adapt quickly to changes in the task. In response, recent work in meta-learning proposes training a meta-learner on a distribution of similar tasks, in the hopes of generalization to novel but related tasks by learning a high-level strategy that captures the essence of the problem it is asked to solve. However, many recent meta-learning approaches are extensively hand-designed, either using architectures specialized to a particular application, or hard-coding algorithmic components that constrain how the meta-learner solves the task. We propose a class of simple and generic meta-learner architectures that use a novel combination of temporal convolutions and soft attention; the former to aggregate information from past experience and the latter to pinpoint specific pieces of information. In the most extensive set of meta-learning experiments to date, we evaluate the resulting Simple Neural AttentIve Learner (or SNAIL) on several heavily-benchmarked tasks. On all tasks, in both supervised and reinforcement learning, SNAIL attains state-of-the-art performance by significant margins.

Nikhil Mishra, Mostafa Rohaninejad, Xi Chen, Pieter Abbeel• 2017

Related benchmarks

TaskDatasetResultRank
Few-shot Image ClassificationMini-Imagenet (test)
Accuracy68.88
235
5-way ClassificationminiImageNet (test)
Accuracy68.88
231
Text ClassificationAG News (test)
Accuracy83.42
210
Few-shot classificationMini-ImageNet
1-shot Acc55.71
175
Few-shot classificationCUB (test)
Accuracy92.8
145
5-way Few-shot ClassificationMini-Imagenet (test)
1-shot Accuracy55.71
141
Few-shot classificationminiImageNet standard (test)
5-way 1-shot Acc55.71
138
Text ClassificationTREC (test)
Accuracy69.03
113
Few-shot Image ClassificationminiImageNet (test)--
111
Few-shot Image ClassificationtieredImageNet (test)
Accuracy97.3
86
Showing 10 of 39 rows

Other info

Follow for update