Meta Learning for Few-Shot One-class Classification

Gabriel Dahia, Maurício Pamplona Segundo
9/11/2020
cs.CVcs.LG

Official code: gdahia/meta_occ (13 stars, Python, MIT, last commit 2021-09-03).

Abstract

We propose a method that can perform one-class classification given only a small number of examples from the target class and none from the others. We formulate the learning of meaningful features for one-class classification as a meta-learning problem in which the meta-training stage repeatedly simulates one-class classification, using the classification loss of the chosen algorithm to learn a feature representation.

Show full abstract

To learn these representations, we require only multiclass data from similar tasks. We show how the Support Vector Data Description method can be used with our method, and also propose a simpler variant based on Prototypical Networks that obtains comparable performance, indicating that learning feature representations directly from data may be more important than which one-class algorithm we choose. We validate our approach by adapting few-shot classification datasets to the few-shot one-class classification scenario, obtaining similar results to the state-of-the-art of traditional one-class classification, and that improves upon that of one-class classification baselines employed in the few-shot setting. Our code is available at https://github.com/gdahia/meta_occ

View on arXivView PDF

Code Implementations(1)

gdahia/meta_occOfficial100%
MIT

Official implementation of "Meta Learning for Few-Shot One-class Classification", 2020

132PythonSep 11, 20205 years agoMIT

Similar Papers

Cite this paper

@article{dahia2020meta,
  title  = {Meta Learning for Few-Shot One-class Classification},
  author = {Gabriel Dahia and Maurício Pamplona Segundo},
  year   = {2020},
  eprint = {2009.05353},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.05353}
}

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

Discussion