HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Laplacian Regularized Few-Shot Learning

{Imtiaz Masud Ziko Jose Dolz Eric Granger Ismail Ben Ayed}

Laplacian Regularized Few-Shot Learning

Abstract

We propose a transductive Laplacian-regularized inference for few-shot tasks. Given any feature embedding learned from the base classes, we minimize a quadratic binary-assignment function containing two terms: (1) a unary term assign- ing query samples to the nearest class prototype, and (2) a pairwise Laplacian term encouraging nearby query samples to have consistent label as- signments. Our transductive inference does not re-train the base model, and can be viewed as a graph clustering of the query set, subject to super- vision constraints from the support set. We derive a computationally efficient bound optimizer of a relaxation of our function, which computes inde- pendent (parallel) updates for each query sample, while guaranteeing convergence. Following a sim- ple cross-entropy training on the base classes, and without complex meta-learning strategies, we con- ducted comprehensive experiments over five few- shot learning benchmarks. Our LaplacianShot consistently outperforms state-of-the-art methods by significant margins across different models, settings, and data sets. Furthermore, our trans- ductive inference is very fast, with computational times that are close to inductive inference, and can be used for large-scale few-shot tasks.

Code Repositories

imtiazziko/LaplacianShot
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-image-classification-on-dirichletLaplacian-Shot
1:1 Accuracy: 65.4
few-shot-image-classification-on-dirichlet-1Laplacian-Shot
1:1 Accuracy: 81.6
few-shot-image-classification-on-dirichlet-2Laplacian-Shot
1:1 Accuracy: 72.3
few-shot-image-classification-on-dirichlet-3Laplacian-Shot
1:1 Accuracy: 85.7
few-shot-image-classification-on-dirichlet-4Laplacian-Shot
1:1 Accuracy: 73.7
few-shot-image-classification-on-dirichlet-5Laplacian-Shot
1:1 Accuracy: 87.7

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
Laplacian Regularized Few-Shot Learning | Papers | HyperAI