Generalized Zero-Shot Learning via Synthesized Examples

Vinay Kumar Verma, Gundeep Arora, 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

Traditional Zero-Shot Learning (ZSL) aims to recognize objects from classes that were not seen during training. However, most ZSL models fail in the more realistic Generalized ZSL (GZSL) setting, where the test set contains a mix of both seen and unseen classes. In GZSL, models are notoriously biased toward "seen" classes because they have never observed actual data for the "unseen" ones. This paper addresses this "bias problem" by shifting the task from a complex cross-modal mapping problem to a data augmentation problem: synthesizing training examples for unseen classes to balance the training distribution.

Methods: The SE-GZSL Framework

The authors propose a model called SE-GZSL (Synthesized Examples for GZSL). The architecture consists of three main components designed to generate high-quality, discriminative features.

The SE-GZSL framework featuring a feedback-driven mechanism between the generator and an attribute regressor.
  1. Conditional Variational Autoencoder (cVAE): This learns to generate image features based on a latent noise vector and a class attribute vector. The "disentanglement" of these components allows the model to separate unstructured style from structured class information. Unlike traditional embedding methods that project images into attribute space (often suffering from the "hubness problem"), this model projects attributes into the image feature space.
  2. Feedback-Driven Regressor: This is the "secret sauce." A separate multivariate regressor acts as a teacher, learning to map generated features back to their original class attributes. If the generator produces non-distinctive features, the regressor fails, and the resulting error is backpropagated to improve the generator.
  3. Final Classification: Once the generator is trained, thousands of "exemplars" are synthesized for the unseen classes. A simple, off-the-shelf classifier (like a linear SVM) is then trained on a combined dataset of real "seen" features and synthetic "unseen" features.

Experimental Results

The model was evaluated on five major computer vision benchmarks: AwA1, AwA2, CUB, SUN, and ImageNet. The performance is measured using the Harmonic Mean (H) of seen and unseen class accuracies, which is the standard metric for GZSL.

Performance comparison of SE-GZSL against state-of-the-art methods across benchmark datasets.

As shown in the results, SE-GZSL significantly outperformed existing state-of-the-art methods. On AwA2, it achieved an H-score of 62.8, a massive jump over previous methods like ALE (23.9) or DEVISE (27.8). On the fine-grained CUB dataset, it reached an H-score of 46.7, surpassing previous generative approaches. Even on the large-scale ImageNet task, it achieved 25.43% accuracy, setting a new benchmark.

Key Insights and Conclusion

The success of SE-GZSL lies in its ability to mitigate bias. By providing the final classifier with synthetic examples of unseen classes, the search space is naturally balanced, and the classifier no longer "defaults" to seen classes. Ablation studies confirmed that the feedback regressor is essential, as removing it caused performance to drop significantly.

While the model performs exceptionally well, future work could incorporate Adversarial Training (GANs) to improve the "sharpness" of generated features or explore transductive settings where unlabeled test data is used to further refine the generator.

Summary updated

BibTeX
@inproceedings{verma2018generalized,
  author = {Vinay Kumar Verma and Gundeep Arora 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