This research, presented at NAACL-HLT 2021, introduces TeLM (Temporal Linear Multivector), a state-of-the-art approach for predicting missing links in Temporal Knowledge Graphs (TKGs). By moving beyond standard complex-valued embeddings to a more expressive geometric algebra, the authors demonstrate how to better capture the "flow" of time in relational data.
The Challenge of Temporal Knowledge Graphs
Traditional Knowledge Graphs (KGs) store facts as static triples, such as (Barack Obama, presidentOf, USA). However, many real-world facts are only valid for a specific duration. Temporal KGs (TKGs) represent these as quadruples: (subject, relation, object, timestamp).
The primary challenge in TKG completion is predicting missing links (e.g., (?, presidentOf, USA, 2010)). Existing models often treat time as a static dimension or use simple smoothing techniques that assume adjacent time steps should be similar. These approaches frequently fail to capture the complex, directional nature of time or struggle with varying time formats like intervals and specific dates.
The TeLM Approach
TeLM introduces two primary innovations to address these limitations:
1. Multivector Embeddings from Geometric Algebra ($\mathbb{G}^2$)
While most high-performing models use complex numbers (2 dimensions), TeLM utilizes 2-grade multivectors. These are 4-dimensional elements consisting of a scalar, two vectors, and a bivector. This provides a higher degree of freedom and greater expressiveness when calculating the score function via an asymmetric geometric product, without increasing asymptotic space or time complexity compared to simpler models.
2. Linear Temporal Regularizer
Standard models use a "smoothing" regularizer that penalizes large differences between consecutive time embeddings. TeLM improves this by adding a bias component ($M_b$). Instead of just forcing $M_{\tau_{i+1}}$ to be near $M_{\tau_i}$, it encourages the difference to follow a learned trend: $||M_{\tau_{i+1}} - M_{\tau_i} - M_b||$. This helps the model learn the chronological ordering and "velocity" of changes in the graph.
Key Results and Insights
TeLM outperformed previous state-of-the-art models (including TComplEx and DE-SimplE) across four major benchmarks: ICEWS14, ICEWS05-15, YAGO11k, and Wikidata12k. On ICEWS14, it achieved a Mean Reciprocal Rank (MRR) of 0.625, a significant improvement over the previous best of 0.61.
Beyond raw performance, the research highlights the importance of two critical hyperparameters: Time Granularity and Embedding Dimension.
- Granularity Matters: For event-heavy data like ICEWS, daily granularity is optimal. However, for "long-tail" data like YAGO, grouping infrequent years together (coarser granularity) prevents overfitting and improves performance.
- Dimension Scaling: Performance consistently improves as the embedding dimension $k$ increases, though this comes at the cost of substantial GPU memory requirements.
Conclusion
TeLM demonstrates that combining expressive geometric algebra with a trend-aware linear regularizer significantly advances the state-of-the-art in temporal link prediction. Future work may involve automating the selection of temporal granularity or exploring even higher-dimensional geometric algebras to further increase model expressiveness.
Summary updated