Abstract
Temporal Knowledge Graph Completion (TKGC) is essential for maintaining the accuracy of evolving knowledge bases. We introduce RTFE (Recursive Temporal Fact Embedding), a model-agnostic framework that treats temporal knowledge graphs as sequences of states in a Markov chain. By recursively updating entity and relation embeddings through gradient steps, RTFE captures the temporal continuity of facts and addresses the data sparsity inherent in time-specific graph snapshots. Our evaluation across five benchmarks demonstrates that RTFE significantly enhances the performance of both static and temporal embedding models while exhibiting robust extensibility to future timestamps.
Introduction
Knowledge graphs (KGs) are massive networks of facts, typically represented as triples such as (Obama, President, USA). However, most real-world facts are temporal; they have a limited duration of validity. Static Knowledge Graphs (SKGs) ignore this dimension, leading to inaccuracies. While Temporal Knowledge Graphs (TKGs) introduce time, they face two major hurdles: sparsity at individual timestamps and the failure to model temporal dependencies (e.g., a person must "campaign" before being "inaugurated"). Furthermore, most current TKG models require full retraining to incorporate new, future data.
Methodology: The RTFE Framework
RTFE addresses these challenges by modeling TKG evolution as a Markov chain, where the state at time $t_{i+1}$ is directly influenced by the state at time $t_i$. The framework utilizes a two-step training process:
- Preliminary Static Training: All temporal facts are merged into a single large static graph ($G_{static}$). A standard embedding model (e.g., TransE or RotatE) is pre-trained on this graph to provide a "warm start" for entity and relation features.
- Recursive Learning: The framework iterates through the timeline chronologically. For each timestamp, it performs a few steps of gradient descent on the facts occurring at that time. These gradient updates serve as the transition function that evolves the embeddings from one state to the next.
This chronological approach allows the model to naturally inherit information from the past, alleviating sparsity and capturing the logical flow of history.
Experimental Results
RTFE was evaluated on five TKG benchmarks: fact-based datasets (YAGO11k, Wikidata12k) and event-based datasets (ICEWS14, ICEWS05-15, GDELT).
Performance and Extensibility
RTFE demonstrated significant performance gains across all benchmarks. When applied to static models like TransE, it improved Mean Reciprocal Rank (MRR) on Wikidata12k by up to 15%. It also enhanced state-of-the-art temporal models like TComplEx.
Crucially, RTFE is highly extensible. Because the model is recursive, it can handle unseen future data by performing light gradient updates on new facts rather than retraining on the entire historical record. Validation on the YAGO11k dataset shows that MRR remains stable or even improves as the model evaluates expanding temporal horizons.
Conclusion and Future Work
RTFE provides a flexible, model-agnostic solution for temporal knowledge graph completion by approximating state transitions as gradient updates. While it excels at capturing the continuity of long-term facts, modeling sudden discrete events remains a challenge. Future work will explore incorporating causality modeling and spatio-temporal dependencies to better forecast event sequences and predict the time validity of facts.
Summary updated