HAHE: Hierarchical Attention for Hyper-Relational Knowledge Graphs in Global and Local Level

Haoran Luo, Haihong E, Yuhao Yang, Yikai Guo, Mingzhi Sun +5 more
5/11/2023
cs.AIcs.LG

No official code found. Best implementation: LHRLAB/HAHE (28 stars, MIT, last commit 2025-08-18).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

LHRLAB/HAHECommunity100%
MIT

[ACL 2023] Official resources of "HAHE: Hierarchical Attention for Hyper-Relational Knowledge Graphs in Global and Local Level".

284Shell, PythonMay 10, 20231 years agoMIT
global-localhierarchical-attentionhyper-relational-knowledge-graphhypergraph-neural-networkslink-prediction+1 more

Similar Papers

Cite this paper

@article{luo2023hahe,
  title  = {HAHE: Hierarchical Attention for Hyper-Relational Knowledge Graphs in Global and Local Level},
  author = {Haoran Luo and Haihong E and Yuhao Yang and Yikai Guo and Mingzhi Sun and Tianyu Yao and Zichen Tang and Kaiyang Wan and Meina Song and Wei Lin},
  year   = {2023},
  eprint = {2305.06588},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06588v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.06588.svg)](https://codeofpaper.com/paper/2305.06588)

Discussion