Abstract
We present a meta-learning based generative model for zero-shot learning (ZSL) towards a challenging setting when the number of training examples from each seen class is very few. This setup contrasts with the conventional ZSL approaches, where training typically assumes the availability of a sufficiently large number of training examples from each of the seen classes. The proposed approach leverages meta-learning to train a deep generative model that integrates variational autoencoder and generative adversarial networks. We propose a novel task distribution where meta-train and meta-validation classes are disjoint to simulate the ZSL behaviour in training. Once trained, the model can generate synthetic examples from seen and unseen classes. Synthesized samples can then be used to train the ZSL framework in a supervised manner. The meta-learner enables our model to generate high-fidelity samples using only a small number of training examples from seen classes. We conduct extensive experiments and ablation studies on four benchmark datasets of ZSL and observe that the proposed model outperforms state-of-the-art approaches by a significant margin when the number of examples per seen class is very small.
Introduction
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. This paper addresses 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, often leading to poor sample quality or "mode collapse" when data is limited.
Methods: The Meta-VGAN Framework
The proposed Meta-VGAN integrates three powerful concepts to overcome the data scarcity problem:
- 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, while the GAN ensures high-fidelity, realistic features.
- Meta-Learning (MAML): The model adapts 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.
- Disjoint Task Distribution: In each training episode, the "support set" and "query set" consist of disjoint classes. This forces the model to mimic the ZSL environment during training, improving its ability to hallucinate features for classes it hasn't seen in that specific episode.
Once trained, Meta-VGAN synthesizes features for unseen classes based on their text attributes. These synthetic features are then used to train a simple supervised classifier.
Experimental Setup
The model was evaluated on four standard ZSL benchmarks: CUB (fine-grained birds), AwA2 (animals), SUN (scenes), and aPY (objects). The researchers specifically tested these datasets in "low-data" regimes, using only 5 or 10 examples per seen class for training.
Key Results
Meta-VGAN shows a substantial absolute performance gain over previous state-of-the-art (SOTA) methods in data-starved scenarios.
- Extreme Scarcity (5 examples/class): On the CUB dataset, Meta-VGAN achieved 66.9% accuracy, significantly outperforming the next best model (GF-ZSL at 56.5%).
- Generalized ZSL (GZSL): In the more difficult GZSL setting, 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, 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.
Conclusion and Future Work
Meta-VGAN demonstrates that meta-learning can stabilize GAN training on small datasets and improve generalization to unseen classes. While successful, the approach involves higher computational overhead due to the meta-learning loops and remains dependent on the quality of human-annotated attribute vectors. Future research could explore applying this meta-generative approach to other domains, such as zero-shot action recognition or cross-modal retrieval.
Summary updated