Generalised Zero-Shot Learning with Domain Classification in a Joint Semantic and Visual Space

Rafael Felix, Ben Harwood, Michele Sasdelli, Gustavo Carneiro · DOI

Introduction

Generalised Zero-Shot Learning (GZSL) represents a significant challenge in computer vision, requiring models to categorize images from both seen and unseen classes at test time. The primary obstacle in GZSL is the inherent "seen-class bias," where models trained exclusively on visual examples of known categories tend to misclassify novel objects as familiar ones. This paper addresses this bias by introducing a joint latent representation and a specialized domain classification mechanism.

Methodology

The proposed framework shifts away from traditional methods that map visual features directly to a semantic space. Instead, it learns a shared joint latent space where both visual and semantic features can be compared directly.

Joint Latent Space and Domain Classification

As illustrated in the architecture below, visual features (extracted via a CNN) and semantic attributes are projected into a hidden latent space $z$ using dedicated encoders.

The proposed architecture featuring a joint latent space and a domain classifier to mitigate seen-class bias.

The "secret sauce" of this approach is the Domain Classifier (DC). This binary classifier operates within the latent space to estimate the probability that a given sample belongs to the "seen" or "unseen" domain. By acting as a gatekeeper, the DC re-weights class probabilities, effectively counteracting the model's tendency to favor familiar labels.

Generative Model Integration

The authors demonstrate the versatility of the domain classifier by integrating it into established generative architectures, specifically CADA-VAE (Variational Autoencoder) and cycle-WGAN (Generative Adversarial Network).

Depiction of the cycle-WGAN method integration, which encodes semantic space into a latent visual space to regularize learning.

Generative models allow the system to "imagine" latent representations for unseen classes using synthetic data, which significantly strengthens the robustness of the domain classifier. This synergy helps the model distinguish between visually similar classes from different domains, such as a leopard (seen) versus a bobcat (unseen), which might otherwise be projected into similar regions of the latent space.

Experimental Evaluation

The method was rigorously tested on four benchmark datasets: CUB (Caltech-UCSD Birds-200-2011), SUN (Scene UNderstanding), and AWA1/AWA2 (Animals with Attributes).

Key Results

The inclusion of the domain classifier yielded state-of-the-art performance across several metrics:

  • Accuracy Gains: Unseen class accuracy improved by 4.5% on the CUB dataset and 5.6% on the SUN dataset.
  • Harmonic Mean (H-mean): The model achieved balanced performance scores of 52.7% on CUB and 64.2% on AWA1.
  • AUSUC: Substantial improvements in the Area Under Seen and Unseen Curve were observed, notably on CUB (0.3698 to 0.3743) and AWA2 (0.5216 to 0.5219).

Conclusion and Future Directions

By learning a joint latent space and explicitly modeling the domain of input samples, this research significantly reduces seen-class bias in GZSL. While the current results are promising, the authors identify model calibration as a key area for improvement, as the DC's confidence scores do not always align perfectly with actual accuracy. Future work will explore automated calibration techniques and the scalability of domain classification to larger, noisier datasets beyond standard benchmarks.

Summary updated

BibTeX
@inproceedings{felix2019generalised,
  author = {Rafael Felix and Ben Harwood and Michele Sasdelli and Gustavo Carneiro},
  title = {{Generalised Zero-Shot Learning with Domain Classification in a Joint Semantic and Visual Space}},
  booktitle = {DICTA},
  year = {2019},
  doi = {10.1109/dicta47822.2019.8945949},
}
Figure