Glocal Energy-based Learning for Few-Shot Open-Set Recognition

Haoyu Wang, Guansong Pang, Peng Wang, Lei Zhang, Wei Wei +1 more
4/1/2023

No official code found. Best implementation: 00why00/Glocal (42 stars, MIT, last commit 2023-05-18).

Abstract

Few-shot open-set recognition (FSOR) is a challenging task of great practical value. It aims to categorize a sample to one of the predefined, closed-set classes illustrated by few examples while being able to reject the sample from unknown classes. In this work, we approach the FSOR task by proposing a novel energy-based hybrid model. The model is composed of two branches, where a classification branch learns a metric to classify a sample to one of closed-set classes and the energy branch explicitly estimates the open-set probability. To achieve holistic detection of open-set samples, our model leverages both class-wise and pixel-wise features to learn a glocal energy-based score, in which a global energy score is learned using the class-wise features, while a local energy score is learned using the pixel-wise features. The model is enforced to assign large energy scores to samples that are deviated from the few-shot examples in either the class-wise features or the pixel-wise features, and to assign small energy scores otherwise. Experiments on three standard FSOR datasets show the superior performance of our model.11Code is available at https://github.com/00why00/Glocal

View on arXivView PDF

Code Implementations(1)

00why00/GlocalCommunity100%
MIT

[CVPR 2023] Glocal Energy-based Learning for Few-Shot Open-Set Recognition

427PythonMar 9, 20233 years agoMIT
few-shot-learningopen-set-recognition

Similar Papers

Cite this paper

@article{wang2023glocal,
  title  = {Glocal Energy-based Learning for Few-Shot Open-Set Recognition},
  author = {Haoyu Wang and Guansong Pang and Peng Wang and Lei Zhang and Wei Wei and Yanning Zhang},
  year   = {2023},
  eprint = {2304.11855},
  archivePrefix = {arXiv},
  url    = {https://ink.library.smu.edu.sg/context/sis_research/article/9008/viewcontent/Wang_Glocal_Energy_Based_Learning_for_Few_Shot_Open_Set_Recognition_CVPR_2023_paper.pdf},
  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/2304.11855.svg)](https://codeofpaper.com/paper/2304.11855)

Discussion