Zero-Shot Learning (ZSL) is a challenging computer vision task where models must recognize objects from classes never seen during training. This is achieved by leveraging auxiliary "side information," typically semantic attributes like "yellow bill" or "striped wings," to bridge the gap between seen and unseen categories. This paper, presented at IJCAI-22, introduces SC-EGG (Semantic Compression Embedding Guided Generation), a framework that rethinks the target space for generative ZSL.
The Challenge: Semantically Poor Visual Features
Recent advances in ZSL have shifted toward generative models. These methods train a generator to synthesize "fake" visual features for unseen classes based on their semantic attributes. However, these models typically target visual features extracted from standard pre-trained backbones like ResNet101.
The authors argue that these raw CNN features are often "semantically poor." While they capture general shapes, they often fail to represent the fine-grained attributes necessary to distinguish between similar species. This leads to overlapping class distributions in the visual space, making it difficult for the generator to learn a clear mapping from attributes to visual representations.
The SC-EGG Framework
To address this, SC-EGG explicitly extracts attribute-level local features and compresses them into a "dense-semantic" visual space. This provides a much clearer and more discriminative target for the generative model. The architecture consists of two primary components: the Semantic Compression Embedding Network (SCEN) and the Embedding Guided Generative Network (EGGN).
1. Semantic Compression Embedding Network (SCEN)
The SCEN is designed to transform raw region features into a structured global embedding.
- Local Embedding Network (LEN): Uses an attention mechanism to align specific image regions with corresponding attributes. This ensures that the visual feature for a "yellow bill" is derived from the actual bill area of the bird.
- Global Embedding Network (GEN): Compresses these attribute-aligned local features into a lower-dimensional global feature vector ($g$).
- Semantic Consistent Regression ($L_{SCR}$): This key novelty forces the global feature to remain consistent with the local attribute-level information, effectively filtering out non-semantic noise (like background pixels) and creating the "dense-semantic" visual space.
2. Embedding Guided Generative Network (EGGN)
The EGGN is the generative component, built upon the TF-VAEGAN architecture. Instead of mapping class attributes to noisy ResNet features, it learns to synthesize features within the refined, compressed space created by the SCEN. An Embedding Guided Synthesis Loss ($L_{EGS}$) uses a shared classifier to ensure that synthesized features are highly discriminative and generalize well to unseen classes.
Experimental Results
The model was evaluated on three standard ZSL benchmarks: CUB (birds), SUN (scenes), and AWA2 (animals). SC-EGG achieved state-of-the-art (SOTA) performance, particularly in the Generalized Zero-Shot Learning (GZSL) setting, where the model must identify both seen and unseen classes simultaneously.
- CUB: Achieved a Harmonic Mean (H) of 68.5%, outperforming the previous SOTA by 5.5%.
- AWA2: Reached an H of 72.4%, a significant improvement over traditional generative methods.
Qualitative analysis using t-SNE visualizations confirmed that features in the "Dense-Semantic Visual Space" are much more tightly clustered and better separated by class compared to standard CNN backbone features.
Conclusion
SC-EGG demonstrates that the quality of the target visual space is just as critical as the generator's architecture in ZSL. By "cleaning up" the visual space to be more semantically relevant through local-global consistency and compression, the task of synthesizing discriminative features for unseen classes becomes significantly more effective. Future work may explore the use of Vision Transformers (ViTs) to further enhance the local-global attention mechanisms within the SCEN component.
Summary updated