TeDS: Joint Learning of Diachronic and Synchronic Perspectives in Quaternion Space for Temporal Knowledge Graph Completion

Jiujiang Guo, Mankun Zhao, Wenbin Zhang, Tianyi Xu, Linying Xu, Yu Jian, Yu Mei, Yu Ruiguo

TL;DR

Temporal Knowledge Graphs (TKGs) track facts over time, but most link-prediction models treat time as a mere supplementary tag. This paper introduces TeDS, a highly efficient model operating in quaternion space that explicitly captures both the diachronic (evolution over time) and synchronic (co-occurring interactions) nature of temporal facts. By using dual perception channels and hypercomplex rotations, TeDS achieves state-of-the-art performance on six benchmarks while requiring up to 10x fewer parameters than competing models.

What Problem Does This Paper Address?

Knowledge Graph Completion (KGC) is the task of predicting missing links (facts) in a graph. While static KGC is well-studied, real-world facts change over time. Temporal Knowledge Graphs (TKGs) add a time dimension (e.g., predicting not just that "James is dating Emma," but when).

Existing TKGC models typically treat timestamps as just another piece of supplementary data to be embedded. The authors argue this fails to capture the nuanced ways time actually affects facts. Specifically, they identify two missing perspectives:

Evolution of facts over time demonstrating diachronic and synchronic perspectives.
  1. Diachronicity: Facts and relations evolve. A relationship might transition from "friends" in March to "dating" in June. Models need to track these developmental trends across different temporal domains.
  2. Synchronicity: Within a specific time slice, different relations influence each other. If James and Emma are dating in June, that specific temporal context generates latent semantics that might affect their other relationships during that same month.

Methods

To tackle this, the authors propose TeDS, a model that embeds entities, relations, and timestamps into quaternion space (a hypercomplex number system with one real and three imaginary components). Quaternions are excellent for modeling spatial and relational rotations.

Illustration of entity and relation rotations in quaternion space.

TeDS splits its architecture into two distinct temporal perception channels:

  • Synchronic Perception (SP): This channel reorganizes the quaternion components of a specific timestamp and a relation into new composite quaternions. It then uses the Hamilton operator (quaternion multiplication) to force a deep interaction between the time slice and the relation, capturing how facts co-exist and influence each other right now.
  • Diachronic Perception (DP): Instead of treating timestamps as discrete, isolated buckets, DP maps continuous time points to angles using trigonometric functions. These are converted into the scalar components of a quaternion. This allows the model to "smoothly" interpret time shifts. The relation is then rotated by this diachronic timestamp, allowing it to carry historical, evolutionary context.

Finally, the head entity is rotated by the combined outputs of the SP and DP channels, and the model scores the likelihood of a fact by taking the inner product with the tail entity.

Datasets

The model was evaluated on six standard TKGC benchmarks, covering a wide variety of time spans and event densities:

  • ICEWS14, ICEWS05-15, ICEWS18: Subsets of the Integrated Crisis Early Warning System, tracking global political and social events.
  • YAGO11k: A subset of YAGO3, featuring facts with various time annotations (points, intervals).
  • Wikidata12k: A subset of Wikidata, notable for having facts that span a very long temporal range (1526–2020) with a long-tail distribution.
  • GDELT: The Global Database of Events, Language, and Tone (2015-2016).

Key Insights and Ideas

  • Time is two-dimensional in its effect: Treating time as just "when" misses the "what else is happening now" (synchronic) and "how did we get here" (diachronic). Explicitly modeling both yields massive performance gains.
  • Continuous time mapping beats discrete buckets: Using trigonometric functions to map time to angles allows the model to generalize better across long time spans. It helps the model handle sparse events gracefully, which is why TeDS performs exceptionally well on datasets with long, irregular time spans like Wikidata12k.
  • Quaternions are highly parameter-efficient: The Hamilton operator's non-commutative nature ($A \otimes B \neq B \otimes A$) is perfect for modeling directional relations (e.g., A influences B is not the same as B influences A). It achieves this expressiveness without the massive parameter bloat seen in deep neural networks or complex tensor decompositions.

Key Results

  • State-of-the-Art Accuracy: TeDS outperformed all baseline models across all 6 datasets. For example, compared to the recent deep learning model SANe, TeDS improved Mean Reciprocal Rank (MRR) by 26.9 points on ICEWS14 and a massive 52.2 points on Wikidata12k.
  • Extreme Parameter Efficiency: TeDS achieves these results using a fraction of the parameters of competing models. On Wikidata12k, TeDS used only 20.64M parameters compared to the TPComplEx model's 201.2M—a 10x reduction in memory footprint.
  • Faster Training: Because of its lightweight quaternion architecture, TeDS trains significantly faster. It was 43% faster per epoch on Wikidata12k compared to TPComplEx.
  • Robustness: In ablation studies where 10% or 20% of the training data was randomly dropped, TeDS maintained highly competitive performance, proving its resilience in sparse data conditions.

Limitations and Future Work

While TeDS handles continuous time and dual perspectives well, the authors acknowledge that analyzing complex real-world patterns—specifically the periodicity of facts (events that happen in repeating cycles)—remains a challenging open problem.

For future work, they plan to focus on these complex scenarios, including periodic patterns and more complex forms of temporal expressions (like fuzzy or missing intervals). They also aim to develop models that are more interpretable and context-adaptive to achieve even higher-quality knowledge representations.

Summary updated

BibTeX
@inproceedings{guo2025teds,
  author = {Jiujiang Guo and Mankun Zhao and Wenbin Zhang and Tianyi Xu and Linying Xu and Yu Jian and Yu Mei and Yu Ruiguo},
  title = {{TeDS: Joint Learning of Diachronic and Synchronic Perspectives in Quaternion Space for Temporal Knowledge Graph Completion}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=rWUV8Pti9x},
}
Figure