Transformer-based Reasoning for Learning Evolutionary Chain of Events on Temporal Knowledge Graph

Zhiyu Fang, Shuai-Long Lei, Xiaobin Zhu, Chun Yang, Shi-Xue Zhang +2 more
5/1/2024
cs.AI

No official code found. Best implementation: seeyourmind/TKGElib (19 stars, MIT, last commit 2024-08-13).

Abstract

Temporal Knowledge Graph (TKG) reasoning often involves completing missing factual elements along the timeline. Although existing methods can learn good embeddings for each factual element in quadruples by integrating temporal information, they often fail to infer the evolution of temporal facts. This is mainly because of (1) insufficiently exploring the internal structure and semantic relationships within individual quadruples and (2) inadequately learning a unified representation of the contextual and temporal correlations among different quadruples. To overcome these limitations, we propose a novel Transformer-based reasoning model (dubbed ECEformer) for TKG to learn the Evolutionary Chain of Events (ECE). Specifically, we unfold the neighborhood subgraph of an entity node in chronological order, forming an evolutionary chain of events as the input for our model. Subsequently, we utilize a Transformer encoder to learn the embeddings of intra-quadruples for ECE. We then craft a mixed-context reasoning module based on the multi-layer perceptron (MLP) to learn the unified representations of inter-quadruples for ECE while accomplishing temporal knowledge reasoning. In addition, to enhance the timeliness of the events, we devise an additional time prediction task to complete effective temporal information within the learned unified representation. Extensive experiments on six benchmark datasets verify the state-of-the-art performance and the effectiveness of our method.

View on arXivView PDF

Code Implementations(1)

seeyourmind/TKGElibCommunity100%
MIT
195PythonApr 20, 20242 years agoMIT

Similar Papers

Cite this paper

@article{fang2024transformerbased,
  title  = {Transformer-based Reasoning for Learning Evolutionary Chain of Events on Temporal Knowledge Graph},
  author = {Zhiyu Fang and Shuai-Long Lei and Xiaobin Zhu and Chun Yang and Shi-Xue Zhang and Xu-Cheng Yin and Jingyan Qin},
  year   = {2024},
  eprint = {2405.00352},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.00352v1}
}

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

Discussion