Task Aligned Generative Meta-learning for Zero-shot Learning

Zhe Liu, Yun Li, Lina Yao, Xianzhi Wang, Guodong Long

Abstract

Zero-shot learning (ZSL) models often struggle with bias toward seen classes. While meta-learning offers a potential solution by simulating the seen-to-unseen transfer process, its effectiveness is significantly hindered when training data contains highly diverse, mismatched distributions. We present Task-aligned Generative Meta-learning (TGMZ), a novel framework that aligns diverse task distributions into a unified latent space before applying generative meta-learning. By preventing the model from over-optimizing for dominant or outlier data types, TGMZ achieves state-of-the-art performance across standard, generalized, and newly proposed "fusion" ZSL settings.

The Challenge of Distribution Disjointedness

In Zero-Shot Learning, the objective is to classify novel "unseen" classes by mapping visual features to semantic attributes. Standard meta-learning approaches split training data into "support" and "query" sets to simulate this transfer. However, real-world datasets often exhibit "distribution disjointedness"—for instance, a dataset containing both animals (like wolves) and inanimate objects (like buildings).

Comparison between conventional Meta-ZSL and the proposed TGMZ framework.

As illustrated in Figure 3(a), conventional meta-ZSL methods struggle in these scenarios because gradient updates are pulled toward the most distinct or dominant distributions. This leads the model to converge on a local optimum for one data type while losing discriminative power on others. TGMZ addresses this by aligning these distributions (Figure 3(b)) to ensure stable and transferable gradient updates.

Methodology: TGMZ Framework

The TGMZ framework operates in two primary phases to ensure robust meta-learning:

  1. Task Distribution Alignment: The model employs a Task adversarial AutoEncoder (TAE) conditioned on semantic attributes. Through a minimax game with a multi-label task discriminator, the encoder projects diverse tasks into a unified distribution embedding. A decoder and auxiliary classifier ensure that this alignment process preserves essential visual and class-specific information.
  2. Task Aligned Generative ZSL: Following alignment, a Meta conditional Generative Adversarial Network (MGAN) uses the unified embeddings to synthesize high-quality instances for unseen classes. Because the input distributions are aligned, the meta-learner can optimize the MGAN without being hijacked by conflicting gradients from diverse data types.

Experimental Results

The authors evaluated TGMZ on standard benchmarks (AWA1, AWA2, CUB, aPY) and a newly introduced Fusion-ZSL setting designed to test performance on mixed-distribution environments (e.g., AWA2 combined with aPY).

  • Standard ZSL: TGMZ outperformed state-of-the-art baselines by significant margins, including a 7.6% improvement on the highly diverse aPY dataset.
  • Generalized ZSL (GZSL): In the more challenging setting of evaluating seen and unseen classes simultaneously, TGMZ improved harmonic mean scores by up to 3.7%.
  • Fusion-ZSL: TGMZ demonstrated its core strength by beating competitors by up to 7.9% on combined datasets, proving that task alignment is critical for handling high-variance class types.

Conclusion

TGMZ demonstrates that the primary bottleneck in applying meta-learning to Zero-Shot Learning is the disjointedness of task distributions. By introducing an alignment phase, the model generates more discriminative synthetic features and avoids the gradient bias common in previous methods. Future work will explore extending this framework to other domains, such as natural language processing and human activity recognition.

Summary updated

BibTeX
@inproceedings{liu2021task,
  author = {Zhe Liu and Yun Li and Lina Yao and Xianzhi Wang and Guodong Long},
  title = {{Task Aligned Generative Meta-learning for Zero-shot Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i10.17057},
}
Figure