Skip to main content
QUICK REVIEW

[Paper Review] Few-shot Open-set Recognition by Transformation Consistency

Minki Jeong, Seokeon Choi|arXiv (Cornell University)|Mar 2, 2021
Domain Adaptation and Few-Shot LearningComputer Science32 references6 citations
TL;DR

This paper proposes SnaTCHer, a novel few-shot open-set recognition method that detects unknown class samples without relying on pseudo-unseen data by leveraging transformation consistency. It improves unseen sample detection by measuring discrepancies between transformed prototypes and a modified prototype set where the query feature replaces its predicted class prototype, achieving state-of-the-art AUROC scores across multiple few-shot benchmarks without degrading closed-set classification performance.

ABSTRACT

In this paper, we attack a few-shot open-set recognition (FSOSR) problem, which is a combination of few-shot learning (FSL) and open-set recognition (OSR). It aims to quickly adapt a model to a given small set of labeled samples while rejecting unseen class samples. Since OSR requires rich data and FSL considers closed-set classification, existing OSR and FSL methods show poor performances in solving FSOSR problems. The previous FSOSR method follows the pseudo-unseen class sample-based methods, which collect pseudo-unseen samples from the other dataset or synthesize samples to model unseen class representations. However, this approach is heavily dependent on the composition of the pseudo samples. In this paper, we propose a novel unknown class sample detector, named SnaTCHer, that does not require pseudo-unseen samples. Based on the transformation consistency, our method measures the difference between the transformed prototypes and a modified prototype set. The modified set is composed by replacing a query feature and its predicted class prototype. SnaTCHer rejects samples with large differences to the transformed prototypes. Our method alters the unseen class distribution estimation problem to a relative feature transformation problem, independent of pseudo-unseen class samples. We investigate our SnaTCHer with various prototype transformation methods and observe that our method consistently improves unseen class sample detection performance without closed-set classification reduction.

Motivation & Objective

  • Address the challenge of few-shot open-set recognition (FSOSR), where models must classify seen classes and detect unseen classes using only a few labeled examples.
  • Overcome the limitations of existing methods that depend heavily on the quality and composition of pseudo-unseen samples.
  • Develop a model-agnostic, pseudo-unseen-sample-free approach for detecting unknown samples in few-shot scenarios.
  • Maintain high closed-set classification accuracy while significantly improving unknown sample detection performance.

Proposed method

  • Propose SnaTCHer, a transformation consistency-based detector that evaluates feature consistency after replacing a query's predicted prototype with the query feature itself.
  • Use a task-adaptive feature transformer to create a transformed prototype space that preserves relative feature relationships.
  • Compute a normalized distance score between the query and its closest transformed prototype after prototype replacement to detect anomalies.
  • Apply various transformation methods—including normalization-based and metric-based transformations—on prototypes to enhance detection robustness.
  • Train the feature extractor end-to-end with standard few-shot learning objectives, while SnaTCHer operates as a plug-in detector at inference.
  • Use the magnitude of the transformation-induced discrepancy as a confidence score: larger differences indicate higher likelihood of being an unknown sample.

Experimental results

Research questions

  • RQ1Can a few-shot open-set recognition system detect unknown samples without relying on pseudo-unseen data or distributional assumptions about the unseen class?
  • RQ2How does transformation consistency improve unknown sample detection compared to direct distance-based methods in low-data regimes?
  • RQ3To what extent does SnaTCHer preserve closed-set classification accuracy while enhancing open-set detection performance?
  • RQ4How robust is SnaTCHer to variations in the number and distribution of unknown samples in real-world few-shot scenarios?
  • RQ5Can SnaTCHer generalize across domain shifts, such as when seen and unknown classes come from different data distributions?

Key findings

  • SnaTCHer achieves state-of-the-art AUROC of 91.83% on the tieredImageNet-CUB 5-shot cross-domain FSOSR benchmark, significantly outperforming PEELER.
  • On the 5-way 5-shot tieredImageNet benchmark, SnaTCHer-L achieves 82.03% AUROC, surpassing the previous best method (PEELER) by over 6 percentage points.
  • SnaTCHer maintains high closed-set classification accuracy—e.g., 70.85% on tieredImageNet 5-way 1-shot—while improving unknown detection, showing no performance degradation.
  • The method is robust to varying numbers of unknown samples, as shown in ablation studies where performance remains stable across different unknown data configurations.
  • Histogram analysis confirms that known samples have significantly smaller normalized distances to their prototypes than unknowns, validating the underlying assumption of distinguishable feature spaces.
  • The use of transformation consistency amplifies the separation between known and unknown samples, leading to better AUROC than direct distance-based scoring.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.