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

Learning a Deep Embedding Model for Zero-Shot Learning

Li Zhang, Tao Xiang, Shaogang Gong

Abstract

Zero-Shot Learning (ZSL) typically involves mapping visual features into a semantic space to recognize unseen categories. However, this conventional approach often leads to the "hubness problem," where a few semantic prototypes become universal nearest neighbors, degrading classification accuracy. This paper introduces an end-to-end deep embedding model that maps semantic descriptions into the visual feature space. By optimizing the entire pipeline jointly and selecting a more robust embedding direction, the proposed framework significantly reduces hubness and sets new performance benchmarks on AwA, CUB, and ImageNet datasets.

Introduction

The core challenge of Zero-Shot Learning is generalizing from seen to unseen classes using auxiliary semantic information, such as attributes or word embeddings. Most existing research focuses on learning a projection from the visual space to the semantic space. The authors identify two critical flaws in this paradigm: the lack of end-to-end feature learning and the prevalence of the hubness problem. Hubness occurs because projecting high-variance visual features into a lower-variance semantic space causes the data distribution to "shrink," making a few class prototypes appear deceptively close to many unrelated samples.

Proposed Architecture

The authors propose a dual-branch deep neural network designed for end-to-end optimization. The Visual Branch utilizes a Convolutional Neural Network (CNN) to extract high-dimensional features directly from raw images. Simultaneously, the Semantic Branch projects category-level semantic vectors into the same visual feature space.

The proposed end-to-end ZSL architecture, featuring visual and semantic branches with support for single modality, multi-modality, and RNN-based text encoding.

The architecture is highly flexible, supporting various semantic inputs:

  1. Single Modality: Standard attribute vectors or word embeddings.
  2. Multiple Modality: Fusion of different semantic sources (e.g., attributes + word2vec).
  3. RNN Encoding: A Bidirectional LSTM to process raw textual descriptions into semantic representations.

Mitigating the Hubness Problem

The most significant contribution of this work is the theoretical and empirical justification for mapping Semantic → Visual (S → V) rather than the reverse. In high-dimensional spaces, the S → V mapping preserves the variance of the visual features, whereas V → S mapping tends to collapse the distribution, creating "hubs."

Comparison of embedding directions: (a) Semantic-to-Visual (S → V) preserves the data distribution, while (b) Visual-to-Semantic (V → S) leads to a more clustered distribution prone to hubness.

By using a simple least-squares loss function within this S → V framework, the model ensures that projected semantic prototypes remain distinct and representative of their respective visual clusters.

Experimental Results

The model was evaluated on four major ZSL benchmarks, consistently outperforming previous state-of-the-art methods:

  • Animals with Attributes (AwA): Achieved 88.1% accuracy, a significant improvement over the previous 80% benchmark.
  • CUB Birds: Reached 59.0% accuracy using fine-grained text descriptions.
  • ImageNet: Demonstrated scalability on a massive scale, achieving 46.7% hit@5 accuracy on ImageNet 2010.

An ablation study further confirmed the hypothesis: switching the embedding direction from visual back to semantic resulted in a staggering 26.1% drop in accuracy on the AwA dataset.

Conclusion

This research demonstrates that the choice of embedding space is a fundamental factor in ZSL performance. By flipping the mapping direction to the visual space and employing end-to-end deep learning, the proposed model effectively addresses the hubness problem. This simple yet powerful shift, combined with the ability to fuse multiple semantic modalities, provides a robust framework for large-scale zero-shot recognition.

Summary updated

BibTeX
@inproceedings{zhang2017learning,
  author = {Li Zhang and Tao Xiang and Shaogang Gong},
  title = {{Learning a Deep Embedding Model for Zero-Shot Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.321},
}
Figure