Introduction
Traditional Knowledge Graphs (KGs) typically represent information as simple triples $(s, r, o)$, such as (Marie Curie, received, Nobel Prize). However, real-world facts are often more complex, requiring auxiliary attributes—like the year (1903) or co-recipients—to be precise. These are known as hyper-relational facts. While recent models have improved handling of these complex facts, they often overlook the hierarchical structure of knowledge (the ontology). For instance, a model might understand "Marie Curie" as an entity but fail to leverage her classification as a "physicist," which is a subclass of "scientist."
Existing methods generally follow one of two paradigms: single-view hyper-relational models that "flatten" hierarchies, or dual-view triple-based models that cannot handle facts with more than two entities. The DHGE (Dual-View Hyper-Relational Knowledge Graph Embedding) framework addresses this gap by simultaneously modeling an "instance view" for specific entities and an "ontology view" for abstract concepts.
Methodology
The DHGE model architecture consists of three core components designed to integrate the dual-view data structure:
- Intra-view GRAN Encoders: The model utilizes Graph Relational Attention Networks (GRAN) to process facts within each view. It employs a masking strategy, similar to BERT in natural language processing, where parts of a hyper-relational fact are hidden during training. The model learns to predict these missing components, effectively capturing the internal logic of complex facts.
- Hypergraph Neural Networks (HGNN): Since hyper-relational facts involve multiple entities and attributes, they are naturally represented as hypergraphs. DHGE uses HGNNs to aggregate information across these complex edges, ensuring that auxiliary attributes (e.g., the date of an award) correctly influence the representation of primary entities.
- Cross-view Association & Joint Learning: This component serves as the "glue" between views, mapping entities from the instance view to their corresponding concepts in the ontology view. A joint loss function balances learning within each view while ensuring the two views remain mathematically aligned.
Experimental Setup
The authors introduced two new benchmarks to evaluate the dual-view approach:
- JW44K-6K: Extracted from Wikidata, this dataset contains 44,000 entities and 6,000 concepts. It is currently the only hyper-relational dataset featuring a rich ontology.
- HTDM: A specialized medical dataset focused on hypertension, containing complex facts about patient medications and medical knowledge hierarchies.
Results and Discussion
DHGE was evaluated on Link Prediction (LP) and Entity Typing (ET) tasks, yielding several key insights:
- Superior Accuracy: On the JW44K-6K dataset, DHGE outperformed the previous state-of-the-art (GRAN) in link prediction. In Entity Typing, DHGE achieved a Mean Reciprocal Rank (MRR) of 0.690, significantly outperforming triple-based dual-view models like JOIE (0.603).
- Hierarchy as a Constraint: Knowing an entity's type acts as a powerful regularizer. If the model identifies "Marie Curie" as a "physicist," it is less likely to predict nonsensical relations.
- Joint Learning Necessity: Ablation studies revealed that removing the cross-view joint learning caused the most significant drop in entity typing performance, proving that inter-view communication is essential.
- Medical Utility: On the HTDM dataset, DHGE demonstrated clinical relevance by accurately predicting medication classes for patients, reaching a Hits@1 of 0.667.
Conclusion
DHGE demonstrates that bridging the gap between detailed instance-level facts and high-level conceptual hierarchies significantly enhances KG embedding performance. While Ontology Link Prediction remains a challenge due to the abstract nature of concept relations, future work will explore more sophisticated reasoning for the ontology layer and scaling to larger real-world medical datasets for zero-shot applications.
Summary updated