HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Matching Networks for One Shot Learning

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

Matching Networks for One Shot Learning

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.

Code Repositories

fujenchu/matchingNet
pytorch
Mentioned in GitHub
wenbinlee/defensivefsl
pytorch
Mentioned in GitHub
qitianwu/nodeformer
pytorch
Mentioned in GitHub
schatty/matching-networks-tf
tf
Mentioned in GitHub
hrdwsong/ProtoNet-Paddle
paddle
Mentioned in GitHub
adriangonz/statistical-nlp-17
pytorch
Mentioned in GitHub
knnaraghi/fewshot
tf
Mentioned in GitHub
LiuXinyu12378/MatchingNetworks
tf
Mentioned in GitHub
WenbinLee/DN4
pytorch
Mentioned in GitHub
oscarknagg/few-shot
pytorch
Mentioned in GitHub
cnichkawde/MatchingNetwork
Mentioned in GitHub
KamalM8/Few-Shot-learning-Fashion
pytorch
Mentioned in GitHub
Sha-Lab/FEAT
pytorch
Mentioned in GitHub
cnielly/prototypical-networks-omniglot
pytorch
Mentioned in GitHub
fiveai/on-episodes-fsl
pytorch
Mentioned in GitHub
welkincici/MatchingNet
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-meta-datasetMatching Networks
Accuracy: 56.247
few-shot-image-classification-on-meta-dataset-1Matching Networks
Mean Rank: 10.5
few-shot-image-classification-on-mini-2Matching Nets (Cosine Matching Fn)
Accuracy: 46.6
few-shot-image-classification-on-mini-3Matching Nets (Cosine Matching Fn)
Accuracy: 60
few-shot-image-classification-on-mini-5MatchingNet (Vinyals et al., 2016)
Accuracy: 45.59
few-shot-image-classification-on-omniglot-1-1Matching Nets
Accuracy: 93.8%
few-shot-image-classification-on-omniglot-1-2Matching Nets
Accuracy: 98.1
few-shot-image-classification-on-omniglot-5-1Matching Nets
Accuracy: 98.5%
few-shot-image-classification-on-omniglot-5-2Matching Nets
Accuracy: 98.9
few-shot-image-classification-on-stanford-1Matching Nets FCE++
Accuracy: 47.50
few-shot-image-classification-on-stanford-2Matching Nets FCE++
Accuracy: 34.80
few-shot-image-classification-on-stanford-3Matching Nets FCE++
Accuracy: 44.70

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