NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Model-driven Structure Aligning Discriminative Embeddings for Transductive Zero-shot Learning

Omkar Gune, Mainak Pal, Preeti Mukherjee, Biplab Banerjee, Subhasis ChaudhuriarXiv 2020

Abstract

Zero-shot Learning (ZSL) is a transfer learning technique which aims at transferring knowledge from seen classes to unseen classes. This knowledge transfer is possible because of underlying semantic space which is common to seen and unseen classes. Most existing approaches learn a projection function using labelled seen class data which maps visual data to semantic data. In this work, we propose a shallow but effective neural network-based model for learning such a projection function which aligns the visual and semantic data in the latent space while simultaneously making the latent space embeddings discriminative. As the above projection function is learned using the seen class data, the so-called projection domain shift exists. We propose a transductive approach to reduce the effect of domain shift, where we utilize unlabeled visual data from unseen classes to generate corresponding semantic features for unseen class visual samples. While these semantic features are initially generated using a conditional variational auto-encoder, they are used along with the seen class data to improve the projection function. We experiment on both inductive and transductive setting of ZSL and generalized ZSL and show superior performance on standard benchmark datasets AWA1, AWA2, CUB, SUN, FLO, and APY. We also show the efficacy of our model in the case of extremely less labelled data regime on different datasets in the context of ZSL.

Introduction: The Challenge of Zero-Shot Learning

Zero-shot Learning (ZSL) addresses the challenge of recognizing objects from classes that were not present during the training phase. This is achieved by leveraging semantic side-information, such as attribute vectors or text descriptions, to bridge the gap between "seen" and "unseen" categories. However, standard ZSL models often suffer from Domain Shift, where a model trained exclusively on seen classes becomes biased toward them. In Generalized ZSL (GZSL) settings, this bias leads to unseen class samples being incorrectly classified as seen classes because they appear closer to seen class prototypes in the embedding space.

Illustration of ZSL vs GZSL testing in embedding space, highlighting the domain shift problem.

Proposed Methodology: Aligning Structures in Latent Space

To mitigate domain shift and improve discriminative power, the authors propose a framework that aligns visual and semantic structures in a shared latent space. The core of the approach involves two main components:

  1. Discriminative Class-Encoder: Instead of a simple projection, the model uses a class-encoder trained to reconstruct a sample from a different instance of the same class. This forces the latent embeddings to capture category-defining features while ignoring instance-specific noise.
  2. Generative Augmentation (CVAE): In a transductive setting, where unlabeled images of unseen classes are available, the model employs a Conditional Variational Autoencoder (CVAE). The CVAE generates synthetic semantic features for these unlabeled images, providing a per-sample "fingerprint" that addresses the sparsity of single-prototype representations.
The proposed pipeline: VAE training on seen data, generation of unseen semantic data, and final transductive training.

Furthermore, a Structure Alignment loss ($L_{SA}$) ensures that the geometric relationships between classes in the visual domain are preserved in the semantic domain. If two species of birds are visually similar, their latent semantic embeddings are constrained to be similarly positioned.

Experimental Results and Discussion

The model, Ours-CE, was evaluated across six benchmark datasets, including AWA1, AWA2, CUB, and SUN. The results demonstrate significant improvements over non-generative baselines:

  • GZSL Performance: On the AWA1 dataset, the model achieved a Harmonic Mean ($H$) score of 49.4%, outperforming methods like ALE (27.5%) and SJE (19.6%). Similar gains were observed on APY, where the $H$-score reached 32.2%.
  • Data Efficiency: A key finding was the model's robustness in low-data regimes. On AWA1, the model maintained a 44.4% $H$-score even when trained on only 1% of the available seen-class data, showcasing the efficiency of the structure-aligning latent space.
  • Transductive Advantage: Utilizing unlabeled unseen data during training (transduction) provided a massive boost, effectively anchoring the latent space and preventing the model from drifting toward seen-class biases.

Conclusion

By combining a discriminative class-encoder with generative semantic augmentation, this framework successfully addresses the domain shift and prototype sparsity issues in Zero-shot Learning. The alignment of visual and semantic structures in a shared latent space provides a robust foundation for knowledge transfer, achieving state-of-the-art results even with minimal labeled training data.

Summary updated

BibTeX
@misc{gune2020generative,
  author = {Omkar Gune and Mainak Pal and Preeti Mukherjee and Biplab Banerjee and Subhasis Chaudhuri},
  title = {{Generative Model-driven Structure Aligning Discriminative Embeddings for Transductive Zero-shot Learning}},
  year = {2020},
  eprint = {2005.04492},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.04492},
}
Figure