Abstract
Knowledge Graph (KG) embedding has traditionally focused on simple triples, often neglecting the rich context provided by hyper-relational qualifiers and hierarchical ontological structures. We present DHGE (Dual-view Hyper-relational Knowledge Graph Embedding), a novel framework that jointly models an Instance View of specific facts and an Ontology View of abstract concepts. By leveraging Graph Relational Attention Networks (GRAN) and Hypergraph Neural Networks (HGNN), DHGE achieves state-of-the-art performance in link prediction and entity typing across general and specialized medical datasets.
Introduction
Traditional Knowledge Graphs represent information as simple (Subject, Relation, Object) triples. However, real-world data frequently involves hyper-relational facts—triples augmented with auxiliary attributes or qualifiers. For instance, the fact that Marie Curie received the Nobel Prize is more complete when including the year (1903) and her co-recipients (Pierre Curie and Antoine Henri Becquerel).
Furthermore, KGs possess a hierarchical structure where entities are instances of concepts (e.g., "Marie Curie" is an instance of "Physicist"), and concepts themselves form a taxonomy (e.g., "Physicist" is a subclass of "Scientist"). Existing hyper-relational models often "flatten" these hierarchies, losing vital semantic context. DHGE addresses this by simultaneously modeling both specific instances and their overarching ontology.
Methodology
The DHGE framework is built upon three primary pillars designed to capture both local fact patterns and global hierarchical relationships.
1. Intra-view GRAN Encoder
To process hyper-relational facts within each view, DHGE utilizes a Graph Relational Attention Network (GRAN). This encoder employs a mask-learning strategy, akin to BERT in natural language processing. By hiding specific entities within a hyper-relational fact and training the model to predict them based on surrounding qualifiers, the encoder learns robust representations of complex relational contexts.
2. Cross-view Association via HGNN
The connection between the Instance View and the Ontology View is modeled using Hypergraph Neural Networks (HGNN). This component allows the model to aggregate information from neighborhoods of related facts. By doing so, an entity's embedding is directly informed by the concepts it belongs to, ensuring that the hierarchical "type" of an entity guides its relational behavior.
3. Joint Learning Strategy
DHGE is trained using a multi-task objective function that combines losses from the Instance View, the Ontology View, and the cross-view links. This joint optimization ensures that the two views remain semantically aligned, preventing the model from drifting into disjoint representations for entities and their corresponding concepts.
Experimental Setup and Datasets
The researchers introduced two new benchmark datasets to evaluate the dual-view hyper-relational setting:
- JW44K-6K: A large-scale dataset derived from Wikidata, featuring 44,342 entities and 6,589 concepts, rich in both hyper-relational qualifiers and cross-view links.
- HTDM: A specialized medical dataset focused on hypertension. It is characterized by high-arity facts (up to 45 attributes per fact), testing the model's ability to handle extreme complexity in clinical decision support scenarios.
DHGE was benchmarked against a variety of models, including standard triple-based methods (TransE, RotatE), single-view hyper-relational models (StarE, GRAN), and dual-view triple models (JOIE).
Results and Discussion
DHGE demonstrated superior performance across all primary tasks:
- Link Prediction: On the JW44K-6K dataset, DHGE achieved a Mean Reciprocal Rank (MRR) of 0.453 in the Instance View, outperforming the previous state-of-the-art single-view model, GRAN (0.444).
- Entity Typing: The dual-view approach provided a significant advantage here, with DHGE reaching an MRR of 0.690, compared to 0.603 for the triple-based dual-view model JOIE.
- Medical Application: On the HTDM dataset, the model achieved a Hits@3 score of 0.905 in predicting medicine classes, highlighting its practical utility in healthcare.
A key insight from the ablation studies is that modeling the ontology serves as a "semantic anchor." Even for link prediction at the instance level, the abstract categories help the model understand the expected "type" of an entity for a given relation, thereby narrowing the search space and improving accuracy.
Conclusion
DHGE successfully bridges the gap between hyper-relational fact modeling and hierarchical ontological reasoning. While the results are promising, the authors note that reasoning within the Ontology View remains more challenging than at the instance level, suggesting a need for more advanced logic-based modules in future iterations. Scaling this approach to the full Wikidata and exploring multi-hop reasoning are identified as key areas for future research.
Summary updated