Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Learning to Compare: Relation Network for Few-Shot Learning

About

We present a conceptually simple, flexible, and general framework for few-shot learning, where a classifier must learn to recognise new classes given only few examples from each. Our method, called the Relation Network (RN), is trained end-to-end from scratch. During meta-learning, it learns to learn a deep distance metric to compare a small number of images within episodes, each of which is designed to simulate the few-shot setting. Once trained, a RN is able to classify images of new classes by computing relation scores between query images and the few examples of each new class without further updating the network. Besides providing improved performance on few-shot learning, our framework is easily extended to zero-shot learning. Extensive experiments on five benchmarks demonstrate that our simple approach provides a unified and effective approach for both of these two tasks.

Flood Sung, Yongxin Yang, Li Zhang, Tao Xiang, Philip H.S. Torr, Timothy M. Hospedales• 2017

Related benchmarks

TaskDatasetResultRank
Generalized Zero-Shot LearningCUB
H Score47
307
Few-shot classificationtieredImageNet (test)
Accuracy78.41
282
Class-incremental learningCIFAR-100
Averaged Incremental Accuracy26.6
248
Few-shot Image ClassificationMini-Imagenet (test)
Accuracy67.07
235
5-way ClassificationminiImageNet (test)
Accuracy69.83
231
Generalized Zero-Shot LearningAWA2
H Score0.453
217
Zero-shot LearningCUB
Top-1 Accuracy55.6
183
Few-shot classificationMini-ImageNet
1-shot Acc52.5
178
5-way Few-shot ClassificationMiniImagenet
Accuracy (5-shot)67.32
150
Few-shot classificationCUB (test)
Accuracy84.28
145
Showing 10 of 188 rows
...

Other info

Code

Follow for update