Laplacian Regularized Few-Shot Learning

Imtiaz Masud Ziko, Jose Dolz, Eric Granger, Ismail Ben Ayed
6/28/2020
227 citations
cs.LGcs.CVstat.ML

Official code: imtiazziko/LaplacianShot (83 stars, Python, last commit 2022-06-09).

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 assigning query samples to the nearest class prototype, and (2) a pairwise Laplacian term encouraging nearby query samples to have consistent label assignments.

Show full abstract

Our transductive inference does not re-train the base model, and can be viewed as a graph clustering of the query set, subject to supervision constraints from the support set. We derive a computationally efficient bound optimizer of a relaxation of our function, which computes independent (parallel) updates for each query sample, while guaranteeing convergence. Following a simple cross-entropy training on the base classes, and without complex meta-learning strategies, we conducted 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 transductive inference is very fast, with computational times that are close to inductive inference, and can be used for large-scale few-shot tasks.

View on arXivView PDF

Code Implementations(1)

Laplacian Regularized Few Shot Learning

838Python, ShellJan 24, 20204 years ago
few-shot-learning

Similar Papers

Cite this paper

@article{ziko2020laplacian,
  title  = {Laplacian Regularized Few-Shot Learning},
  author = {Imtiaz Masud Ziko and Jose Dolz and Eric Granger and Ismail Ben Ayed},
  year   = {2020},
  eprint = {2006.15486},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.15486}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.15486.svg)](https://codeofpaper.com/paper/2006.15486)

Discussion