Highlight

Learning to Compare: Relation Network for Few-Shot Learning

Introduces the Relation Network, an end-to-end few-shot classifier that learns a distance metric to compare examples, and extends to zero-shot learning.

Based on

Learning to Compare: Relation Network for Few-Shot Learning

By Flood Sung, Yongxin Yang, Li Zhang et al.2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition
Read original article →

This paper presents the Relation Network (RN), described as a conceptually simple, flexible, and general framework for few-shot learning, where a classifier must recognize new classes given only a few examples from each. The network is trained end-to-end from scratch. Through meta-learning, it learns to learn a deep distance metric that compares a small number of images within episodes, each designed to simulate the few-shot setting.

Once trained, a Relation Network classifies images of new classes by computing relation scores between query images and the few examples of each new class, without any further updating of the network. Besides improving few-shot performance, the framework extends easily to zero-shot learning, and extensive experiments on five benchmarks show that this single, simple approach is unified and effective for both tasks.

Abstract

The authors present a flexible, general framework for few-shot learning, where a classifier must recognize new classes from only a few examples, and train their Relation Network (RN) end-to-end from scratch. During meta-learning it learns a deep distance metric to compare images within episodes that simulate the few-shot setting. Once trained, it classifies new-class images via relation scores against the few examples, with no further updates. The framework also extends to zero-shot learning, and on five benchmarks it provides a unified, effective approach to both tasks.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

few-shot learningmeta-learningmetric learningrelation networkzero-shot learningimage classification
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.