Integrating Propositional and Relational Label Side Information for Hierarchical Zero-Shot Image Classification

Colin Samplawski, Heesung Kwon, Erik G. Learned-Miller, Benjamin M. MarlinarXiv 2019

Introduction

Standard zero-shot learning (ZSL) is a challenging paradigm where models must predict classes never seen during training. Traditionally, this relies on propositional side information—attribute vectors describing features like "has fur" or "is striped." However, when applied to large-scale datasets like ImageNet, standard ZSL often suffers from low accuracy, typically ranging between 1% and 20%. A primary reason for this failure is the "flat" label space: models are forced to select a specific leaf node, even when uncertain, often leading to wildly incorrect predictions.

This paper introduces Hierarchical Zero-Shot Learning (HZSL), which leverages relational side information—the "is-a" relationships within a semantic hierarchy. By incorporating this structure, models can "hedge their bets," predicting a correct higher-level category (e.g., "mammal") when a specific breed (e.g., "beagle") cannot be determined with high confidence. This approach significantly improves the utility and reliability of zero-shot systems.

Methodology

The authors propose two primary strategies for integrating hierarchies into the ZSL framework.

1. Lifted Zero-Shot Prediction

This approach is a straightforward extension of existing ZSL models such as DeViSE or ConSE. The model first generates a fine-grained prediction at the leaf level, which is then "lifted" or projected up to a desired ancestor level within the hierarchy. This allows for evaluation at varying degrees of specificity.

2. HZSL CRF Model

A more sophisticated approach involves a Conditional Random Field (CRF) that defines a probability distribution over the entire hierarchy. The CRF integrates three distinct feature types: linear features from CNN activations, non-linear features from a two-layer neural network learning image-attribute compatibility, and label embedding features using convex combinations of training attributes.

Hierarchical label representation and vector encoding

The CRF employs a higher-order factor to ensure hierarchical consistency: predicting a specific node necessitates the implicit prediction of all its ancestors, as shown in the vector representations above.

Experimental Setup

The researchers established a benchmark using ImageNet and WordNet, creating a tree structure with 2,831 nodes. Evaluation was conducted on "2-hops" (1,549 classes) and "3-hops" (7,861 classes) subsets of ImageNet, representing increasing semantic distance from the training set. Label attribute vectors were generated using fastText word embeddings trained on Wikipedia, enabling the system to handle unseen terms and multi-word labels effectively.

Key Results and Discussion

The core of the HZSL framework lies in the Accuracy-Specificity Trade-off. There is a natural tension between being highly specific (and potentially wrong) and being broadly accurate. HZSL allows for a tunable balance along this curve using "prediction utility" functions, such as Subtree Depth Utility, which rewards the model for more specific correct ancestors.

Comparative accuracy across training, 2-hops, and 3-hops classes at different hierarchy levels

Key findings include:

  • Performance Gains: Simply lifting standard ZSL predictions improved accuracy by 10% to 35% over direct application to higher-level categories.
  • CRF Superiority: The CRF model consistently outperformed lifted models by 1% to 7% across various semantic levels, as well as baselines like Graph Convolutional Networks (GCNs).
  • Utility and Reliability: The CRF acts as a "conservative" predictor. While it may occasionally have lower top-1 accuracy on fine-grained tasks, it achieves significantly higher average utility. Its errors are "smarter," typically falling within the correct semantic path rather than picking unrelated classes.

Conclusion and Future Work

By integrating relational hierarchy into the zero-shot pipeline, the authors demonstrate a significant leap in the practical utility of ZSL systems. Future work may involve scaling the CRF to more complex graph structures beyond trees, fine-tuning the underlying ResNet101 features end-to-end within the CRF, and addressing open-set recognition challenges to reject images that do not belong to the hierarchy at all.

Summary updated

BibTeX
@misc{samplawski2019integrating,
  author = {Colin Samplawski and Heesung Kwon and Erik G. Learned-Miller and Benjamin M. Marlin},
  title = {{Integrating Propositional and Relational Label Side Information for Hierarchical Zero-Shot Image Classification}},
  year = {2019},
  eprint = {1902.05492},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.05492},
}
Figure