TL;DR
This paper introduces CE-GZSL, a novel hybrid framework for Generalized Zero-Shot Learning (GZSL) that combines feature generation with a new contrastive embedding approach. By leveraging both instance-wise and class-wise supervision in a learned embedding space, CE-GZSL significantly improves recognition accuracy on unseen classes, outperforming state-of-the-art methods on several benchmarks.
What Problem Does This Paper Address?
Generalized Zero-Shot Learning (GZSL) aims to recognize objects from both seen and unseen classes, a challenging task because models are typically trained only on seen classes. A major hurdle is the data imbalance between seen and unseen classes, where unseen classes have no training examples. While feature generation methods have been proposed to synthesize missing visual features for unseen classes, they often operate in the original visual feature space, which the authors argue is suboptimal for GZSL due to a lack of discriminative information. Existing GZSL methods also tend to neglect instance-wise supervision, focusing primarily on class-level information.
Methods
The proposed CE-GZSL framework is a hybrid approach that integrates a feature generation model with an embedding model.
- Hybrid Framework: The core idea is to map both real seen features and synthetically generated unseen features into a new, learned embedding space. The final GZSL classification is then performed in this embedding space, rather than the original visual or semantic space.
- Feature Generation: A standard conditional generative model (like a GAN) is used to synthesize visual features for unseen classes, conditioned on their semantic descriptors.
- Contrastive Embedding (CE): This is the main novelty. Instead of traditional semantic embedding, CE leverages both:
- Instance-level Contrastive Embedding: This component learns to distinguish between a positive sample (an instance's embedding) and a set of negative samples (embeddings of instances from different classes). It uses a (K+1)-way classification loss on projected embeddings.
- Class-level Contrastive Embedding: This component uses a comparator network to measure the relevance between an instance's embedding and semantic descriptors. It then employs an S-way classification loss to ensure the correct class-level semantic descriptor is selected for an instance's embedding.
- Instance-wise Supervision: The instance-level contrastive embedding specifically addresses the neglect of instance-wise supervision in prior work.
The overall loss function combines the adversarial loss for feature generation with the instance-level and class-level contrastive embedding losses.
Datasets
The authors evaluate their method on five standard GZSL benchmark datasets:
- Animals with Attributes 1 & 2 (AWA1, AWA2)
- Caltech-UCSD Birds-200-2011 (CUB)
- Oxford Flowers (FLO)
- SUN Attribute (SUN)
They use the standard "Proposed Split" (PS) for dividing classes into seen and unseen sets.
Key Insights and Ideas
- Embedding Space Matters: The original visual feature space is suboptimal for GZSL. Mapping features into a learned embedding space, distinct from the semantic descriptor space, significantly improves performance.
- Instance-wise Supervision is Crucial: Traditional GZSL methods often overlook instance-level relationships. Incorporating instance-wise contrastive learning alongside class-wise supervision leads to more discriminative embeddings and better GZSL performance.
- Hybridization is Key: Combining the strengths of feature generation (to address data imbalance) with a powerful embedding strategy (to learn discriminative representations) is a highly effective approach for GZSL.
Key Results
- CE-GZSL achieves state-of-the-art results on three out of five benchmark datasets and competitive results on the other two.
- Specifically, it outperforms the previous best method (IZF) by a significant margin on AWA1, CUB, and FLO.
- The method shows strong performance in both GZSL (harmonic mean of seen and unseen accuracy) and conventional ZSL settings.
- Component analysis demonstrates that the hybrid strategy, the new embedding space, and the contrastive embedding all contribute to performance gains.
Limitations and Future Work
- Hyperparameter Sensitivity: While the paper shows the method is robust to temperature parameters, the optimal values for synthesized instances per class vary across datasets, suggesting potential for further tuning or adaptive strategies.
- Computational Cost: The paper notes that higher embedding dimensions improve performance but increase computational burden, indicating a trade-off that might need careful consideration for real-time applications.
- Future Work: The authors implicitly suggest exploring more advanced generative models and potentially more sophisticated contrastive learning strategies to further push the boundaries of GZSL performance. The current work provides a strong foundation for future research in this area.
Summary updated