Disentangled Ontology Embedding for Zero-shot Learning

Yuxia Geng, Jiaoyan Chen, Wen Zhang, Yajing Xu, Zhuo Chen, Jeff Z. Pan, Yufeng Huang, Feiyu Xiong, Huajun Chen · OpenReview

TL;DR

This paper introduces DOZSL, a novel framework for Zero-Shot Learning (ZSL) that leverages ontologies by learning "disentangled" embeddings for classes. These embeddings capture different semantic aspects of a class's relationships, leading to improved performance in tasks like image classification and knowledge graph completion.

What Problem Does This Paper Address?

Zero-Shot Learning (ZSL) aims to enable models to recognize classes they haven't seen during training. A common approach is to use auxiliary information, such as Knowledge Graphs (KGs) and ontologies, to transfer knowledge from seen to unseen classes. However, existing methods often treat the relationships within KGs and ontologies too simplistically. They fail to capture the nuanced fact that a single class can be related to others in multiple, distinct ways (e.g., a "zebra" is related to "horse" through taxonomy and to "tiger" through visual attributes). This "entanglement" of semantic aspects limits the effectiveness of current ZSL models. This paper tackles this by proposing a way to disentangle these semantic aspects within ontology embeddings.

Methods

The core of the proposed solution is the Disentangled Ontology Encoder. This module learns multiple, distinct embeddings (components) for each class, where each component is designed to capture a specific semantic aspect of the class's relationships as defined by ontology properties.

Here's how it works:

  • Property-Aware Neighborhood Aggregation: For each semantic aspect (component), the encoder aggregates information from neighboring concepts in the ontology. Crucially, this aggregation is guided by the ontology properties that define the relationship between the concepts. An attention mechanism helps weigh the importance of different neighbors.
  • Property Guided Triple Scoring: To further refine the disentanglement, the model uses a triple scoring mechanism. For a given ontology triple (e.g., "Zebra" has attribute "Stripe"), it extracts the relevant component embeddings for the subject and object and uses a scoring function (like TransE) to assess their compatibility, guided by the property's embedding. This ensures each component embedding is strongly associated with a specific semantic aspect.

The disentangled embeddings are then fed into the Entangled ZSL Learner, which offers two ZSL solutions:

  1. Generation-based (GAN): A Generative Adversarial Network (GAN) is used to synthesize features for unseen classes, conditioned on their disentangled embeddings. This helps overcome the bias towards seen classes.
  2. Propagation-based (GCN): For each semantic aspect (component), a separate graph is constructed where nodes are classes and edges represent similarity between their component embeddings. A Graph Convolutional Network (GCN) then propagates information across these graphs to learn class representations.

Datasets

The paper evaluates its approach on five benchmark datasets across two ZSL tasks:

  • Zero-Shot Image Classification (ZS-IMGC):
    • Animals with Attributes (AwA)
    • ImageNet-A (ImNet-A)
    • ImageNet-O (ImNet-O)
  • Zero-Shot Knowledge Graph Completion (ZS-KGC):
    • NELL-ZS
    • Wiki-ZS

The ontologies associated with these datasets are used as auxiliary information.

Key Insights and Ideas

  • Semantic Entanglement is a Bottleneck: The core insight is that existing KG/ontology-based ZSL methods overlook the multi-faceted nature of class relationships, treating them as a single semantic unit. Disentangling these aspects is crucial for better knowledge transfer.
  • Ontology Properties as Guides: Ontology properties are not just structural elements but powerful indicators of semantic aspects. The paper effectively uses them to guide the learning of disentangled embeddings.
  • Disentangled Embeddings Improve Both Generation and Propagation: The benefits of disentangled embeddings are demonstrated across both generative (GAN) and graph propagation (GCN) ZSL paradigms, suggesting their broad applicability.
  • Component-wise Graph Construction: Creating separate semantic graphs for each disentangled component allows for more focused information propagation, capturing aspect-specific relationships.

Key Results

  • State-of-the-Art Performance: DOZSL consistently outperforms existing state-of-the-art methods on most benchmarks for both ZS-IMGC and ZS-KGC tasks. For example, on AwA and ImNet-O, DOZSL achieves the best performance across various metrics.
  • Superiority of Disentangled Embeddings: Ablation studies show that DOZSL variants using disentangled embeddings (both random initialization and aggregation-based) generally outperform baselines that use non-disentangled embeddings (like TransE or RGAT).
  • Effectiveness of Aggregation: The aggregation-based disentangled ontology encoder (DOZSL(AGG)) generally performs better than the randomly initialized one (DOZSL(RD)), highlighting the importance of leveraging neighborhood information.
  • Property Guided Scoring is Key: Replacing the proposed property-guided triple scoring with attentive triple scoring significantly degrades performance, underscoring the effectiveness of the proposed method.

Limitations and Future Work

  • Dataset-Specific Performance: While DOZSL performs well overall, it was noted that its performance was less competitive on one specific dataset, prompting further investigation into dataset-specific ontology characteristics and ZSL learner interactions.
  • Exploring Relation-Aware GNNs: The authors acknowledge the promising results of relation-aware GNNs (like RGCN) and suggest further study into propagation-based ZSL learners incorporating these.
  • Broader Applications: The paper suggests applying and evaluating DOZSL in other tasks such as open information extraction and visual question answering.
  • Investigating Component Imbalance: The paper notes that imbalanced associated triples for different properties can affect performance, suggesting future work might explore methods to handle such imbalances more robustly.

Summary updated

BibTeX
@inproceedings{geng2022disentangled,
  author = {Yuxia Geng and Jiaoyan Chen and Wen Zhang and Yajing Xu and Zhuo Chen and Jeff Z. Pan and Yufeng Huang and Feiyu Xiong and Huajun Chen},
  title = {{Disentangled Ontology Embedding for Zero-shot Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  url = {https://openreview.net/forum?id=BMjACHRlmG},
}
Figure