NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Synthesizing Samples fro Zero-shot Learning

Yuchen Guo, Guiguang Ding, Jungong Han, Yue Gao

Abstract

Zero-shot learning (ZSL) aims to construct recognition models for unseen target classes that have no labeled samples for training. It utilizes class attributes or semantic vectors as side information and transfers supervision information from related source classes with abundant labeled samples. Existing ZSL approaches typically adopt an intermediary embedding space to measure the similarity between a sample and the attributes of a target class. However, this approach often suffers from information loss during the embedding process and fails to fully utilize the data distribution. In this paper, we propose a novel approach that transforms the ZSL problem into a conventional supervised learning problem by synthesizing samples for unseen classes. We estimate the probability distribution of an unseen class using knowledge from seen classes and class attributes, synthesize samples based on this distribution, and train standard supervised classifiers. Extensive experiments on benchmarks demonstrate the superiority of our approach over state-of-the-art ZSL methods.

Introduction

Traditional Zero-shot Learning (ZSL) relies on an embedding-based framework. These methods learn to map image features and class attributes (e.g., "has stripes," "is furry") into a shared mathematical space. Classification is then performed by finding the attribute vector closest to a test image's projection.

This standard approach faces two major hurdles:

  1. Information Loss: Mapping high-dimensional image features into lower-dimensional embeddings often discards discriminative data.
  2. Distribution Neglect: Embedding methods focus on point-to-point similarity, ignoring the statistical variance and shape (distribution) of the data classes.

To overcome these, we propose shifting the paradigm from "embedding" to "imagination"—synthesizing artificial training samples for classes the model has never seen.

The Generative Framework

Our approach turns ZSL into a standard supervised learning problem through a three-step generative pipeline:

  1. Distribution Estimation: We observe that image features from the same class tend to form clusters. We assume each class follows a Gaussian distribution $N(\mu, \Sigma)$. While these parameters are known for "seen" classes, they must be estimated for "unseen" classes.
  2. Linear Reconstruction: To estimate parameters for an unseen class, the model analyzes its attributes. It finds a combination of "seen" class attributes that best reconstructs the "unseen" class attribute vector. These weights are then applied to the seen classes' visual means and covariances to "hallucinate" the distribution of the unseen class.
  3. Sample Synthesis & Training: Once the distribution is estimated, the model performs random sampling to generate thousands of synthetic visual features. A standard supervised classifier, such as a Support Vector Machine (SVM), is then trained on this augmented dataset.
Overview of the proposed generative ZSL framework, showing the transition from class attributes to synthesized data and final classification.

Experimental Evaluation

We evaluated our method on four standard ZSL benchmarks: AwA (Animals with Attributes), aPY (aPascal-aYahoo), SUN (Scene UNderstanding), and CUB (Caltech-UCSD Birds). Using features extracted from the VGG-19 deep network, our method consistently outperformed state-of-the-art embedding-based approaches:

  • AwA: Achieved 84.67% accuracy (vs. ~79% previous best).
  • aPY: Reached 55.04%.
  • SUN: Achieved 85.00%.
  • CUB: Achieved 56.75%.

Key Insights

Imagination as Supervision

Humans can imagine what an unseen object looks like based on a description. By synthesizing samples, the model effectively "sees" the unseen classes before the test phase. As shown in the t-SNE visualizations below, the synthesized samples (syn) closely overlap with the true distributions (true) of unseen classes, validating the effectiveness of our distribution estimation.

t-SNE visualization comparing true and synthesized samples for two classes across AwA and aPY datasets.

The Power of Sample Volume

In traditional ZSL, the model effectively has only one "sample" per class: the attribute vector. By synthesizing hundreds or thousands of samples, our model captures class variability, significantly boosting the generalization of the final classifier. SVMs proved particularly effective as the final classifier due to their max-margin property, which provides robustness against the slight "distribution gap" between synthetic and real data.

Conclusion

By rethinking ZSL as a data synthesis problem, we bypass the limitations of embedding spaces. Estimating class distributions via linear reconstruction allows us to leverage the power of mature supervised learning algorithms. Future work will explore more complex non-linear distribution models and transductive learning to further bridge the gap between synthesized and real-world visual features.

Summary updated

BibTeX
@inproceedings{guo2017synthesizing,
  author = {Yuchen Guo and Guiguang Ding and Jungong Han and Yue Gao},
  title = {{Synthesizing Samples fro Zero-shot Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/246},
}
Figure