Universal Representation Learning of Knowledge Bases by Jointly Embedding Instances and Ontological Concepts

Junheng Hao, Muhao Chen, Wenchao Yu, Yizhou Sun, Wei Wang

Introduction

Knowledge Graph (KG) embedding has traditionally focused on modeling relational facts between entities as a flat collection of triples. However, real-world knowledge bases like DBpedia and YAGO possess a dual-layered structure: an Instance View containing specific facts about entities, and an Ontology View defining abstract concepts and meta-relations.

The dual-layered structure of knowledge bases, showing the Instance-view and Ontology-view connected by type links.

Standard models often ignore the rich semantic information residing in the ontology. JOIE (Jointly Embedding Instances and Ontological Concepts) addresses this by learning unified representations that bridge the gap between these two layers, allowing information to flow between specific instances and abstract categories.

The JOIE Framework

JOIE consists of two primary components designed to capture both internal structures and cross-layer associations.

Cross-view Association

To link the instance and ontology spaces, the authors explored two distinct techniques:

  1. Cross-view Grouping (CG): This approach forces entities and their corresponding concepts into a shared embedding space, minimizing the distance between them.
  2. Cross-view Transformation (CT): This more flexible method employs a non-linear affine transformation to map entity embeddings into the concept space.
Comparison between Cross-view Grouping (CG) and Cross-view Transformation (CT) for associating instances with concepts.

Empirical results indicate that CT consistently outperforms CG. While grouping can lead to "crowding" in the embedding space due to the vast difference in scale between instances and concepts, transformation allows each view to maintain its optimal dimensionality and topological nuance.

Intra-view Modeling and Hierarchy Awareness

Within each view, JOIE utilizes established embedding techniques (e.g., TransE, DistMult) to model relational triples. To specifically handle the hierarchical nature of ontologies (e.g., Singer is a subclass of Artist), a specialized Hierarchy-Aware (HA) Encoding is introduced. This ensures that vertical "is_a" relationships are preserved geometrically within the ontology space.

Experimental Results and Insights

The model was evaluated on two newly curated datasets, YAGO26K-906 and DB111K-174, which provide explicit ontological structures missing from standard benchmarks like FB15k.

  • Knowledge Graph Completion: JOIE achieved significant gains over flat models, improving Mean Reciprocal Rank (MRR) by an average of 6.8% and Hit@10 by 14.8%.
  • The Long-Tail Advantage: One of JOIE's most striking features is its robustness for rare entities. While standard models struggle with entities that appear infrequently, JOIE leverages the associated abstract concepts to maintain high performance, seeing only a ~12% drop compared to the >20% drop observed in baselines.
  • Entity Typing: JOIE achieved massive improvements in predicting the category of an entity, outperforming the best baseline (MTransE) by 15.4% in accuracy on the YAGO dataset.

Conclusion

By treating the ontology as a structural regularizer, JOIE provides a more holistic approach to knowledge representation. It not only improves standard KG tasks but also offers a powerful solution for the long-tail entity problem. Future work will look into incorporating higher-order graph structures and explicit alignment between instance-level and ontology-level relations.

Summary updated

BibTeX
@inproceedings{hao2019universal,
  author = {Junheng Hao and Muhao Chen and Wenchao Yu and Yizhou Sun and Wei Wang},
  title = {{Universal Representation Learning of Knowledge Bases by Jointly Embedding Instances and Ontological Concepts}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2019},
  doi = {10.1145/3292500.3330838},
}
Figure