HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Meta-Learning with Differentiable Convex Optimization

Kwonjoon Lee; Subhransu Maji; Avinash Ravichandran; Stefano Soatto

Meta-Learning with Differentiable Convex Optimization

Abstract

Many meta-learning approaches for few-shot learning rely on simple base learners such as nearest-neighbor classifiers. However, even in the few-shot regime, discriminatively trained linear predictors can offer better generalization. We propose to use these predictors as base learners to learn representations for few-shot learning and show they offer better tradeoffs between feature size and performance across a range of few-shot recognition benchmarks. Our objective is to learn feature embeddings that generalize well under a linear classification rule for novel categories. To efficiently solve the objective, we exploit two properties of linear classifiers: implicit differentiation of the optimality conditions of the convex problem and the dual formulation of the optimization problem. This allows us to use high-dimensional embeddings with improved generalization at a modest increase in computational overhead. Our approach, named MetaOptNet, achieves state-of-the-art performance on miniImageNet, tieredImageNet, CIFAR-FS, and FC100 few-shot learning benchmarks. Our code is available at https://github.com/kjunelee/MetaOptNet.

Code Repositories

goldblum/AdversarialQuerying
pytorch
Mentioned in GitHub
kjunelee/MetaOptNet
Official
pytorch
Mentioned in GitHub
cyvius96/few-shot-meta-baseline
pytorch
Mentioned in GitHub
xiangyu8/PT-MAP-sf
pytorch
Mentioned in GitHub
nupurkmr9/S2M2_fewshot
pytorch
Mentioned in GitHub
yinboc/few-shot-meta-baseline
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-cifar-fs-5MetaOptNet-SVM-trainval
Accuracy: 72.8
few-shot-image-classification-on-cifar-fs-5-1MetaOptNet-SVM-trainval
Accuracy: 85
few-shot-image-classification-on-fc100-5-wayMetaOptNet-SVM-trainval
Accuracy: 47.2
few-shot-image-classification-on-fc100-5-way-1MetaOptNet-SVM-trainval
Accuracy: 62.5
few-shot-image-classification-on-mini-2MetaOptNet-SVM-trainval
Accuracy: 64.09
few-shot-image-classification-on-mini-3MetaOptNet-SVM-trainval
Accuracy: 80
few-shot-image-classification-on-tieredMetaOptNet-SVM-trainval
Accuracy: 65.81
few-shot-image-classification-on-tiered-1MetaOptNet-SVM-trainval
Accuracy: 81.75

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
Meta-Learning with Differentiable Convex Optimization | Papers | HyperAI