HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Few-Shot Learning via Embedding Adaptation with Set-to-Set Functions

Han-Jia Ye; Hexiang Hu; De-Chuan Zhan; Fei Sha

Few-Shot Learning via Embedding Adaptation with Set-to-Set Functions

Abstract

Learning with limited data is a key challenge for visual recognition. Many few-shot learning methods address this challenge by learning an instance embedding function from seen classes and apply the function to instances from unseen classes with limited labels. This style of transfer learning is task-agnostic: the embedding function is not learned optimally discriminative with respect to the unseen classes, where discerning among them leads to the target task. In this paper, we propose a novel approach to adapt the instance embeddings to the target classification task with a set-to-set function, yielding embeddings that are task-specific and are discriminative. We empirically investigated various instantiations of such set-to-set functions and observed the Transformer is most effective -- as it naturally satisfies key properties of our desired model. We denote this model as FEAT (few-shot embedding adaptation w/ Transformer) and validate it on both the standard few-shot classification benchmark and four extended few-shot learning settings with essential use cases, i.e., cross-domain, transductive, generalized few-shot learning, and low-shot learning. It archived consistent improvements over baseline models as well as previous methods and established the new state-of-the-art results on two benchmarks.

Code Repositories

Alibaba-AAIG/SSL-FEW-SHOT
pytorch
Mentioned in GitHub
Sha-Lab/FEAT
Official
pytorch
Mentioned in GitHub
han-jia/lastshot
pytorch
Mentioned in GitHub
danielshalam/bpa
pytorch
Mentioned in GitHub
DanielShalam/SOT
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-cub-200-5feat (ProtoNet)
Accuracy: 83.03
few-shot-image-classification-on-cub-200-5-1feat (ProtoNet)
Accuracy: 68.65
few-shot-image-classification-on-mini-2feat+ (ProtoNet-ResNet)
Accuracy: 61.72
few-shot-image-classification-on-mini-3feat+ (ProtoNet-ResNet)
Accuracy: 78.38
few-shot-image-classification-on-mini-5FEAT (Ye et al., 2018)
Accuracy: 39.00

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