Semantically Aligned Bias Reducing Zero Shot Learning

Akanksha Paul, Narayanan C. Krishnan, Prateek MunjalCVPR 2019

Introduction

Zero-Shot Learning (ZSL) represents a significant frontier in computer vision, aiming to recognize object categories that were never encountered during training. By leveraging semantic descriptions—such as "striped" or "four-legged"—models attempt to bridge the gap between known and unknown classes. However, ZSL is traditionally plagued by two major issues: the hubness problem, where high-dimensional mappings create misleading nearest neighbors, and seen-class bias, where models in Generalized ZSL (GZSL) settings overwhelmingly favor classes seen during training.

This paper introduces SABR (Semantically Aligned Bias Reducing), a framework designed to mitigate these challenges. By learning a semantically aligned latent space and employing generative adversarial networks (GANs) to synthesize unseen class data, SABR achieves a 1.5–14% performance boost over previous state-of-the-art methods.

Methods: A Two-Tiered Approach

The SABR framework operates in two distinct phases: latent space learning and generative feature synthesis.

The SABR framework architecture, showing the three modules for latent space learning and generative data synthesis.

Step 1: Learning the Latent Space (Module-1)

Rather than mapping visual features directly to semantic labels, SABR introduces an intermediate latent space ($\Psi$). This space is optimized for two concurrent objectives:

  • Discriminative Power: A classifier ensures that the latent representations are well-separated across different classes.
  • Semantic Alignment: A regressor forces the latent features to remain consistent with known semantic attributes. This dual constraint effectively prevents the formation of "hubs" that typically degrade ZSL performance.

Step 2: The Generative Phase (Modules 2 & 3)

With a stable latent space established, the framework utilizes Wasserstein GANs (WGANs) to "hallucinate" features for unseen classes.

  • SABR-I (Inductive): In the standard inductive setting, the model uses early stopping during GAN training. This acts as a regularizer, preventing the generator from over-fitting to the distributions of seen classes.
  • SABR-T (Transductive): When unlabeled images of unseen classes are available, SABR-T applies a "weak transfer constraint." This constraint ensures the weights of the unseen-class generator remain mathematically similar to those of the seen-class generator, facilitating knowledge transfer without over-fitting.

Experimental Setup

The model was rigorously evaluated on three benchmark datasets using the "Proposed Split" (PS) protocol to ensure no test-class leakage:

  • AWA2 (Animals with Attributes 2): 50 animal classes.
  • CUB (Caltech-UCSD Birds-200-2011): 200 fine-grained bird species.
  • SUN (Scene Understanding): 717 diverse scene categories.

Key Results and Insights

SABR demonstrates superior performance in both Conventional ZSL and Generalized ZSL scenarios.

Performance metrics (Harmonic Mean and Accuracy) across training epochs for AWA2, CUB, and SUN datasets.
  • Conventional ZSL: The model improved accuracy by 1.5–9% across all datasets.
  • Generalized ZSL (Harmonic Mean): On the CUB dataset, SABR-I reached an H-score of 56.8, a nearly 23% improvement over previous benchmarks. For AWA2, the transductive SABR-T achieved a remarkable H-score of 85.0.
  • Efficiency: Transductive results indicate that SABR-T is highly efficient, reaching peak performance with as little as 6.5% of available unlabeled data for AWA2.

The authors conclude that bias is often a training artifact. By using early stopping and a semantically aligned latent space, SABR effectively balances the recognition of seen and unseen classes, significantly reducing the inherent bias of generative ZSL models.

Limitations and Future Directions

While SABR sets new benchmarks, it relies on manually annotated attribute vectors, which may limit scalability. Future research could explore automated semantic sources like word embeddings. Additionally, the lower performance gains on the SUN dataset suggest that datasets with very few samples per class remain a challenge, potentially requiring more complex, non-linear modeling of class relationships.

Summary updated

BibTeX
@inproceedings{paul2019semantically,
  author = {Akanksha Paul and Narayanan C. Krishnan and Prateek Munjal},
  title = {{Semantically Aligned Bias Reducing Zero Shot Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00722},
}
Figure