TL;DR
This paper investigates how to improve temporal link prediction in knowledge graphs by exploring various "temporal smoothness" regularizers. They demonstrate that by carefully selecting these regularizers, even simple models can achieve state-of-the-art performance, highlighting the importance of how temporal information is handled.
What Problem Does This Paper Address?
Many real-world datasets, like social networks or recommender systems, are dynamic and evolve over time. This is also true for knowledge graphs (KGs), which often contain facts valid only for specific periods. Predicting missing links in these temporal knowledge graphs (TKGs) at a precise moment is crucial. While some methods exist that enforce "temporal smoothness" (making representations of adjacent time steps similar), the impact of different ways to achieve this smoothness is not well understood. This paper aims to systematically analyze various temporal smoothing regularizers to understand their effect on link prediction accuracy.
Methods
The authors explore different approaches to regularize temporal knowledge graph embeddings. Their core idea is to add a penalty term to the standard loss function that encourages temporal smoothness. They investigate:
- Temporal Smoothing Regularizers: They extend previous work by analyzing a family of Lp and Np norms to control the strength and nature of the temporal smoothing penalty. These norms define how much adjacent timestamps' embeddings should be penalized for differing.
- Linear3 Regularizer: A specific regularizer proposed in prior work that explicitly models temporal dynamics using a "follows" relation.
- Recurrent Architectures (RNNs, LSTMs, GRUs): They explore using recurrent neural networks as an implicit temporal regularizer, where timestamp embeddings are generated sequentially.
These regularizers are applied to two state-of-the-art temporal link prediction models: TNTComplEx and ChronoR.
Datasets
The paper evaluates their methods on three widely used temporal knowledge graph benchmarks:
- ICEWS14: A subset of the Integrated Crisis Early Warning System (ICEWS) dataset, covering 2014.
- ICEWS05-15: Another subset of ICEWS, covering 2005-2015.
- YAGO15K: Derived from the YAGO knowledge base, augmented with temporal information (occursSince and occursUntil timestamps).
Key Insights and Ideas
- Temporal Smoothness is Key, but Nuance Matters: Simply enforcing temporal smoothness isn't enough; how you enforce it significantly impacts performance. The paper shows that weakening the smoothness penalty for very close timestamps (using specific Np norms like N4 and N5, or the Linear3 regularizer) often leads to better results.
- Model Architecture Influences Regularizer Choice: The authors found that the choice of temporal regularizer that works best can depend on the underlying temporal link prediction model. For instance, ChronoR benefited more from Lp norms, while TNTComplEx saw improvements with Np norms.
- Simplicity Can Be Powerful: The paper demonstrates that even relatively simple tensor factorization models like TNTComplEx, when combined with well-chosen temporal regularizers, can outperform more complex state-of-the-art methods.
- Recurrent Architectures Struggle with Long Sequences: While promising in theory, using RNNs as implicit temporal regularizers didn't yield the best results, likely due to challenges in generating long sequences of embeddings for datasets with many timestamps.
Key Results
- State-of-the-Art Performance: By carefully selecting temporal regularizers and their weights, the authors' enhanced TNTComplEx model achieved state-of-the-art results on all three benchmark datasets (ICEWS14, ICEWS05-15, and YAGO15K) in terms of MRR and Hits@1 metrics.
- Significant Improvements: For example, on the ICEWS14 dataset, using the N4 regularizer with an optimized weight increased MRR by 1.08 points, and careful tuning could boost it by up to 3.2 points.
- Best Regularizers Identified: Lp and Np norms with higher values of 'p' (specifically p=4 or p=5) and the Linear3 regularizer generally yielded the best performance, suggesting that a weaker temporal smoothness constraint is beneficial.
Limitations and Future Work
- Limitations: The paper notes that recurrent architectures struggled with long timestamp sequences in their experiments. They also mention that the original ChronoR implementation was unavailable, requiring them to re-implement it.
- Future Work: The authors plan to extend their analysis to inductive tasks, meaning they want to see how these temporal regularizers can be generalized to work with unseen timestamps, entities, and relation types. They also suggest leveraging recent work on combining factorisation-based models with Graph Neural Networks (GNNs).
Summary updated