SOTAVerified

Matching Networks for One Shot Learning

2016-06-13NeurIPS 2016Code Available1· sign in to hype

Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Koray Kavukcuoglu, Daan Wierstra

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Learning from a few examples remains a key challenge in machine learning. Despite recent advances in important domains such as vision and language, the standard supervised deep learning paradigm does not offer a satisfactory solution for learning new concepts rapidly from little data. In this work, we employ ideas from metric learning based on deep neural features and from recent advances that augment neural networks with external memories. Our framework learns a network that maps a small labelled support set and an unlabelled example to its label, obviating the need for fine-tuning to adapt to new class types. We then define one-shot learning problems on vision (using Omniglot, ImageNet) and language tasks. Our algorithm improves one-shot accuracy on ImageNet from 87.6% to 93.2% and from 88.0% to 93.8% on Omniglot compared to competing approaches. We also demonstrate the usefulness of the same model on language modeling by introducing a one-shot task on the Penn Treebank.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
Meta-DatasetMatching NetworksAccuracy56.25Unverified
Meta-Dataset RankMatching NetworksMean Rank10.5Unverified
Mini-Imagenet 5-way (1-shot)Matching Nets (Cosine Matching Fn)Accuracy46.6Unverified
Mini-Imagenet 5-way (5-shot)Matching Nets (Cosine Matching Fn)Accuracy60Unverified
Mini-ImageNet-CUB 5-way (1-shot)MatchingNet (Vinyals et al., 2016)Accuracy45.59Unverified
OMNIGLOT - 1-Shot, 20-wayMatching NetsAccuracy93.8Unverified
OMNIGLOT - 1-Shot, 5-wayMatching NetsAccuracy98.1Unverified
OMNIGLOT - 5-Shot, 20-wayMatching NetsAccuracy98.5Unverified
OMNIGLOT - 5-Shot, 5-wayMatching NetsAccuracy98.9Unverified
Stanford Cars 5-way (1-shot)Matching Nets FCE++Accuracy34.8Unverified
Stanford Cars 5-way (5-shot)Matching Nets FCE++Accuracy44.7Unverified
Stanford Dogs 5-way (5-shot)Matching Nets FCE++Accuracy47.5Unverified

Reproductions