[Paper Review] Glocal Energy-based Learning for Few-Shot Open-Set Recognition
This paper proposes Glocal Energy-based Learning (GEL), a novel few-shot open-set recognition framework that combines global (class-wise) and local (pixel-wise) feature representations to compute glocal energy scores. By enforcing high energy scores for samples deviating in either global semantics or fine-grained appearance, GEL achieves state-of-the-art performance on three benchmark datasets, outperforming existing methods in both closed-set accuracy and open-set detection (AUROC).
Few-shot open-set recognition (FSOR) is a challenging task of great practical value. It aims to categorize a sample to one of the pre-defined, 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.
Motivation & Objective
- Address the challenge of few-shot open-set recognition (FSOR), where models must classify rare classes with few examples while detecting unknown classes.
- Overcome limitations of existing FSOR methods that rely only on class-wise features and fail to detect open-set samples with similar global semantics but different local details.
- Develop a unified framework that jointly optimizes for closed-set classification and open-set detection using a dual-branch energy-based model.
- Enable holistic detection of open-set samples by leveraging both high-level semantic and fine-grained spatial features through a glocal energy scoring mechanism.
Proposed method
- Propose a dual-branch architecture: one branch for closed-set classification using class-wise features, and another for open-set recognition using both class-wise and pixel-wise features.
- Introduce a glocal energy score composed of a global energy score (based on class-wise features) and a local energy score (based on pixel-wise features) to detect deviations from known classes.
- Enforce the model to assign large energy scores to samples that deviate in either global semantics or local appearance, and small scores otherwise, using a joint optimization objective.
- Combine the class-wise and pixel-wise energy scores via learnable, fixed, or task-adaptive coefficients, with ablation showing fixed coefficients yield best open-set performance.
- Use a metric-based prototype learning strategy with cosine similarity to compute feature distances between query and support set embeddings.
- Apply a margin-based loss to encourage separation between known and unknown samples in the feature space, enhancing open-set detection robustness.
Experimental results
Research questions
- RQ1Can a unified model effectively balance few-shot classification and open-set detection under limited supervision?
- RQ2Does incorporating both global (class-wise) and local (pixel-wise) features improve detection of unknown samples that are visually similar to known classes?
- RQ3How does the combination of glocal energy scores affect open-set recognition performance compared to using only global or local features?
- RQ4What is the optimal strategy for combining class-wise and pixel-wise energy scores—fixed, learnable, or task-adaptive coefficients?
- RQ5How robust is the proposed method to hyperparameter choices such as k in k-nearest neighbor selection and margin distance in the loss function?
Key findings
- GEL achieves state-of-the-art performance on three standard FSOR benchmarks: miniImageNet, tieredImageNet, and CUB, with 83.05% accuracy and 82.29% AUROC on miniImageNet under 5-way 5-shot settings.
- On miniImageNet 5-way 1-shot, GEL achieves 83.00% accuracy and 80.67% AUROC, outperforming prior methods in open-set detection capability.
- Ablation studies show that the fixed coefficient combination strategy for glocal energy scores yields the highest AUROC (82.29%), surpassing learnable and task-adaptive variants.
- The method is robust to hyperparameter choices: AUROC varies by only 0.08 across different k values in k-NN selection, and smaller margin distances improve performance.
- The inclusion of pixel-wise features enables detection of open-set samples that are visually similar in global semantics but differ in local texture or appearance, a failure case for prior methods.
- The dual-branch design with separate classification and energy estimation branches improves generalization, as evidenced by consistent gains in both accuracy and AUROC across all settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.