Generalized Zero-Shot Learning via Synthesized Examples

Gundeep Arora, Vinay Kumar Verma, Ashish Mishra, Piyush Rai

Abstract

We present a generative framework for generalized zero-shot learning where the training and test classes are not necessarily disjoint. Built upon a variational autoencoder based architecture, consisting of a probabilistic encoder and a probabilistic conditional decoder, our model can generate novel exemplars from seen/unseen classes, given their respective class attributes. These exemplars can subsequently be used to train any off-the-shelf classification model. One of the key aspects of our encoder-decoder architecture is a feedback-driven mechanism in which a discriminator (a multivariate regressor) learns to map the generated exemplars to the corresponding class attribute vectors, leading to an improved generator. Our model's ability to generate and leverage examples from unseen classes to train the classification model naturally helps to mitigate the bias towards predicting seen classes in generalized zero-shot learning settings. Through a comprehensive set of experiments, we show that our model outperforms several state-of-the-art methods, on several benchmark datasets, for both standard as well as generalized zero-shot learning.

Introduction

Zero-Shot Learning (ZSL) aims to recognize objects from classes not seen during training by utilizing auxiliary information like class attributes. However, a more realistic and challenging setting is Generalized Zero-Shot Learning (GZSL), where the test set contains both seen and unseen classes. Traditional models often suffer from a strong bias toward seen classes, leading to poor performance on unseen categories. This paper introduces SE-GZSL, a generative framework designed to mitigate this bias by synthesizing training examples for unseen classes.

Methodology: Synthesizing Discriminative Features

The core of SE-GZSL is a generative architecture built upon a Conditional Variational Autoencoder (CVAE). The framework operates in two distinct phases:

1. The Generative Phase

The model consists of a probabilistic encoder and a conditional decoder (the generator). The encoder maps real image features into a latent space, while the generator learns to synthesize image exemplars given a latent code and a class attribute vector.

A key innovation is the Feedback-Driven Mechanism. An auxiliary Attribute Regressor (a multivariate regressor) is trained to map the synthesized exemplars back to their original class attribute vectors. The error from this regressor provides a feedback signal to the generator, forcing it to produce features that are not just realistic but also highly discriminative for the specific class.

Conceptual overview of the SE-GZSL framework, highlighting the feedback loop from the attribute regressor to the generator.

2. The Classification Phase

Once trained, the generator can "hallucinate" thousands of examples for unseen classes. By combining these synthesized features with real features from seen classes, the GZSL problem is transformed into a standard supervised classification task. Any off-the-shelf classifier, such as an SVM or Softmax, can then be trained on this augmented dataset.

Experimental Results

The authors evaluated SE-GZSL on several benchmark datasets, including SUN, CUB, AwA1, and AwA2, using ResNet-101 features. The primary metric for GZSL is the Harmonic Mean (H) of the accuracies on seen and unseen classes, which ensures a balanced evaluation.

Comparative performance of SE-GZSL against state-of-the-art methods across four benchmark datasets.

As shown in the results table, SE-GZSL significantly outperforms existing state-of-the-art methods. For instance, on the AwA1 dataset, SE-GZSL achieved an H-score of 61.5, a massive improvement over previous methods like ALE (27.5) or DEVISE (22.4). On the SUN dataset, the accuracy for unseen classes ($U \to S+U$) reached 40.9%, nearly doubling the performance of the previous best-performing model.

Discussion and Conclusion

SE-GZSL effectively addresses the bias problem in GZSL by generating high-quality, class-specific features for unseen categories. The feedback-driven regressor is crucial for ensuring that the synthesized data is discriminative enough for classification. While the model currently relies on pre-extracted features and high-quality attributes, future work could explore end-to-end learning from raw pixels or incorporating adversarial training to further enhance the realism of the synthesized exemplars.

Overall, SE-GZSL provides a robust and scalable solution for zero-shot recognition, moving closer to real-world applications where models must handle a mix of familiar and novel concepts.

Summary updated

BibTeX
@inproceedings{arora2018generalized,
  author = {Gundeep Arora and Vinay Kumar Verma and Ashish Mishra and Piyush Rai},
  title = {{Generalized Zero-Shot Learning via Synthesized Examples}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=B1ZrgAbdbS},
}
Figure