HGE: Embedding Temporal Knowledge Graphs in a Product Space of Heterogeneous Geometric Subspaces

Jiaxin Pan, Mojtaba Nayyeri, Yinan Li, Steffen Staab
12/21/2023
cs.AI

No official code found. Best implementation: NacyNiko/HGE (10 stars, last commit 2025-08-04).

Abstract

Temporal knowledge graphs represent temporal facts $(s,p,o,τ)$ relating a subject $s$ and an object $o$ via a relation label $p$ at time $τ$, where $τ$ could be a time point or time interval. Temporal knowledge graphs may exhibit static temporal patterns at distinct points in time and dynamic temporal patterns between different timestamps. In order to learn a rich set of static and dynamic temporal patterns and apply them for inference, several embedding approaches have been suggested in the literature. However, as most of them resort to single underlying embedding spaces, their capability to model all kinds of temporal patterns was severely limited by having to adhere to the geometric property of their one embedding space. We lift this limitation by an embedding approach that maps temporal facts into a product space of several heterogeneous geometric subspaces with distinct geometric properties, i.e.\ Complex, Dual, and Split-complex spaces. In addition, we propose a temporal-geometric attention mechanism to integrate information from different geometric subspaces conveniently according to the captured relational and temporal information. Experimental results on standard temporal benchmark datasets favorably evaluate our approach against state-of-the-art models.

View on arXivView PDF

Code Implementations(1)

NacyNiko/HGECommunity100%
101PythonDec 19, 20231 years agoNOASSERTION

Cite this paper

@article{pan2023hge,
  title  = {HGE: Embedding Temporal Knowledge Graphs in a Product Space of Heterogeneous Geometric Subspaces},
  author = {Jiaxin Pan and Mojtaba Nayyeri and Yinan Li and Steffen Staab},
  year   = {2023},
  eprint = {2312.13680},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.13680v2}
}

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/2312.13680.svg)](https://codeofpaper.com/paper/2312.13680)

Discussion