Towards Zero-Shot Learning with Fewer Seen Class Examples

Vinay Kumar Verma, Ashish Mishra, Anubha Pandey, Hema A. Murthy, Piyush Rai

TL;DR

This paper introduces Meta-VGAN, a generative framework designed for Zero-Shot Learning (ZSL) when training data for "seen" classes is extremely scarce (e.g., only 5-10 examples). By combining a Variational Autoencoder (VAE) and a Generative Adversarial Network (GAN) within a meta-learning framework, the model learns to synthesize high-quality feature samples for unseen classes, significantly outperforming existing methods in data-starved scenarios.

What Problem Does This Paper Address?

Zero-Shot Learning (ZSL) aims to recognize objects from classes the model has never seen during training (e.g., identifying a "Zebra" having only seen "Horses" and "Stripes"). Traditionally, ZSL models assume that while the test classes are unseen, the training (seen) classes have abundant labeled data.

However, in the real world, collecting thousands of images for every "seen" class is expensive and time-consuming. The authors identify a critical gap: How do we perform ZSL when we only have a handful of examples for the seen classes? Existing generative ZSL models struggle here because they require large datasets to train stable generators (like GANs), often leading to poor sample quality or "mode collapse" when data is limited.

Methods

The authors propose Meta-VGAN, which integrates three powerful concepts:

  1. Hybrid Generative Model (VAE-GAN): The architecture combines a Conditional VAE (CVAE) and a Conditional GAN (CGAN). The VAE ensures diversity in the generated samples (preventing the model from just generating the same image over and over), while the GAN ensures high-fidelity, realistic features.
  2. Meta-Learning (MAML): They adapt the Model-Agnostic Meta-Learning (MAML) framework. Instead of learning a specific task, the model learns how to learn to generate samples. This allows the generator to adapt quickly to new class attributes even with minimal starting data.
  3. Disjoint Task Distribution: This is a clever twist on standard meta-learning. In typical meta-learning, training and validation tasks might share classes. Here, the authors ensure that the "support set" and "query set" in each training episode consist of disjoint classes. This forces the model to mimic the ZSL environment during its own training phase, getting better at hallucinating features for classes it hasn't seen in that specific episode.

Once trained, the Meta-VGAN is used to synthesize features for unseen classes based on their text attributes. These synthetic features are then used to train a simple supervised classifier (like an SVM or Softmax).

Datasets

The model was evaluated on four standard ZSL benchmarks:

  • CUB (Caltech-UCSD Birds-200-2011): Fine-grained bird species.
  • AwA2 (Animals with Attributes 2): Coarse-grained animal images.
  • SUN (Scene Attribute): Various scene categories.
  • aPY (aPascal & aYahoo): A mix of objects with shared attributes.

The researchers specifically tested these datasets in "low-data" regimes, using only 5 or 10 examples per seen class for training.

Key Insights and Ideas

  • Simulating the "Unseen": By making meta-train and meta-validation classes disjoint, the model learns that its primary job is to generalize to new semantic descriptions, not just memorize seen ones.
  • Stability through Synergy: GANs are notoriously hard to train on small datasets. By anchoring the GAN with a VAE and using meta-learning for initialization, the authors achieved much higher stability and sample quality.
  • Feature Reuse vs. Adaptation: The meta-learner provides a superior "initialization" for the generator. Even without fine-tuning on unseen classes (which is impossible in ZSL anyway), the model's starting parameters are robust enough to generate useful features just from a class attribute vector.

Key Results

Meta-VGAN shows a "substantial absolute performance gain" over previous state-of-the-art (SOTA) methods:

  • Extreme Scarcity (5 examples/class): On the CUB dataset, Meta-VGAN achieved 66.9% accuracy, while the next best model (GF-ZSL) only reached 56.5%.
  • Generalized ZSL (GZSL): In the more difficult GZSL setting (where the test set contains both seen and unseen classes), Meta-VGAN outperformed baselines by roughly 10-12% in harmonic mean accuracy on CUB and AwA2.
  • Full Data Performance: Even when provided with the entire training set (not just 5-10 samples), Meta-VGAN set new SOTA records, hitting 70.4% on CUB compared to the previous best of 59.6%. This suggests the meta-learning approach is fundamentally better at capturing the ZSL dynamic than standard training.

Limitations and Future Work

While the paper demonstrates impressive results, a few areas remain open for exploration:

  • Computational Overhead: Meta-learning (especially MAML) involves "loops within loops" during training, which can be computationally expensive compared to standard generative training.
  • Attribute Dependency: Like most ZSL work, the model relies heavily on the quality of human-annotated attribute vectors. If the attributes are noisy or poorly defined, the generator's performance will likely degrade.
  • Task Stability: The authors noted that updates over individual tasks can be unstable due to the GAN component, requiring them to average losses over a batch of tasks to maintain steady training.

Future research could look into applying this meta-generative approach to other domains, such as zero-shot action recognition or cross-modal retrieval.

Summary updated

BibTeX
@inproceedings{verma2021towards,
  author = {Vinay Kumar Verma and Ashish Mishra and Anubha Pandey and Hema A. Murthy and Piyush Rai},
  title = {{Towards Zero-Shot Learning with Fewer Seen Class Examples}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=hTk5r5tTNO},
}

Loading related content...

Figure