NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Tucker decomposition-based temporal knowledge graph completion

Pengpeng Shao, Dawei Zhang, Guohua Yang, Jianhua Tao, Feihu Che, Tong Liu

TL;DR

This paper introduces TuckERT, a novel tensor decomposition model that tackles the challenge of predicting missing facts in temporal knowledge graphs. By extending the Tucker decomposition to an order-4 tensor, the authors capture complex interactions between subjects, predicates, objects, and timestamps, achieving state-of-the-art results on major benchmarks like GDELT and ICEWS.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) are massive networks of facts represented as triples: (subject, predicate, object)—for example, (Barack Obama, PresidentOf, USA). While KGs are powerful, they are often incomplete. The task of "link prediction" aims to infer these missing connections.

However, most traditional models treat KGs as static. They ignore the fact that many truths are time-bound. The statement (Barack Obama, PresidentOf, USA) was true from 2008 to 2016, but it isn't true today. To handle this, researchers use Temporal Knowledge Graphs (TKGs), which add a fourth dimension: the timestamp ($t$).

The challenge lies in how to mathematically represent these 4-tuples $(s, r, o, t)$ in a way that captures the nuances of time while remaining computationally efficient. Previous methods often struggled with "heterogeneity"—the fact that some knowledge is permanent (static) while other knowledge is fleeting (temporal).

Methods

The authors propose TuckERT, a model inspired by the Tucker decomposition, which is essentially a high-order version of Principal Component Analysis (PCA).

The Core Innovation: Order-4 Decomposition

While static models use order-3 tensors, TuckERT uses an order-4 tensor to represent the TKG. The model factorizes this tensor into:

  1. Embeddings: Low-dimensional vectors for entities ($E$), predicates ($R$), and timestamps ($T$).
  2. Core Tensor ($M$): A central multi-dimensional array that defines how these four components interact.

Handling Heterogeneity: TuckERTNT

Recognizing that KGs contain both static and temporal facts, the authors developed a variant called TuckERTNT (Non-Temporal). This model combines a temporal decomposition with a static one, allowing it to learn that some facts (like Paris is the capital of France) don't need a timestamp to be valid.

Regularization Schemes

To prevent the model from overfitting and to ensure that time is treated logically, the authors introduced:

  • Time-wise Smoothness: A constraint ensuring that neighboring timestamps (e.g., Monday and Tuesday) have similar representations.
  • Embedding Regularization: Using Frobenius and $l_p$ norms on the core tensor and embeddings to keep the model stable during training.

Datasets

The model was evaluated on three standard benchmarks for temporal link prediction:

  • ICEWS2014 & ICEWS05-15: Subsets of the Integrated Crisis Early Warning System, containing political events with specific timestamps.
  • GDELT: The Global Database of Events, Language, and Tone. This is a massive dataset of human social relationships. The authors used a subset containing 500 entities and over 2.7 million training facts, which is known for its high temporal volatility.

Key Insights and Ideas

  • The Power of the Core Tensor: Unlike Canonical Polyadic (CP) decomposition (used in models like TNTComplEx), which assumes a simpler interaction between components, the Tucker core tensor allows for much richer, "all-to-all" interactions between the subject, predicate, object, and time.
  • Full Expressivity: The authors mathematically prove that TuckERT is "fully expressive." This means that given enough dimensionality, the model is theoretically capable of representing any possible temporal fact tensor.
  • Time as a Predicate Modifier: One of the "aha" moments in the paper is the idea that temporal information can be viewed as something that modifies the predicate or the entity. By associating time-wise information with the predicate, the model learns "time-dependent embeddings" that change their meaning based on when the event occurs.

Key Results

TuckERT and TuckERTNT consistently outperformed existing state-of-the-art models like DE-SimplE and TNTComplEx.

  • GDELT Performance: The most striking result was on the GDELT dataset. TuckERT achieved a Mean Reciprocal Rank (MRR) of 0.411, nearly double the performance of the baseline TNTComplEx (0.224). This suggests that Tucker-based models are significantly better at handling datasets where facts change rapidly.
  • Dimensionality Matters: The authors found that performance increases steadily with embedding dimensionality, eventually plateauing around $d=300$.
  • Regularization Impact: The time-wise smoothness constraint provided a noticeable boost (approx. 2.4% in MRR), proving that accounting for the sequential nature of time is critical.

Limitations and Future Work

The primary trade-off for TuckERT’s high performance is computational complexity.

  • Parameter Growth: Because the core tensor $M$ depends on the embedding dimensionality ($d$), the number of parameters grows at a rate of $O(d^3)$ for order-3 and even faster for order-4. This makes the model heavier and slower to train than CP-based models, which scale at $O(d)$.
  • Scalability: The authors acknowledge that when the embedding dimensionality exceeds a certain threshold, efficiency drops sharply.

Future Directions: The authors suggest exploring "lightweight but powerful" models—perhaps by finding ways to sparsify the core tensor—to maintain expressivity without the heavy parameter cost.

Summary updated

BibTeX
@article{shao2022tucker,
  author = {Pengpeng Shao and Dawei Zhang and Guohua Yang and Jianhua Tao and Feihu Che and Tong Liu},
  title = {{Tucker decomposition-based temporal knowledge graph completion}},
  journal = {Knowledge-Based Systems},
  year = {2022},
  doi = {10.1016/j.knosys.2021.107841},
}
Figure