Zero-Shot Learning via Semantic Similarity Embedding

Ziming Zhang, Venkatesh Saligrama

Abstract

In this paper, we consider a version of the zero-shot learning problem where seen class source and target domain data are provided. The goal during test-time is to accurately predict the class label of an unseen target domain instance based on revealed source domain side information (e.g., attributes) for unseen classes. Our method is based on viewing each source or target data as a mixture of seen class proportions, and we postulate that the mixture patterns have to be similar if the two instances belong to the same unseen class. This perspective leads us to learning source/target embedding functions that map arbitrary source/target domain data into the same semantic space where similarity can be readily measured. We develop a max-margin framework to learn these similarity functions and jointly optimize parameters by means of cross-validation. Our test results are compelling, leading to significant improvement in terms of accuracy on most benchmark datasets for zero-shot recognition.

Introduction

Zero-Shot Learning (ZSL) addresses the challenge of recognizing objects from categories that were entirely absent during the training phase. For instance, a model might be asked to identify a "Zebra" after only being trained on "Horses" and "Striped Rugs." Traditionally, ZSL methods attempt to learn a direct mapping between visual features (pixels) and semantic attributes (textual descriptions).

However, this approach often fails due to the domain shift problem: visual attributes can manifest differently across species (e.g., "furry" looks different on a dog than on a polar bear). Furthermore, attribute annotations are frequently noisy. To overcome these hurdles, the proposed Semantic Similarity Embedding (SSE) framework shifts focus from direct attribute-to-pixel mapping to the relative relationships between classes.

Methodology: Semantic Similarity Embedding (SSE)

The SSE approach is built upon a central Key Postulate: if an unseen class (e.g., a Dog) has a similar "mixture pattern" to seen classes in the attribute domain, it should maintain a similar mixture pattern in the image domain.

Conceptual overview of SSE: representing unseen classes as mixtures of seen class proportions.

The framework utilizes two primary embedding functions:

  1. Source Domain Embedding ($\psi$): This maps class attributes into a histogram (simplex) of seen class proportions. It employs techniques from sparse coding to ensure resilience against noise.
  2. Target Domain Embedding ($\pi$): This maps raw image features (extracted via deep CNNs like VGG-19) into the same histogram space. Non-linear transformations, such as the Rectified Linear Unit (ReLU), are used to capture complex visual patterns.

Optimization Strategy

The embeddings are learned jointly using a max-margin framework. The optimization targets two goals: Distribution Alignment, ensuring the aggregate mixture of images for a class aligns with its attribute mixture, and Instance Classification, ensuring individual images are correctly categorized among known classes.

Comparison of optimization strategies: (a) distribution alignment, (b) instance classification, and (c) the proposed joint approach.

By treating seen classes as a "basis" or coordinate system, every new object is defined by its similarity to these known "anchors." This allows the model to filter out noise and focus on the most relevant class similarities.

Experimental Results

The SSE method was evaluated across five benchmark datasets: CIFAR-10, aPascal & aYahoo (aP&Y), Animals with Attributes (AwA), Caltech-UCSD Birds-2011 (CUB-2011), and SUN Attribute.

Key findings include:

  • State-of-the-Art Accuracy: SSE achieved 88.30% accuracy on CIFAR-10, significantly surpassing the previous benchmark of 72.8%.
  • Scalability: On the SUN Attribute dataset, SSE remained stable even when scaling to 700 unseen classes.
  • Feature Robustness: The use of "very deep" CNN features (VGG-19) provided superior initial class separation, further boosting performance.

Conclusion

Semantic Similarity Embedding provides a robust framework for ZSL by leveraging the relative similarities between known and unknown categories. While highly effective on general datasets, future work will focus on improving performance for fine-grained recognition (e.g., CUB-2011), where subtle species differences require even more precise source domain projections. The authors also envision extending this similarity-based approach to tasks like person re-identification and activity retrieval.

Summary updated

BibTeX
@inproceedings{zhang2015zero,
  author = {Ziming Zhang and Venkatesh Saligrama},
  title = {{Zero-Shot Learning via Semantic Similarity Embedding}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  url = {https://openreview.net/forum?id=Hy4Fc-zdZr},
}
Figure