Using Fictitious Class Representations to Boost Discriminative Zero-Shot Learners

Mohammed Dabbah, Ran El-YanivarXiv 2021

Abstract

Zero-Shot Learning (ZSL) aims to recognize unseen object classes by leveraging semantic descriptions. However, current models often suffer from seen-class bias and attribute correlation. We present a novel augmentation strategy that creates "fictitious classes" during training. By applying a synchronized dropout mask to both visual attribute representations and their corresponding semantic labels, we force the model to learn more robust, independent attribute features. Our approach achieves state-of-the-art performance on fine-grained datasets like CUB, reaching a harmonic mean of 74.0% in the generalized ZSL setting.

Introduction

The primary challenge in computer vision's Zero-Shot Learning (ZSL) is recognizing objects from classes never encountered during training. This is typically achieved by associating visual features with semantic attributes (e.g., "yellow feathers," "hooked beak"). Despite progress, ZSL models face two critical hurdles: seen-class bias, where models over-fit to training classes, and attribute correlation, where models fail to disentangle individual features that frequently co-occur in the training set.

Methodology

Our approach builds upon the DAZLE (Discriminative Attention-based Zero-Shot LEarning) framework. DAZLE utilizes an attention mechanism to map specific image regions to semantic attributes, as shown in the architecture overview below.

Overview of the base discriminative ZSL architecture, featuring cross-attention and bilinear layers for attribute mapping.

Fictitious Class Augmentation (FCA)

To address attribute correlation and seen-class bias, we introduce Fictitious Class Augmentation (FCA). While standard dropout randomly deactivates neurons to prevent over-reliance on specific paths, FCA applies a dropout mask $b_i$ to the visual attribute features $h_n$. Crucially, the same mask is applied to the class's semantic definition $a_i$ to create a new, "fictitious" class label $\tilde{a}_i$.

The Fictitious Class Augmentation process: applying a synchronized mask to visual features and semantic labels to create augmented training samples.

By telling the model that an image of a "Cardinal" missing its "red color" attribute is actually a new class, we force the model to explore a larger label space. This prevents the model from relying on spurious correlations and encourages the learning of independent, robust attribute representations.

Experimental Results

We evaluated our method on three benchmark datasets: CUB (birds), AWA2 (animals), and SUN (scenes). The results demonstrate significant improvements, particularly in the Generalized Zero-Shot Learning (GZSL) setting.

On the fine-grained CUB dataset, our model set a new state-of-the-art, reaching a Harmonic Mean (Hm) of 74.0% and a Zero-Shot Accuracy (T1) of 80.1%, outperforming previous top models like GEM-ZSL. Ablation studies confirmed that the addition of fictitious classes consistently provided a 2-3% accuracy boost across various backbones.

Discussion and Conclusion

A key insight from our work is the resilience of different architectures to catastrophic forgetting during fine-tuning. We found that DenseNet backbones preserve general features better than standard ResNet models due to their dense connectivity.

While FCA is highly effective for fine-grained datasets, its impact is more modest on datasets like SUN, which already possess a high class density. Future work will focus on developing training strategies that further mitigate catastrophic forgetting and exploring self-supervised methods to generate even more diverse fictitious classes. By expanding the "imagined" label space, we can build ZSL models that are truly robust to the diversity of the unseen world.

Summary updated

BibTeX
@misc{dabbah2021using,
  author = {Mohammed Dabbah and Ran El-Yaniv},
  title = {{Using Fictitious Class Representations to Boost Discriminative Zero-Shot Learners}},
  year = {2021},
  eprint = {2111.13550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.13550},
}
Figure