Structure Aligning Discriminative Latent Embedding for Zero-Shot Learning

Omkar Gune, Biplab Banerjee, Subhasis Chaudhuri

Introduction

Zero-Shot Learning (ZSL) presents a significant challenge in computer vision: recognizing objects from categories that were entirely absent during the training phase. To achieve this, models must bridge the "semantic gap" between low-level visual features and high-level semantic descriptions, such as attributes like "has wings" or "is furry."

Existing ZSL methodologies often struggle with three critical issues:

  1. The Hubness Problem: In high-dimensional spaces, certain points become "hubs" that appear near many unrelated points, degrading classification accuracy.
  2. Intra-class Variation: Visual instances of the same class can vary wildly due to pose or lighting, while their semantic prototypes remain static.
  3. Loss of Discriminativeness: Mapping visual data directly to semantic spaces often obscures the subtle differences required to distinguish between similar fine-grained classes.

Proposed Methodology

The authors propose a dual-path framework that projects both visual features and semantic prototypes into a shared, discriminative latent space. This space acts as a flexible buffer where both domains can adapt to one another, mitigating the hubness problem.

The proposed model architecture showing visual and semantic paths meeting in a shared latent space.

The Visual Path: Class-Encoder

A core innovation is the class-encoder. Unlike standard autoencoders that reconstruct a sample from itself, the class-encoder attempts to reconstruct one sample of a class from a different sample of the same class. This process acts as class-level denoising, forcing the model to ignore irrelevant variations like background or pose and focus on core categorical features.

Semantic Alignment and Discrimination

Semantic prototypes are projected into the latent space through an intermediate layer to allow for more abstract representations. To ensure this space is optimized for classification, the model employs two constraints:

  • Softmax Classifier: Trained directly on latent visual features to maximize inter-class separation.
  • Structure Alignment: Minimizes the divergence between visual class centroids and projected semantic prototypes to ensure perfect calibration between domains.

Experimental Results

The model was evaluated on three major benchmarks: Animals with Attributes (AWA), Caltech-UCSD Birds (CUB), and Scene UNderstanding (SUN). The version of the model utilizing the class-encoder (Ours-CE) consistently achieved state-of-the-art results.

Standard and Generalized ZSL

In standard ZSL, the model reached 85.0% accuracy on the AWA dataset using attributes. However, the model's strengths are most apparent in the more rigorous Generalized Zero-Shot Learning (GZSL) setting, where the test set contains both seen and unseen classes.

Performance comparison on the challenging Generalized ZSL setup.

As shown in the results table, the proposed method achieved a significant 17.1% relative improvement in the harmonic mean (H) score for the fine-grained CUB dataset compared to previous benchmarks. This demonstrates that the discriminative latent space effectively preserves the subtle features necessary for fine-grained recognition.

Conclusion

By combining class-level denoising with explicit discriminative training in a shared latent space, this framework effectively addresses the core challenges of ZSL. While the current inductive model performs exceptionally well, future work may explore transductive settings—incorporating unlabeled visual features from unseen classes during training—to further bridge the semantic gap. Additionally, the continued performance gap between manual attributes and unsupervised word vectors suggests that refining semantic representations remains a vital area for future research.

Summary updated

BibTeX
@inproceedings{gune2018structure,
  author = {Omkar Gune and Biplab Banerjee and Subhasis Chaudhuri},
  title = {{Structure Aligning Discriminative Latent Embedding for Zero-Shot Learning}},
  booktitle = {BMVC},
  year = {2018},
}
Figure