Abstract This paper introduces KG-GAN, a novel framework designed to enhance Zero-Shot Learning (ZSL) by integrating structured knowledge graphs into generative models. Traditional ZSL methods often struggle with the "semantic gap" and the "hubness problem," where models fail to distinguish between similar unseen classes. KG-GAN addresses these issues by using Graph Convolutional Networks to learn class embeddings from both taxonomic hierarchies and visual attributes. These embeddings guide a Wasserstein GAN to synthesize realistic visual features for unseen classes, enabling the training of robust classifiers. Experimental results on new ImageNet-derived benchmarks demonstrate that KG-GAN achieves state-of-the-art performance in both standard and generalized ZSL settings.
1. Introduction
In standard supervised learning, models operate under a "closed world" assumption, recognizing only the classes present in their training data. Zero-Shot Learning (ZSL) aims to break this limitation, requiring models to identify "unseen" classes by leveraging side information, such as textual descriptions or attribute lists. For instance, a model might be tasked with identifying a "zebra" after only being trained on "horses" and "tigers."
Despite recent progress, ZSL faces two primary hurdles:
- The Semantic Gap: Coarse semantic representations (like simple word vectors) often lack the granularity to differentiate between closely related sibling classes.
- The Hubness Problem: Mapping visual features into a semantic space often causes diverse classes to cluster into "hubs," leading to high misclassification rates.
2. Methodology: The KG-GAN Framework
KG-GAN proposes that structured knowledge can provide the necessary context to bridge these gaps. The framework consists of two distinct phases: Knowledge Graph Embedding and Feature Generation.
2.1 Knowledge Graph Embedding
The researchers construct a Knowledge Graph (KG) with two complementary views:
- Class View: Captures the hierarchical relationships (e.g., a "Husky" is a "Dog," which is a "Canine").
- Attribute View: Links classes to specific physical traits (e.g., "has stripes," "pointed ears").
Using Graph Auto-Encoders (GAEs) and Graph Convolutional Networks (GCNs), the model processes this graph to produce a high-dimensional "class embedding" that encodes both the class's position in the taxonomy and its physical characteristics.
2.2 Feature Generation via GAN
Rather than generating raw pixels, KG-GAN utilizes a Wasserstein GAN to synthesize visual feature vectors (extracted from a pre-trained ResNet101). The Generator takes the KG embedding and random noise to "hallucinate" features for unseen classes, while the Discriminator ensures these features match the distribution of real image data. A classification loss is integrated to ensure the generated features remain discriminative.
3. Experimental Evaluation
To test the framework, the authors introduced two new benchmarks derived from ImageNet:
- ImNet-A: Focused on 80 animal classes (25 seen, 55 unseen).
- ImNet-O: Focused on 35 general object classes (10 seen, 25 unseen).
The authors manually annotated these subsets with 76 and 38 attributes, respectively, linking them to the WordNet taxonomy to build the required Knowledge Graphs.
4. Results and Discussion
KG-GAN significantly outperformed existing state-of-the-art baselines like DeViSE, SYNC, and DGP. On the ImNet-A dataset, the model achieved a 39.24% Hit@1 accuracy, representing a 6.17% improvement over previous methods.
Key insights from the study include:
- Semantics over Regularization: Providing rich, structured input (KG embeddings) proved more effective than adding complex mathematical constraints to the GAN's loss function.
- Multi-View Synergy: The combination of Attribute and Class views was essential; the Attribute View provided discriminative power, while the Class View facilitated knowledge transfer across the hierarchy.
- Mitigating Bias: In Generalized ZSL (GZSL), where models must identify both seen and unseen classes, KG-GAN showed a much higher Harmonic Mean (H-score). By generating synthetic training data for unseen classes, the model effectively balances the classifier, preventing it from defaulting solely to seen categories.
5. Conclusion
KG-GAN demonstrates that structured knowledge graphs are a powerful tool for generative zero-shot learning. While the model excels at recognizing unseen classes, future work will focus on automating the extraction of knowledge from external sources to reduce the need for manual attribute annotation and exploring more advanced GAN architectures to further refine the synthesized visual features.
Summary updated