Abstract
Recently, Hyper-relational Knowledge Graphs (HKGs) have been proposed as an extension of traditional Knowledge Graphs (KGs) to better represent real-world facts with additional qualifiers. As a result, researchers have attempted to adapt classical Knowledge Graph Embedding (KGE) models for HKGs by designing extra qualifier processing modules. However, it remains unclear whether the superior performance of Hyper-relational KGE (HKGE) models arises from their base KGE model or the specially designed extension module. Hence, in this paper, we data-wise convert HKGs to KG format using three decomposition methods and then evaluate the performance of several classical KGE models on HKGs. Our results show that some KGE models achieve performance comparable to that of HKGE models. Upon further analysis, we find that the decomposition methods alter the original HKG topology and fail to fully preserve HKG information. Moreover, we observe that current HKGE models are either insufficient in capturing the graph's long-range dependency or struggle to integrate main-triple and qualifier information due to the information compression issue. To further justify our findings and offer a potential direction for future HKGE research, we propose the FormerGNN framework. This framework employs a qualifier integrator to preserve the original HKG topology, and a GNN-based graph encoder to capture the graph's long-range dependencies, followed by an improved approach for integrating main-triple and qualifier information to mitigate compression issues. Our experimental results demonstrate that FormerGNN outperforms existing HKGE models.
Introduction
Traditional Knowledge Graphs (KGs) represent information as simple triplets: (Subject, Relation, Object). For example, (Albert Einstein, Educated At, University of Zurich). While effective, this format struggles to capture the nuance of real-world facts that require context. Hyper-relational Knowledge Graphs (HKGs) address this by adding qualifiers to triplets, such as (Degree: Doctorate, Major: Physics).
While specialized Hyper-relational Knowledge Graph Embedding (HKGE) models have proliferated, a fundamental question remains: is their success due to their complex qualifier modules, or simply their underlying KGE architecture? This research investigates whether standard KG models can compete with specialized HKGE models when the data is appropriately reshaped, and identifies the architectural bottlenecks—specifically limited receptive fields and information compression—that hinder current state-of-the-art approaches.
Methodology
Data-wise Decomposition
To evaluate whether specialized architectures are necessary, the researchers first attempted to convert HKGs into standard triplet formats using three decomposition methods:
- Prune: Deleting all qualifiers to create a baseline KG.
- Direct: Linking qualifiers directly to the subject entity of the main triple.
- Hyper: Creating new, specific relations by concatenating the main relation with the qualifier relation.
The FormerGNN Framework
Based on the limitations identified in existing models, the authors proposed FormerGNN, a framework designed to preserve HKG topology while capturing complex dependencies. FormerGNN consists of three primary components:
- Transformer-based Qualifier Integrator: This module captures the local topology of qualifiers without requiring data decomposition, preserving the original context of the fact.
- GNN-based Graph Encoder (NBFNet): Unlike many models that only look at immediate neighbors (1-hop), this encoder provides a wider receptive field, allowing the model to capture long-range dependencies across multiple hops in the graph.
- Joint Prediction: To solve the "information compression" problem, FormerGNN avoids squashing qualifier data into a fixed-size main triple embedding. Instead, it treats qualifiers as parallel inputs to a transformer decoder, keeping the main fact and its context distinct yet integrated during final prediction.
Experimental Setup
The study evaluated performance across four diverse HKG benchmarks:
- Cleaned JF17k & WD50k: Representative datasets with moderate qualifier density.
- Wikipeople: A dataset characterized by low qualifier density, where most facts are simple triplets.
- FBAUTO: A small-scale dataset with a limited number of unique relations.
Key Insights and Results
The Receptive Field and Compression Bottlenecks
The analysis revealed two major flaws in current HKGE models. First, many specialized models suffer from a Receptive Field Gap, looking only at the immediate fact. Standard GNN models often outperform them because they can process multi-hop structures. Second, the Compression Bottleneck occurs when models aggregate qualifier information into the fixed-size embedding of the main triple, leading to "over-squashing" where nuanced context is lost.
Performance Metrics
FormerGNN achieved state-of-the-art (SOTA) results on the primary benchmarks, demonstrating the efficacy of its joint prediction and GNN-based encoding:
- Cleaned JF17k: Achieved an Mean Reciprocal Rank (MRR) of 0.432, outperforming the previous best specialized model, HyperFormer (0.425).
- WD50k: Reached an MRR of 0.377, surpassing specialized models like StarE and QUAD.
- Wikipeople: FormerGNN remained competitive with standard KG models even in low-qualifier environments, whereas other HKG-specific models often saw performance degradation.
Conclusion
The research concludes that while decomposition methods allow classic models to be used, they often disrupt graph topology and introduce noise. The superior performance of FormerGNN suggests that the future of hyper-relational reasoning lies in architectures that can maintain a wide receptive field and avoid information compression. Future work will explore applying these insights to temporal knowledge graphs and investigating more advanced GNN encoders to further mitigate over-squashing in dense graphs.
Summary updated