Skip to main content
QUICK REVIEW

[Paper Review] A Boundary Based Out-of-Distribution Classifier for Generalized Zero-Shot Learning

Xingyu Chen, Xuguang Lan|arXiv (Cornell University)|Aug 9, 2020
Domain Adaptation and Few-Shot LearningComputer Science34 references7 citations
TL;DR

This paper proposes a boundary-based Out-of-Distribution (OOD) classifier for Generalized Zero-Shot Learning (GZSL) that leverages a shared latent space on a unit hyper-sphere to model bounded manifolds for seen classes using Hyper-Spherical Variational Autoencoders (SVAE). By learning class centers and boundaries from seen data alone, it separates unseen samples from seen ones without requiring unseen data during training, enabling two-stage classification that outperforms state-of-the-art methods on five benchmarks.

ABSTRACT

Generalized Zero-Shot Learning (GZSL) is a challenging topic that has promising prospects in many realistic scenarios. Using a gating mechanism that discriminates the unseen samples from the seen samples can decompose the GZSL problem to a conventional Zero-Shot Learning (ZSL) problem and a supervised classification problem. However, training the gate is usually challenging due to the lack of data in the unseen domain. To resolve this problem, in this paper, we propose a boundary based Out-of-Distribution (OOD) classifier which classifies the unseen and seen domains by only using seen samples for training. First, we learn a shared latent space on a unit hyper-sphere where the latent distributions of visual features and semantic attributes are aligned class-wisely. Then we find the boundary and the center of the manifold for each class. By leveraging the class centers and boundaries, the unseen samples can be separated from the seen samples. After that, we use two experts to classify the seen and unseen samples separately. We extensively validate our approach on five popular benchmark datasets including AWA1, AWA2, CUB, FLO and SUN. The experimental results demonstrate the advantages of our approach over state-of-the-art methods.

Motivation & Objective

  • To address the challenge of training reliable gating mechanisms in GZSL when no unseen samples are available during training.
  • To develop an OOD classifier that distinguishes seen from unseen samples using only seen-class data.
  • To simplify GZSL into two separate problems: zero-shot learning for unseen classes and supervised classification for seen classes.
  • To improve generalization and avoid feature confusion or bias issues common in embedding and generative GZSL methods.

Proposed method

  • Learn a shared latent space on a unit hyper-sphere using Hyper-Spherical Variational Autoencoders (SVAE) to align visual features and semantic attributes class-wisely.
  • Model each seen class as a von Mises-Fisher (vMF) distribution on the hyper-sphere, where the mean direction corresponds to the class center and concentration to the manifold tightness.
  • Identify the boundary of each class's manifold in the latent space using the vMF distribution parameters, enabling detection of out-of-distribution samples.
  • Use the class center and boundary to classify a sample as seen (within manifold) or unseen (outside manifold), forming a binary OOD gate.
  • Train the OOD classifier end-to-end using a combined loss: reconstruction loss for features and attributes, contrastive loss to separate seen classes, and classification loss for the binary gate.
  • Apply two separate experts for final classification: one for seen samples (within manifold) and one for unseen samples (outside manifold), decoupling the two tasks.

Experimental results

Research questions

  • RQ1Can a reliable Out-of-Distribution classifier be trained without any unseen data by modeling bounded manifolds in a shared latent space?
  • RQ2How effectively can class centers and boundaries in a hyper-spherical latent space separate unseen samples from seen ones?
  • RQ3Does the proposed boundary-based OOD classifier improve GZSL performance by decoupling the ZSL and supervised classification tasks?
  • RQ4How robust is the method to variations in latent space dimension and hyper-parameters?
  • RQ5Can the OOD classifier be effectively combined with existing state-of-the-art ZSL methods?

Key findings

  • The proposed method achieves an AUC of 85.9% on AWA1 and 75.9% on CUB when using the full objective function, significantly outperforming ablation variants.
  • The inclusion of both contrastive loss ($L_{cr}$) and classification loss ($L_{cls}$) leads to the best OOD detection performance, with AUC increasing from 81.5% to 85.9% on AWA1.
  • The method shows stable performance across different hyper-parameters, with AUC scores remaining consistently high under various $α$ and $β$ settings.
  • The optimal latent space dimension is 128, where AUC peaks at 85.9% on AWA1 and 75.9% on CUB, with no further gains beyond this point.
  • Visualization via t-SNE confirms that unseen features are scattered outside the bounded manifolds of seen classes, validating the OOD detection mechanism.
  • The method achieves state-of-the-art performance across five benchmark datasets: AWA1, AWA2, CUB, FLO, and SUN, demonstrating generalization and robustness.

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.