Abstract
Zero-Shot Learning (ZSL) addresses the challenge of recognizing object categories that were not present during training. Traditional approaches often struggle with the "seen class bias," where models incorrectly classify unseen objects as seen ones. This paper introduces f-CLSWGAN, a novel framework that generates synthetic high-level CNN features from class attributes using a Conditional Wasserstein GAN. By adding a classification loss to the generator, the model produces discriminative features that allow for standard supervised training on unseen classes. f-CLSWGAN achieves state-of-the-art performance across multiple benchmarks, particularly in Generalized Zero-Shot Learning (GZSL).
Introduction: The Zero-Shot Learning Challenge
Zero-Shot Learning (ZSL) is the task of identifying objects from categories for which no visual training data is available, relying instead on semantic descriptions like attributes or text. Two primary hurdles hinder ZSL performance:
- The Data Gap: Models trained only on "seen" classes struggle to generalize to "unseen" distributions.
- The "Seen Class" Bias: In the realistic Generalized ZSL (GZSL) setting, where the test set includes both seen and unseen classes, models are heavily biased toward seen categories.
While previous attempts used GANs to generate synthetic images, creating high-quality, discriminative pixels is computationally expensive and often lacks the fine-grained detail necessary for accurate classification.
Proposed Method: f-CLSWGAN
The authors propose a "shortcut": generating CNN features (e.g., 2048-dimensional ResNet vectors) directly rather than raw pixels. This approach captures the essence of an object without the overhead of rendering textures or backgrounds.
The f-CLSWGAN model consists of three main components:
- Conditional WGAN: A Wasserstein GAN that takes class embeddings (attributes) and noise to produce synthetic feature vectors. The WGAN framework provides training stability and prevents mode collapse.
- Classification Loss ($L_{CLS}$): This is the core innovation. A pre-trained classifier "grades" the generator, ensuring that the produced features for a specific class (e.g., "Brown Bear") are distinct enough from other classes (e.g., "Black Bear").
- Synthetic Training: Once trained on seen classes, the GAN generates an infinite supply of features for unseen classes based on their attributes. These are then used to train a standard Softmax classifier, turning ZSL into a balanced supervised learning problem.
Experimental Results
The model was evaluated on five major benchmarks: CUB (Birds), FLO (Flowers), SUN (Scenes), AWA (Animals), and ImageNet.
Key results include:
- Significant Accuracy Gains: On the FLO dataset, the GZSL harmonic mean jumped from a previous state-of-the-art of 21.9% to 65.6%.
- Fine-Grained Success: On the CUB bird dataset, GZSL performance improved from 34.4% to 49.7%.
- Scalability: On ImageNet (2H split), accuracy nearly doubled from 5.38% to 10.00%, demonstrating the model's effectiveness at scale.
Key Insights
- Features > Pixels: Abstract features are more efficient and effective for classification than raw pixels.
- Discriminative Supervision: Standard GANs only ensure "realism." The added classification loss ensures "distinctiveness," which is crucial for fine-grained tasks.
- Mitigating Bias: Synthetic data for unseen classes provides the balanced training set needed to overcome the seen-class bias in GZSL.
Conclusion and Future Work
f-CLSWGAN sets a new standard for Zero-Shot Learning by bypassing image generation in favor of feature synthesis. While highly effective, the model's performance remains dependent on the quality of semantic attributes. Future work may explore using this framework to evaluate the expressive power of different generative architectures on downstream tasks.
Summary updated