RTFE: A Recursive Temporal Fact Embedding Framework for Temporal Knowledge Graph Completion

Youri Xu, Haihong E, Meina Song, Wenyu Song, Xiaodong Lv, Haotian Wang, Jinrui Yang

Abstract

Temporal Knowledge Graphs (TKGs) represent facts that evolve over time, presenting unique challenges for link prediction and completion tasks. Traditional methods often treat TKGs as static collections or ignore the inherent chronological flow of information. This paper introduces RTFE (Recursive Temporal Fact Embedding), a model-agnostic framework that treats TKGs as an evolving Markov chain. By recursively passing learned parameters and entity features across timestamps, RTFE leverages historical continuity to address data sparsity and enable efficient future extensibility. Experimental results demonstrate that RTFE significantly enhances the performance of both static and temporal embedding models across multiple benchmarks.

Introduction: The Challenge of Temporal Knowledge

Knowledge Graphs (KGs) typically store information as triples (subject, relation, object). While static KGs assume these relations are permanent, Temporal Knowledge Graphs recognize that many facts have a limited duration or occur at specific points in time. For example, while a person's birthplace is static, their place of residence or professional role changes throughout their life.

Evolution of facts in a Temporal Knowledge Graph over time.

Current TKG completion methods suffer from three primary limitations:

  1. Chronological Neglect: Many models treat all facts as a single batch, ignoring the natural temporal sequence.
  2. Data Sparsity: Individual timestamps often contain very few facts, making it difficult for models to learn robust representations without "borrowing" context from the past.
  3. Extensibility Issues: Most existing models require full retraining when new data arrives, lacking a mechanism to incrementally update based on future events.

The RTFE Framework

The core philosophy of RTFE is to model the TKG as a sequence of states in a Markov Chain, where the state at time $t$ is directly informed by the state at $t-1$. This approach allows the model to capture the "continuity" of history.

The recursive architecture of RTFE, showing pre-training and sequential updates.

The framework consists of three integrated stages:

  • Static Pre-training: The TKG is initially collapsed into a single static graph. A standard embedding model (e.g., RotatE) is trained on this global view to establish a foundational baseline for all entities and relations.
  • Recursive Parameter Passing: Unlike models that train independently on each slice, RTFE passes learned parameters ($\theta$) and entity features ($X$) from the current timestamp to the next. This "warm start" ensures that the model retains relevant historical context.
  • Gradient Update Approximation: To adapt to new information at time $t$, the framework performs a limited number of gradient descent steps on the facts present in that specific timestamp. This efficiently updates the embeddings to reflect recent changes without needing a full global retraining.

Because RTFE is a framework rather than a specific model, it is highly flexible. It can be used to "temporalize" static models like TransE and RotatE or to further boost the performance of dedicated temporal models like TComplEx.

Experimental Evaluation

The authors evaluated RTFE on five major benchmarks, including continuous fact-based datasets (YAGO11k, Wikidata12k) and discrete event-based datasets (ICEWS14, ICEWS05-15, GDELT).

Key Results

  • Static Model Enhancement: When the static RotatE model was wrapped in the RTFE framework, it outperformed specialized temporal baselines such as Hyte and ATiSE. This suggests that the recursive mechanism is more effective than many complex temporal architectures.
  • Temporal Model Boosting: RTFE provided a significant performance jump for TComplEx, a state-of-the-art temporal model. On the Wikidata12k dataset, the Mean Reciprocal Rank (MRR) increased from 44.9 to 52.2.
  • Robustness to Sparsity: On the dense and challenging GDELT dataset, the recursive training pattern allowed the model to achieve high accuracy by effectively leveraging the Markovian assumption of temporal continuity.

Conclusion and Future Directions

RTFE demonstrates that modeling temporal knowledge as a recursive process significantly improves the accuracy and efficiency of TKG completion. By bridging the gap between static and temporal research, it provides a lightweight and extensible path for future developments. Future work will focus on explicitly modeling causality (e.g., via Hawkes processes) and extending the framework to predict the "time validity" of facts—determining when a currently true fact is likely to expire.

Summary updated

BibTeX
@inproceedings{xu2021rtfe,
  author = {Youri Xu and Haihong E and Meina Song and Wenyu Song and Xiaodong Lv and Haotian Wang and Jinrui Yang},
  title = {{RTFE: A Recursive Temporal Fact Embedding Framework for Temporal Knowledge Graph Completion}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.451},
}
Figure