HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Extended Few-Shot Learning: Exploiting Existing Resources for Novel Tasks

Reza Esfandiarpoor Amy Pu Mohsen Hajabdollahi Stephen H. Bach

Extended Few-Shot Learning: Exploiting Existing Resources for Novel Tasks

Abstract

In many practical few-shot learning problems, even though labeled examples are scarce, there are abundant auxiliary datasets that potentially contain useful information. We propose the problem of extended few-shot learning to study these scenarios. We then introduce a framework to address the challenges of efficiently selecting and effectively using auxiliary data in few-shot image classification. Given a large auxiliary dataset and a notion of semantic similarity among classes, we automatically select pseudo shots, which are labeled examples from other classes related to the target task. We show that naive approaches, such as (1) modeling these additional examples the same as the target task examples or (2) using them to learn features via transfer learning, only increase accuracy by a modest amount. Instead, we propose a masking module that adjusts the features of auxiliary data to be more similar to those of the target classes. We show that this masking module performs better than naively modeling the support examples and transfer learning by 4.68 and 6.03 percentage points, respectively.

Code Repositories

Reza-esfandiarpoor/pseudo-shots
Official
pytorch
Mentioned in GitHub
BatsResearch/efsl
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-cifar-fs-1pseudo-shots
Accuracy: 81.87%
few-shot-image-classification-on-cifar-fs-5pseudo-shots
Accuracy: 81.87
few-shot-image-classification-on-cifar-fs-5-1pseudo-shots
Accuracy: 89.12
few-shot-image-classification-on-cifar-fs-5-2pseudo-shots
Accuracy: 89.12
few-shot-image-classification-on-fc100-5-waypseudo-shots
Accuracy: 50.57
few-shot-image-classification-on-fc100-5-way-1pseudo-shots
Accuracy: 61.58
few-shot-image-classification-on-fewshotpseudo-shots
Accuracy: 50.57%
few-shot-image-classification-on-fewshot-1pseudo-shots
Accuracy: 61.58%
few-shot-image-classification-on-mini-2pseudo-shots
Accuracy: 73.35
few-shot-image-classification-on-mini-3pseudo-shots
Accuracy: 82.51
few-shot-image-classification-on-tieredpseudo-shots
Accuracy: 76.55
few-shot-image-classification-on-tiered-1pseudo-shots
Accuracy: 86.82

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
Extended Few-Shot Learning: Exploiting Existing Resources for Novel Tasks | Papers | HyperAI