HAHE: Hierarchical Attention for Hyper-Relational Knowledge Graphs in Global and Local Level
About
Link Prediction on Hyper-relational Knowledge Graphs (HKG) is a worthwhile endeavor. HKG consists of hyper-relational facts (H-Facts), composed of a main triple and several auxiliary attribute-value qualifiers, which can effectively represent factually comprehensive information. The internal structure of HKG can be represented as a hypergraph-based representation globally and a semantic sequence-based representation locally. However, existing research seldom simultaneously models the graphical and sequential structure of HKGs, limiting HKGs' representation. To overcome this limitation, we propose a novel Hierarchical Attention model for HKG Embedding (HAHE), including global-level and local-level attention. The global-level attention can model the graphical structure of HKG using hypergraph dual-attention layers, while the local-level attention can learn the sequential structure inside H-Facts via heterogeneous self-attention layers. Experiment results indicate that HAHE achieves state-of-the-art performance in link prediction tasks on HKG standard datasets. In addition, HAHE addresses the issue of HKG multi-position prediction for the first time, increasing the applicability of the HKG link prediction task. Our code is publicly available.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Link Prediction | WikiPeople | MRR49.8 | 24 | |
| Hyper-Relational Link Prediction | JFFI100 V2 | H/T Score0.3128 | 22 | |
| Link Prediction | WD50K | MRR0.378 | 22 | |
| Hyper-Relational Link Prediction | JFFI100 V1 | H/T Metric34.01 | 22 | |
| Hyper-Relational Link Prediction | WD20K66 V2 | H/T Score32.64 | 19 | |
| Hyper-Relational Link Prediction | WD20K33 V1 | H/T Score0.2217 | 19 | |
| Hyper-Relational Link Prediction | WD20K100 V2 | H/T Ratio22.17 | 19 | |
| Hyper-Relational Link Prediction | WD20K66 V1 | MRR (H/T)0.0217 | 19 | |
| Hyper-Relational Link Prediction | JFFI V1 | MRR (H/T)0.0677 | 18 | |
| Hyper-Relational Link Prediction | WD20K100 V1 | -- | 15 |