Hyperbolic Visual Embedding Learning for Zero-Shot Recognition

Shaoteng Liu, Jingjing Chen, Liangming Pan, Chong-Wah Ngo, Tat-Seng Chua, Yu-Gang Jiang

Introduction

Zero-Shot Learning (ZSL) aims to recognize objects from categories not seen during training by leveraging semantic descriptions, such as word vectors. Despite its potential, standard ZSL faces significant challenges in large-scale settings. Most existing models map images into a flat Euclidean semantic space, which fails to capture the inherent hierarchical structure of the real world. For instance, an "Arctic Ground Squirrel" is a specific type of "Ground Squirrel," which in turn belongs to the broader "Squirrel" family.

Example of a Rock Squirrel, a sibling class in the squirrel hierarchy that Euclidean models often confuse with others.

Euclidean models often struggle with "The Hierarchy Gap," leading to confusion between sibling classes—such as mistaking a Red Squirrel for a Rock Squirrel—rather than defaulting to a correct parent category. This paper proposes a framework that is "gracefully wrong": if the exact species cannot be identified, the model should prioritize predicting the correct ancestor.

Methodology: Embedding in Hyperbolic Space

The core innovation of this work is the transition from Euclidean to Hyperbolic Space, specifically utilizing the Poincaré Ball model. Hyperbolic geometry is naturally suited for representing hierarchical data because its space expands exponentially toward the edge of the ball, mirroring the branching factor of trees.

Hyperbolic Label Embeddings

The framework integrates two types of information into a single hyperbolic vector:

  1. Structural Information: Poincaré embeddings are used to capture the explicit WordNet hierarchy.
  2. Semantic Information: The authors adapt the GloVe algorithm to hyperbolic space (Poincaré GloVe) to incorporate word co-occurrence relationships.

Hyperbolic Visual Mapping

To align visual features with these semantic embeddings, the authors employ a multi-step pipeline. Euclidean features extracted via a standard ResNet-101 are projected onto the hyperbolic manifold using an Exponential Map. To perform neural network operations within this non-Euclidean space, the model utilizes Möbius transformations, which are hyperbolic analogues to standard linear layers.

An Arctic Ground Squirrel, illustrating the fine-grained hierarchical categories the model must distinguish.

Training Objective

The model is optimized using a Hyperbolic Rank Loss. This loss function minimizes the Poincaré distance between an image and its ground-truth class label while maximizing the distance to negative samples.

Experimental Evaluation

The model was evaluated on the massive ImageNet dataset, training on 1,000 categories and testing on three sets of unseen classes: "2-hops" (1,589 classes), "3-hops" (7,860 classes), and "All" (20,841 classes).

Key Results and Insights

  • Hierarchical Robustness: The hyperbolic model significantly outperformed baselines in hierarchical evaluation. On the "All" dataset, it achieved a 5.1% Hit@1, more than doubling the performance of the GCNZ baseline (2.2%).
  • Stability at Scale: While competing models saw performance plummet as the number of unseen classes increased (e.g., DGP dropping from 26.2% to 6.0%), the hyperbolic approach remained remarkably stable.
  • Dimensional Efficiency: Due to the geometric fit, the model achieves superior results with only 200 dimensions, whereas Euclidean models typically require over 1,000. In extreme low-dimension tests (10D), the hyperbolic model maintained an 8.3% Hit@1 on the 2-hops set, while Euclidean counterparts failed to converge.
  • Geometric Advantage: In hyperbolic space, a leaf node is mathematically closer to its parent than to its siblings. This property ensures that uncertainty leads to predictions of correct ancestor classes rather than unrelated siblings.

Conclusion

By leveraging hyperbolic geometry, this framework effectively bridges the hierarchy gap in Zero-Shot Learning. The Poincaré Ball's ability to naturally represent tree-like structures allows for more robust, dimensionally efficient, and "gracefully wrong" predictions. Future work may involve training visual backbones directly in hyperbolic space to further optimize the mapping process.

Summary updated

BibTeX
@inproceedings{liu2020hyperbolic,
  author = {Shaoteng Liu and Jingjing Chen and Liangming Pan and Chong-Wah Ngo and Tat-Seng Chua and Yu-Gang Jiang},
  title = {{Hyperbolic Visual Embedding Learning for Zero-Shot Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00929},
}
Figure