Instance-based Max-margin for Practical Few-shot Recognition

Minghao Fu, Kevin Zhu, Jianxin Wu
5/1/2023

No official code found. Best implementation: heekhero/IbM2 (8 stars, last commit 2024-07-13).

Abstract

In order to mimic the human few-shot learning (FSL) ability better and to make FSL closer to real-world applications, this paper proposes a practical FSL (pFSL) setting. pFSL is based on unsupervised pre-trained models (analo-gous to human prior knowledge) and recognizes many novel classes simultaneously. Compared to traditional FSL, pFSL is simpler in its formulation, easier to evaluate, more chal-lenging and more practical. To cope with the rarity of training examples, this paper proposes IbM2, an instance-based max-margin method not only for the new pFSL setting, but also works well in traditional FSL scenarios. Based on the Gaussian Annulus Theorem, IbM2 converts random noise applied to the instances into a mechanism to achieve max-imum margin in the many-way pFSL (or traditional FSL) recognition task. Experiments with various self-supervised pre-training methods and diverse many- or few-way FSL tasks show that IbM2 almost always leads to improvements compared to its respective baseline methods, and in most cases the improvements are significant. With both the new pFSL setting and novel IbM2 method, this paper shows that practical few-shot learning is both viable and promising.

View on arXivView PDF

Code Implementations(1)

heekhero/IbM2Community58%

This repo is the official implementation of our CVPR 2024 paper "Instance-based Max-margin for Practical Few-shot Recognition".

80Shell, PythonMay 21, 20242 years ago

Similar Papers

Cite this paper

@article{fu2023instancebased,
  title  = {Instance-based Max-margin for Practical Few-shot Recognition},
  author = {Minghao Fu and Kevin Zhu and Jianxin Wu},
  year   = {2023},
  eprint = {2305.17368},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2305.17368},
  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/2305.17368.svg)](https://codeofpaper.com/paper/2305.17368)

Discussion