Semantic Disentangling Generalized Zero-Shot Learning

Zhi Chen, Ruihong Qiu, Sen Wang, Zi Huang, Jingjing Li, Zheng Zhang

Abstract

Generalized Zero-Shot Learning (GZSL) requires models to recognize unseen classes by mapping visual features to semantic attributes. A significant hurdle in this process is the "entanglement" of visual features, where deep networks extract information unrelated to the target attributes (e.g., background textures or specific ear shapes). This paper introduces Semantics Disentangling for Generalized Zero-Shot Learning (SDGZSL), a framework designed to isolate semantic-consistent features from unrelated noise. By utilizing a conditional Variational Autoencoder (cVAE) integrated with a disentangling module and a Total Correlation penalty, the model achieves state-of-the-art results on major GZSL benchmarks.

Introduction

The goal of Generalized Zero-Shot Learning is to identify objects from classes not seen during training, while maintaining performance on seen classes. This is typically achieved by learning a mapping between a high-dimensional visual space and a lower-dimensional semantic attribute space (e.g., "has stripes," "four legs").

However, standard visual features extracted from backbones like ResNet are often "noisy." They contain a wealth of information that is not captured in the official attribute annotations. For example, a model might focus on a specific ear shape to identify a "fox," but if "ear shape" is not a shared attribute, the model may fail to generalize to a "zebra" despite both having "four legs." This semantic-unrelated information acts as a distractor, causing the model to overfit to the specific visual nuances of seen classes.

Visual features often contain semantic-unrelated information like specific ear shapes that are not part of the annotated attribute list.

Methodology

The proposed SDGZSL framework addresses feature entanglement through a novel architecture combining generative modeling with explicit disentanglement.

1. Feature Generation and Disentanglement

The core of the model is a conditional Variational Autoencoder (cVAE) that synthesizes visual features for unseen classes. The innovation lies in the Disentangling Module, which splits an input visual feature into two independent latent vectors:

  • $h_s$ (Semantic-consistent): Encodes information that aligns with the annotated attributes.
  • $h_n$ (Semantic-unrelated): Captures the remaining visual information, such as background or non-attribute morphological details.

2. Total Correlation (TC) Penalty

To ensure that $h_s$ and $h_n$ are truly distinct, the authors apply a Total Correlation (TC) penalty. This information-theoretic constraint forces the two representations to be statistically independent, preventing semantic information from leaking into the "noise" vector.

3. Semantic Anchoring

A Relation Module ($R$) is employed to calculate the compatibility between the semantic-consistent vector $h_s$ and the actual class attributes. This module acts as an anchor, ensuring that $h_s$ specifically captures the information required for classification based on the attribute list. A reconstruction loss is also used to ensure that the combination of $h_s$ and $h_n$ can still represent the original visual feature.

Experiments and Results

The SDGZSL model was evaluated on four standard benchmarks: aPaY, AwA2, CUB, and FLO.

Performance Metrics

The primary metric used is the Harmonic Mean (H), which balances accuracy on seen and unseen classes. SDGZSL demonstrated superior performance across the board:

  • CUB: Achieved an H-score of 63.0%, rising to 75.1% with a fine-tuned backbone, outperforming previous state-of-the-art models like TF-VAEGAN.
  • AwA2: Showed significant improvements in reducing misclassifications between visually similar classes (e.g., distinguishing horses from sheep).

Key Insights

The experiments confirmed that the disentangled $h_s$ vector provides a "cleaner" and more robust representation for classification than the original entangled features. Furthermore, the model showed enhanced performance in zero-shot image retrieval tasks, indicating that the disentangled features are more semantically meaningful.

Conclusion

SDGZSL provides a robust solution to the feature entanglement problem in Generalized Zero-Shot Learning. By explicitly separating semantic-consistent information from unrelated visual noise through a Total Correlation penalty and a dedicated disentangling module, the framework improves generalization to unseen classes. While challenges remain for extremely similar categories (e.g., seals vs. walruses), the success of SDGZSL highlights the importance of feature purity in cross-modal learning tasks.

Summary updated

BibTeX
@inproceedings{chen2021semantic,
  author = {Zhi Chen and Ruihong Qiu and Sen Wang and Zi Huang and Jingjing Li and Zheng Zhang},
  title = {{Semantic Disentangling Generalized Zero-Shot Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00859},
}
Figure