Attribute-Modulated Generative Meta Learning for Zero-Shot Learning

Yun Li, Zhe Liu, Lina Yao, Xiaojun Chang

TL;DR

This paper introduces AMAZ, a novel Attribute-Modulated Generative Meta-Learning framework for Zero-Shot Learning. AMAZ tackles the challenge of adapting generative models to diverse unseen classes by employing an attribute-aware modulation network to dynamically adjust the generator. This approach significantly improves the quality and discriminative power of synthesized features, leading to state-of-the-art performance in ZSL and GZSL tasks.

What Problem Does This Paper Address?

Zero-Shot Learning (ZSL) aims to recognize objects from classes that were not seen during training. A common approach is to synthesize visual features for these unseen classes using semantic information (like attributes) and then train a classifier. However, existing methods often struggle with two main issues:

  1. Sub-optimal Generalization: Meta-learning approaches, while good at reducing bias towards seen classes, often rely on a single, globally shared generative model. This model can be suboptimal when applied to highly diverse tasks or classes with distinct characteristics.
  2. Synthetic Data Quality: Generative models can produce synthetic features that don't accurately reflect the true visual characteristics of unseen classes, especially when there's a domain shift. This low-quality synthetic data can negatively impact the training of the final classifier.

The paper addresses these limitations by proposing a generative model that can adapt to specific task characteristics and by improving the robustness of the classifier to variations in synthetic data quality.

Methods

AMAZ is built upon three core components:

  1. Attribute-Aware Modulation Network: This network takes the semantic attributes of a given task (a set of unseen classes) as input. It then projects these attributes into a task embedding, which is used by independent "Attribute Modulators" (AMs) to generate modulation parameters (weights and biases). These parameters are applied layer-wise to the generator, dynamically adapting its behavior to the specific task. An Attribute Discriminator (AD) is used to ensure that the modulation is guided towards reconstructing the original attributes, thereby improving the richness of the task representation.
  2. Attribute-Augmented Generative Network: This is the core generative component. It consists of:
  3. A Generator (G) that synthesizes visual features conditioned on attributes and noise. This generator is modulated by the Attribute Modulation Network.
  4. An Auxiliary Classifier (C) that helps enhance the class information within the generated features.
  5. A Discriminator (D) that learns to distinguish between real and generated features, driving the generator to produce more realistic outputs. The generator is trained using a min-max adversarial loss that includes terms for fooling the discriminator, reconstructing attributes (via AD), and classifying generated features.

  6. Attribute-Weighted Classifier: To address the issue of varying synthetic data quality, this component uses the similarity between the original attribute and the reconstructed attribute (from the AD) as a measure of data quality. This quality score is then used to weight the classification loss. Two versions are proposed:

  7. Weighted-Softmax: Instance-level weighting for batch-wise training.
  8. Weighted-SVM: Class-level weighting for dataset-wise training.

The entire model is trained using an episode-wise meta-learning approach, where tasks are sampled to mimic the ZSL setting, allowing for fast adaptation and robust generalization.

Datasets

The paper evaluates AMAZ on four widely-used benchmark datasets:

  • AWA1 (Animals with Attributes 1)
  • AWA2 (Animals with Attributes 2)
  • CUB (Caltech-UCSD Birds 200)
  • SUN (Stanford Dogs Dataset)

These datasets are standard for ZSL research and vary in their granularity (coarse-grained for AWA, fine-grained for CUB and SUN) and the nature of their visual and semantic information. The paper uses pre-defined splits for seen and unseen classes.

Key Insights and Ideas

  • Task-Specific Modulation is Key: The core insight is that a single, globally shared generator is insufficient for diverse ZSL tasks. Dynamically modulating the generator based on task-specific attributes allows it to adapt and generate more relevant features for each unseen class.
  • Attribute Discriminator for Guidance: Using an attribute discriminator not only helps constrain the modulation direction but also provides a signal for data quality assessment, which is crucial for robust classifier training.
  • Data Quality Matters for Classification: Directly using synthetic data without considering its quality can lead to poor performance. The attribute-weighted classifier effectively mitigates the impact of noisy or low-quality synthetic samples.
  • Meta-Learning Enhances Adaptability: Combining meta-learning with attribute modulation allows the model to learn how to adapt to new tasks quickly and effectively, reducing the bias towards seen classes.
  • Visualizations Show Improved Discriminability: The t-SNE visualizations of synthetic features clearly demonstrate that AMAZ generates more separable and discriminative features compared to baseline methods, especially for classes with subtle differences.

Key Results

  • State-of-the-Art Performance: AMAZ achieves significant improvements over existing methods in both ZSL and Generalized ZSL (GZSL) settings.
  • In ZSL, it outperforms state-of-the-art methods by up to 3.8% (on AWA2) and 3.4% (on AWA1).
  • In GZSL, it achieves 2.9%, 2.1%, 3.1%, and 1.9% improvements in harmonic mean on AWA2, AWA1, SUN, and CUB, respectively.
  • Improved Image Retrieval: In zero-shot image retrieval tasks, AMAZ outperforms competitors by up to 5% in average precision, demonstrating its ability to synthesize instances that portray real visual characteristics.
  • Ablation Studies Confirm Effectiveness: Component ablation studies show that the attribute modulation network and the weighted classifier individually contribute to performance gains. The weighted-SVM classifier, in particular, shows strong results.
  • Robustness to Hyperparameters: The model shows robust performance across a range of synthetic sample numbers and noise parameters, indicating stability.

Limitations and Future Work

  • Limitations:
    • The paper notes that while the generated samples can be more discriminative, they may still not perfectly reflect real images due to domain shift. For instance, generating features for "horse" based on "has tail" attribute might still be influenced by the "monkey" class it learned from.
  • The performance on AWA1 and AWA2 is more sensitive to parameter variations, possibly due to greater differences between seen and unseen classes.
  • The Softmax classifier was trained for fewer epochs to avoid overfitting to synthesized data, which might explain a performance gap compared to SVM-based classifiers.
  • Future Work:
    • The authors suggest extending the model to address the insufficiency of labeled data for more complex retrieval tasks, such as fine-grained image retrieval and cross-media retrieval.
  • Further exploration into improving the generation of features that more accurately capture real-world visual characteristics, especially in the presence of domain shift, would be beneficial.

Summary updated

BibTeX
@article{li2023attribute,
  author = {Yun Li and Zhe Liu and Lina Yao and Xiaojun Chang},
  title = {{Attribute-Modulated Generative Meta Learning for Zero-Shot Learning}},
  journal = {IEEE Trans. Multimedia},
  year = {2023},
  url = {https://openreview.net/forum?id=2klep-4MND},
}
Figure