Open-Set Likelihood Maximization for Few-Shot Learning

Malik Boudiaf, Etienne Bennequin, Myriam Tami, Antoine Toubhans, Pablo Piantanida +2 more
1/20/2023
cs.CVcs.LG

No official code found. Best implementation: ebennequin/few-shot-open-set (42 stars, MIT, last commit 2023-07-05).

Abstract

We tackle the Few-Shot Open-Set Recognition (FSOSR) problem, i.e. classifying instances among a set of classes for which we only have a few labeled samples, while simultaneously detecting instances that do not belong to any known class. We explore the popular transductive setting, which leverages the unlabelled query instances at inference. Motivated by the observation that existing transductive methods perform poorly in open-set scenarios, we propose a generalization of the maximum likelihood principle, in which latent scores down-weighing the influence of potential outliers are introduced alongside the usual parametric model. Our formulation embeds supervision constraints from the support set and additional penalties discouraging overconfident predictions on the query set. We proceed with a block-coordinate descent, with the latent scores and parametric model co-optimized alternately, thereby benefiting from each other. We call our resulting formulation \textit{Open-Set Likelihood Optimization} (OSLO). OSLO is interpretable and fully modular; it can be applied on top of any pre-trained model seamlessly. Through extensive experiments, we show that our method surpasses existing inductive and transductive methods on both aspects of open-set recognition, namely inlier classification and outlier detection.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of Open-Set Likelihood Maximization for Few-Shot Learning

422Python, MakefileJun 18, 20223 years agoMIT

Similar Papers

Cite this paper

@article{boudiaf2023openset,
  title  = {Open-Set Likelihood Maximization for Few-Shot Learning},
  author = {Malik Boudiaf and Etienne Bennequin and Myriam Tami and Antoine Toubhans and Pablo Piantanida and Céline Hudelot and Ismail Ben Ayed},
  year   = {2023},
  eprint = {2301.08390},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.08390v2},
  journal = {CVPR 2023 2023}
}

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/2301.08390.svg)](https://codeofpaper.com/paper/2301.08390)

Discussion