HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Improved Few-Shot Visual Classification

Peyman Bateni Raghav Goyal Vaden Masrani Frank Wood Leonid Sigal

Improved Few-Shot Visual Classification

Abstract

Few-shot learning is a fundamental task in computer vision that carries the promise of alleviating the need for exhaustively labeled data. Most few-shot learning approaches to date have focused on progressively more complex neural feature extractors and classifier adaptation strategies, as well as the refinement of the task definition itself. In this paper, we explore the hypothesis that a simple class-covariance-based distance metric, namely the Mahalanobis distance, adopted into a state of the art few-shot learning approach (CNAPS) can, in and of itself, lead to a significant performance improvement. We also discover that it is possible to learn adaptive feature extractors that allow useful estimation of the high dimensional feature covariances required by this metric from surprisingly few samples. The result of our work is a new "Simple CNAPS" architecture which has up to 9.2% fewer trainable parameters than CNAPS and performs up to 6.1% better than state of the art on the standard few-shot image classification benchmark dataset.

Code Repositories

peymanbateni/simple-cnaps
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-meta-datasetSimple CNAPS
Accuracy: 69.86
few-shot-image-classification-on-meta-dataset-1Simple CNAPS
Mean Rank: 3.45
few-shot-image-classification-on-mini-12Simple CNAPS
Accuracy: 37.1
few-shot-image-classification-on-mini-12Simple CNAPS + FETI
Accuracy: 63.5
few-shot-image-classification-on-mini-13Simple CNAPS
Accuracy: 56.7
few-shot-image-classification-on-mini-13Simple CNAPS + FETI
Accuracy: 83.1
few-shot-image-classification-on-mini-2Simple CNAPS + FETI
Accuracy: 77.4
few-shot-image-classification-on-mini-2Simple CNAPS
Accuracy: 53.2
few-shot-image-classification-on-mini-3Simple CNAPS
Accuracy: 70.8
few-shot-image-classification-on-mini-3Simple CNAPS + FETI
Accuracy: 90.3
few-shot-image-classification-on-tieredSimple CNAPS + FETI
Accuracy: 71.4
few-shot-image-classification-on-tieredSimple CNAPS
Accuracy: 63.0
few-shot-image-classification-on-tiered-1Simple CNAPS + FETI
Accuracy: 86.0
few-shot-image-classification-on-tiered-1Simple CNAPS
Accuracy: 80.0
few-shot-image-classification-on-tiered-2Simple CNAPS + FETI
Accuracy: 57.1
few-shot-image-classification-on-tiered-2Simple CNAPS
Accuracy: 48.1
few-shot-image-classification-on-tiered-3Simple CNAPS
Accuracy: 70.2
few-shot-image-classification-on-tiered-3Simple CNAPS + FETI
Accuracy: 78.5

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
Improved Few-Shot Visual Classification | Papers | HyperAI