TIE: A Framework for Embedding-based Incremental Temporal Knowledge Graph Completion

Jiapeng Wu, Yishi Xu, Yingxue Zhang, Chen Ma, Mark Coates, Jackie Chi Kit Cheung · DOI

Abstract

Temporal Knowledge Graphs (TKGs) represent evolving real-world facts as quadruples consisting of a subject, relation, object, and a timestamp. Maintaining the accuracy of these graphs requires frequent updates as new information arrives and old facts become obsolete. Traditional methods rely on computationally expensive full-batch retraining or simple fine-tuning, which often leads to catastrophic forgetting and an inability to recognize when facts are no longer true (intransigence). We propose TIE (Time-aware Incremental Embedding), a framework designed for efficient incremental TKG completion. By focusing on added facts, utilizing experience replay with frequency-based sampling, and explicitly learning from deleted facts, TIE achieves a 10x training speedup while outperforming baselines in memory retention and obsolescence detection.

Introduction

Knowledge Graphs (KGs) are fundamental for structured knowledge representation, typically stored as triples. Temporal Knowledge Graphs (TKGs) extend this by adding a temporal dimension, allowing for the representation of dynamic facts such as (Barack Obama, isPresidentOf, USA, 2014). However, the dynamic nature of real-world data presents three significant challenges for model maintenance:

  1. Catastrophic Forgetting: Fine-tuning on new data snapshots often causes models to lose previously learned historical patterns.
  2. Intransigence: Models struggle to identify when a fact has become obsolete (e.g., a term of office ending) if not explicitly trained to "unlearn" it.
  3. Training Inefficiency: Retraining on the entire history of a graph for every new update is computationally prohibitive as the graph grows.

The TIE Framework

The TIE framework addresses these challenges by shifting from full-batch retraining to a multi-pillared incremental approach.

The TIE framework architecture illustrating the data flow for added, deleted, and replay facts.

Core Methodology

As shown in the architecture diagram, TIE processes three distinct data flows to update the model $\phi^t$ from its previous state $\phi^{t-1}$:

  • Learning with Added Facts ($D^t_{add}$): Instead of processing the entire snapshot, TIE focuses on facts that have newly appeared. Since many facts in TKGs are persistent, this drastically reduces the volume of training data.
  • Experience Replay ($P^t$): To prevent forgetting, TIE maintains a replay buffer $B^t$. It uses Frequency-based Sampling to select a diverse set of historical facts, ensuring the model retains a broad understanding of relational patterns over time.
  • Temporal Regularization ($L_{TR}$): An $L_2$ penalty is applied to ensure that entity and relation embeddings do not drift too abruptly between time steps, maintaining stability in the latent space.
  • Learning with Deleted Facts ($N^t$): To combat intransigence, TIE identifies facts present at $t-1$ but missing at $t$. These are treated as explicit negative examples ($L_{del}$), teaching the model to lower their ranking once they are no longer valid.

Experimental Setup

The framework was evaluated on two prominent TKG benchmarks: Wikidata12k and YAGO11k. The models were pre-trained on the first 70% of the available time steps, with the remaining 30% used for incremental updates and evaluation.

Statistics for the Wikidata12K and YAGO11K benchmark datasets.

Key Results and Insights

Efficiency and Speed

By focusing on the delta of the graph (Added Facts), TIE reduced the required training data by approximately 90% for Wikidata and 95% for YAGO. This resulted in a 10x speedup in training time compared to standard full-batch retraining methods.

Memory and Obsolescence

TIE demonstrated superior resistance to catastrophic forgetting, significantly improving the Average Hits@10 (A@10) over simple fine-tuning baselines. Furthermore, the framework's explicit handling of deleted facts improved its ability to recognize obsolete information. On Wikidata12k, the "Deleted Facts" metric (DF@10) improved from a baseline of 12.50 to 8.76, indicating that the model is much faster at "forgetting" facts that are no longer true.

Performance Trade-offs

While full-batch training (the theoretical "skyline") maintains a slight advantage in raw accuracy for current facts, TIE offers a more robust solution for real-world applications. It strikes a critical balance between learning new information, retaining the past, and identifying expired knowledge, all while remaining computationally efficient.

Conclusion and Future Work

TIE provides a scalable and effective framework for incremental TKG completion. Despite its successes, challenges remain. The Reciprocal Rank Difference (RRD) values across all models suggest that even advanced frameworks still tend to rank some deleted facts higher than current ones. Future research may explore more complex constrained optimization techniques or more sophisticated sampling strategies to further bridge the gap between incremental and full-batch performance.

Summary updated

BibTeX
@inproceedings{wu2021tie,
  author = {Jiapeng Wu and Yishi Xu and Yingxue Zhang and Chen Ma and Mark Coates and Jackie Chi Kit Cheung},
  title = {{TIE: A Framework for Embedding-based Incremental Temporal Knowledge Graph Completion}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462961},
}
Figure