Understanding the Embedding Models on Hyper-relational Knowledge Graph

Yubo Wang, Shimin Di, Zhili Wang, Haoyang Li, Fei Teng, Hao Xin, Lei Chen

TL;DR

This paper investigates whether the performance of specialized Hyper-relational Knowledge Graph Embedding (HKGE) models stems from their unique architectures or simply their base Knowledge Graph (KG) components. By proposing a new framework called FormerGNN, the authors demonstrate that capturing long-range dependencies and avoiding "information compression" are the real keys to state-of-the-art performance in hyper-relational reasoning.

What Problem Does This Paper Address?

Traditional Knowledge Graphs (KGs) store facts as simple triplets: (Subject, Relation, Object), such as (Albert Einstein, Educated At, University of Zurich). However, real-world facts are often more complex. Hyper-relational Knowledge Graphs (HKGs) add qualifiers to these triplets to provide context, such as (Degree: Doctorate, Major: Physics).

While many specialized HKGE models have been developed to handle these qualifiers, it hasn't been clear if their complexity is actually necessary. Do they perform well because of their "qualifier modules," or would a standard KG model perform just as well if we simply reshaped the data? The authors tackle this by systematically comparing specialized models against standard ones and identifying the architectural bottlenecks—specifically limited receptive fields and information compression—that hold current models back.

Methods

The authors approach the problem from two angles:

  1. Data-wise Decomposition: They developed three methods to convert HKGs back into standard triplet formats so they could test "classic" KG models:
  2. Prune: Simply delete all qualifiers (the baseline).
  3. Direct: Link qualifiers directly to the subject entity.
  4. Hyper: Create new, specific relations that concatenate the main relation with the qualifier relation.
  5. FormerGNN Framework: To address the flaws found in existing models, they proposed a new architecture that combines:
  6. Transformer-based Qualifier Integrator: Captures the local topology of qualifiers without needing to decompose the data.
  7. GNN-based Graph Encoder (NBFNet): Provides a wide "receptive field," allowing the model to see many "hops" away in the graph to capture long-range dependencies.
  8. Joint Prediction: Instead of "squashing" qualifier information into the main triple's embedding (which causes data loss), FormerGNN keeps them separate and uses them jointly for the final prediction.

Datasets

The study evaluates models across four diverse HKG benchmarks:

  • Cleaned JF17k & WD50k: The most representative datasets with moderate qualifier density.
  • Wikipeople: A dataset where most facts are simple triplets (low qualifier density).
  • FBAUTO: A small-scale dataset with a very limited number of unique relations.

Key Insights and Ideas

  • The Receptive Field Gap: Many specialized HKGE models only look at a "1-hop" neighborhood (the immediate fact). The authors found that standard GNN models (like NBFNet) often outperform specialized models simply because they can "see" further into the graph's multi-hop structure.
  • The Compression Bottleneck: Most current models try to aggregate qualifier information into the fixed-size embedding of the main triple. This leads to "over-squashing," where the nuances of the qualifiers are lost because the model is trying to squeeze too much information into a small mathematical "box."
  • Decomposition is a Double-Edged Sword: While converting HKGs to standard triplets allows us to use powerful classic models, it often disrupts the graph's original topology and introduces noise, which can actually hurt performance on complex datasets.
  • Jointness Matters: The "Aha!" moment of FormerGNN is that you don't need to merge qualifiers into the main relation. By treating them as parallel inputs to a transformer decoder, you preserve the integrity of both the main fact and its context.

Key Results

FormerGNN achieved state-of-the-art (SOTA) results on the primary benchmarks:

  • Cleaned JF17k: Achieved an MRR of 0.432, outperforming the previous best specialized model (HyperFormer at 0.425) and standard GNNs.
  • WD50k: Reached an MRR of 0.377, again surpassing specialized models like StarE and QUAD.
  • Robustness: On Wikipeople (which lacks many qualifiers), FormerGNN remained competitive with standard KG models, whereas other HKG-specific models saw their performance degrade.

Limitations and Future Work

The authors note that on extremely small or relation-sparse datasets like FBAUTO, simpler models (like QUAD) can still occasionally take the lead because complex architectures like FormerGNN may overfit.

Future research directions suggested include:

  • Exploring even more advanced GNN encoders as the "base" for FormerGNN.
  • Investigating how to better handle "over-squashing" in extremely dense hyper-relational graphs.
  • Applying these insights to temporal knowledge graphs where qualifiers often represent time intervals.

Summary updated

BibTeX
@inproceedings{wang2025understanding,
  author = {Yubo Wang and Shimin Di and Zhili Wang and Haoyang Li and Fei Teng and Hao Xin and Lei Chen},
  title = {{Understanding the Embedding Models on Hyper-relational Knowledge Graph}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3761370},
}

Loading related content...

Figure