Global Semantic Consistency for Zero-Shot Learning

Fan Wu, Kai Tian, Jihong Guan, Shuigeng ZhouarXiv 2018

Abstract

Zero-Shot Learning (ZSL) aims to classify images from categories unseen during training by leveraging semantic embeddings. However, ZSL often suffers from the hubness problem, seen-class bias in generalized settings (GZSL), and static attribute weighting. We present GSC-Net, an end-to-end framework that enforces global semantic consistency by incorporating information about both seen and unseen classes during training. GSC-Net utilizes a non-linear neural weighting unit, a soft label embedding loss, and a novelty detection mechanism. Experimental results on SUN, AwA2, and CUB datasets demonstrate state-of-the-art performance, particularly in the GZSL setting.

Introduction

Traditional image recognition models are limited to classifying objects encountered during training. Zero-Shot Learning (ZSL) breaks this limitation by using semantic embeddings—such as attribute lists (e.g., "has wings," "is furry")—to classify images from novel categories. Despite its potential, ZSL faces three major hurdles: the "hubness problem" in high-dimensional projections, a strong bias toward seen classes in Generalized ZSL (GZSL), and the limitations of static attribute weighting.

Overview of the ZSL and GZSL paradigms, mapping visual features to semantic space for classification.

Methodology: GSC-Net

The proposed Global Semantic Consistency Network (GSC-Net) addresses these challenges through an end-to-end architecture that integrates semantic information from both seen and unseen classes during the training phase.

The GSC-Net architecture, highlighting the Neural Weighted Unit (NeWUnit) and the Global Semantic Consistency Layer.

Neural Weighted Unit (NeWUnit)

Instead of a standard linear projection, GSC-Net employs a Neural Weighted Unit. This unit consists of two parallel fully-connected layers. One layer extracts image features, while the other acts as an adaptive "gate" using a sigmoid activation. This allows the model to dynamically weight different attributes based on the specific visual content of the image, moving beyond static weighting schemes.

Global Semantic Consistency (GSC) Layer

A key innovation of GSC-Net is the GSC Layer. Unlike traditional methods that only consider seen classes during training, this layer incorporates the attribute vectors of all classes (seen and unseen). By including unseen class attributes in the final softmax layer, the model learns to reserve regions in the semantic space for novel categories, even without corresponding training images.

Soft Label Embedding Loss (SLE-Loss)

To mitigate the bias toward seen classes, the authors introduce SLE-Loss. This soft loss function encourages the model to assign high scores not only to the ground-truth seen label but also to semantically similar unseen labels. This prevents the feature extractor from overfitting exclusively to the seen-class manifold.

Parametric Novelty Detection (PND)

For GZSL tasks, a controllable hyperparameter ($\gamma$) is used to help the model distinguish between "novel" (unseen) and "known" (seen) inputs, providing a mechanism to balance the trade-off between seen and unseen class accuracy.

Experiments and Results

The model was evaluated on three benchmark datasets: SUN (Scene UNderstanding), AwA2 (Animals with Attributes 2), and CUB (CUB-200-2011).

GSC-Net achieved state-of-the-art (SOTA) results across all benchmarks. In standard ZSL, it reached 75.2% accuracy on AwA2 and 69.2% on CUB. Its performance was most notable in the GZSL setting; on the CUB dataset, the harmonic mean (balancing seen and unseen accuracy) improved significantly from approximately 34.4% in previous baselines to 55.4%.

Discussion and Conclusion

The success of GSC-Net underscores the importance of "global semantic consistency." By providing supervision via unseen class attributes during training, the model learns more discriminative and generalized representations. While the approach relies on high-quality attribute annotations, it offers a robust framework for handling the seen-class bias inherent in GZSL. Future work may explore scaling this architecture to larger class sets and adapting it for "cold start" scenarios in recommendation systems.

Summary updated

BibTeX
@misc{wu2018global,
  author = {Fan Wu and Kai Tian and Jihong Guan and Shuigeng Zhou},
  title = {{Global Semantic Consistency for Zero-Shot Learning}},
  year = {2018},
  eprint = {1806.08503},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.08503},
}
Figure