Temporal Knowledge Graph Forecasting under Distribution Shifts: A Synthetic Evaluation

arXiv cs.LG Papers

Summary

This paper studies temporal knowledge graph forecasting under controlled distribution shifts using a synthetic generator that encodes recurrence, homophily, and periodicity. Experiments on seven architectures reveal signal-dependent robustness and limitations in model adaptivity to structural breaks.

arXiv:2607.09232v1 Announce Type: new Abstract: Temporal knowledge graphs (TKGs) represent evolving relational systems, whose underlying data-generating processes often change over time. Yet, TKG forecasting models are commonly evaluated only on empirical benchmark datasets that provide limited insight into the models' robustness to such distribution shifts. Recognising this issue, we study TKG forecasting under controlled shift environments using a synthetic TKG generator that encodes three temporal and structural properties -- recurrence, homophily, and periodicity -- as data-generating mechanisms. This allows us to evaluate seven forecasting architectures under stationary and shifting regimes. Our experiments suggest that robustness in TKG forecasting is highly signal-dependent. Recurrence-based and periodic regularities are largely recoverable under stationary conditions, and simple memory-based baselines can be competitive when recurrence dominates the data. However, structural breaks reveal limitations in model adaptivity, with shifts in latent entity-community structure posing the strongest challenge in our study. Overall, our findings improve the understanding of the capabilities and limitations of current TKG models confronted with temporal distribution shifts.
Original Article
View Cached Full Text

Cached at: 07/13/26, 07:59 AM

# Temporal Knowledge Graph Forecasting under Distribution Shifts: A Synthetic Evaluation
Source: [https://arxiv.org/html/2607.09232](https://arxiv.org/html/2607.09232)
11institutetext:Data and Web Science Group, University of Mannheim, Germany22institutetext:SAP Signavio, Walldorf, Germany###### Abstract

Temporal knowledge graphs \(TKGs\) represent evolving relational systems, whose underlying data\-generating processes often change over time\. Yet, TKG forecasting models are commonly evaluated only on empirical benchmark datasets that provide limited insight into the models’ robustness to such distribution shifts\. Recognising this issue, we study TKG forecasting under controlled shift environments using a synthetic TKG generator that encodes three temporal and structural properties—recurrence, homophily, and periodicity—as data\-generating mechanisms\. This allows us to evaluate seven forecasting architectures under stationary and shifting regimes\. Our experiments suggest that robustness in TKG forecasting is highly signal\-dependent\. Recurrence\-based and periodic regularities are largely recoverable under stationary conditions, and simple memory\-based baselines can be competitive when recurrence dominates the data\. However, structural breaks reveal limitations in model adaptivity, with shifts in latent entity\-community structure posing the strongest challenge in our study\. Overall, our findings improve the understanding of the capabilities and limitations of current TKG models confronted with temporal distribution shifts\.

## 1Introduction

Temporal knowledge graphs \(TKGs\) extend static knowledge graphs \(KGs\) with temporal information\[[13](https://arxiv.org/html/2607.09232#bib.bib16)\]\. As such, they constitute an effective, systematic mechanism for storing event\-based facts across time\. In recent years, TKG forecasting, i\.e\., the prediction of facts for future timestamps, has been met with rising interest\. Diverse approaches have been introduced in this domain \(e\.g\.,\[[21](https://arxiv.org/html/2607.09232#bib.bib1),[6](https://arxiv.org/html/2607.09232#bib.bib8),[4](https://arxiv.org/html/2607.09232#bib.bib9)\]\) and application areas may reach from finance\[[19](https://arxiv.org/html/2607.09232#bib.bib13)\]to clinical environments\[[33](https://arxiv.org/html/2607.09232#bib.bib15)\]\.

One fundamental property of such real\-world temporal systems is that their underlying data\-generating processes \(DGPs\) evolve over time, i\.e\., they incur shifts with respect to their underlying distribution\[[8](https://arxiv.org/html/2607.09232#bib.bib17)\]\. Typically, such shifts can be of sudden or gradual nature\. The former may take place through the beginning of a war that can abruptly alter the interplay of diplomatic relations\. The latter may arise when a change in government restructures societal systems, such as the overhaul of South Africa’s education system following the end of apartheid\[[26](https://arxiv.org/html/2607.09232#bib.bib20)\]\. As such, accounting for distribution shifts when modelling temporal data plays an integral role not only in classical time series forecasting, but also in adjacent sequential learning domains\[[28](https://arxiv.org/html/2607.09232#bib.bib25),[16](https://arxiv.org/html/2607.09232#bib.bib27),[35](https://arxiv.org/html/2607.09232#bib.bib31)\]\.

In the context of single\-relational temporal graph learning, recent evidence in the form of a systematic evaluation has surfaced that several approaches struggle to capture rather basic temporal patterns like periodicity\[[15](https://arxiv.org/html/2607.09232#bib.bib18)\]\. Motivated, among other things, by these observations, Blöcker et al\.\[[2](https://arxiv.org/html/2607.09232#bib.bib3)\]argue for a stronger integration of insights from network science into temporal graph learning\. They highlight that decades of research on temporal and structural patterns in evolving networks still remain underutilised in modern graph learning approaches and that models are often evaluated primarily through empirical benchmark performance, without a clear understanding of the specific patterns they capture\[[2](https://arxiv.org/html/2607.09232#bib.bib3)\]\.

In this work, we maintain that this discrepancy extends to directed, multi\-relational temporal graphs as well and, therefore, to the area of TKG forecasting\. In TKG forecasting, robustness to distribution shifts remains a largely under\-explored field of investigation and, to the best of our knowledge, no prior work has systematically studied how TKG forecasting architectures behave under controlled, fundamental changes in the underlying DGP\. This is partly attributable to the real\-data nature of most investigations; current benchmarks \(e\.g\.,\[[9](https://arxiv.org/html/2607.09232#bib.bib11)\]\) do not yet provide controlled synthetic environments that enable explicit manipulation of temporal and structural properties, making it difficult to isolate which mechanisms models successfully capture and under which conditions they fail\.

To address these limitations, we investigate robustness and adaptivity to distribution shifts in TKG forecasting\. Building on insights from temporal graph learning, network science, and time series analysis, we contribute as follows:

1. 1\.We introduce a synthetic TKG data generator that produces fully controllable, temporal multi\-relational graph data\. The generator instantiates proxies for distribution shifts that allow for systematic investigations of model behaviour under changes in periodic patterns, entity community structure, and fact recurrence\.
2. 2\.We evaluate seven TKG forecasting approaches and evidence that robustness to distribution shifts is highly signal\-dependent: on our tested datasets, recurrence\-based and periodic patterns are largely recoverable under stationary conditions, but structural breaks expose limitations in adaptivity\. Shifts in entity\-community structure pose the strongest challenge in our study\.

Overall, this work aims at providing a systematic perspective on distribution shifts in TKG forecasting and to improve the understanding of the capabilities and limitations of current modelling architectures under this aspect\.

## 2Related Work

This section outlines common forecasting models, evaluation techniques and robustness investigations in TKG forecasting and adjacent domains\.

TKG Forecasting Architectures\.A wide range of architectures has been proposed for future link prediction in temporal knowledge graphs\. They may be classified into recurrent approaches \(e\.g\., RE\-GCN\[[21](https://arxiv.org/html/2607.09232#bib.bib1)\], CEN\[[20](https://arxiv.org/html/2607.09232#bib.bib10)\]\), rule\-based approaches \(e\.g\., T\-Logic\[[24](https://arxiv.org/html/2607.09232#bib.bib4)\]\), reinforcement learning variants \(e\.g\., TimeTraveler\[[31](https://arxiv.org/html/2607.09232#bib.bib7)\]\) and hybrid models \(e\.g\., DiMNet\[[6](https://arxiv.org/html/2607.09232#bib.bib8)\], CognTKE\[[4](https://arxiv.org/html/2607.09232#bib.bib9)\]\)\. All models are predominantly evaluated on empirical benchmark data\. Consequently, relatively little is known about which temporal and structural mechanisms models successfully capture, or how robustly they generalise under evolving data conditions\.

Evaluation in TKG Forecasting\.Recent work has improved evaluation practices for TKG forecasting\. A recurrence\-based baseline was introduced in\[[10](https://arxiv.org/html/2607.09232#bib.bib6)\], showing that simple repetition of past facts is surprisingly competitive, and that in several datasets state\-of\-the\-art models fail to consistently outperform this baseline\. In addition, the TGB 2\.0 framework\[[9](https://arxiv.org/html/2607.09232#bib.bib11)\]provides standardised evaluation protocols and datasets for large\-scale comparisons of models\. Despite these advances, evaluation is still largely centred on aggregate benchmark performance\. This provides limited insight into the temporal and structural patterns that models actually learn\. In single\-relational temporal graph learning, recent work has begun to address this gap by directly probing model capabilities\. Hayes et al\.\[[15](https://arxiv.org/html/2607.09232#bib.bib18)\]show, for example, that several methods struggle to capture rather basic temporal properties such as periodicity\. Dizaji et al\.\[[5](https://arxiv.org/html/2607.09232#bib.bib19)\]introduce a synthetic diagnostic benchmark for learning on temporal graphs and find that even on simple synthetic graphs, models have difficulty capturing basic temporal structures\. However, analogous analyses for TKG forecasting remain missing\.

Robustness to Temporal Distribution Shifts\.Distribution shifts are well\-established challenges in temporal and sequential learning, where the data distribution, or the relationship between inputs and targets, changes over time\[[8](https://arxiv.org/html/2607.09232#bib.bib17)\]\. These challenges have been observed across a wide range of temporal modelling domains, including recommender systems\[[34](https://arxiv.org/html/2607.09232#bib.bib23)\], traffic forecasting\[[22](https://arxiv.org/html/2607.09232#bib.bib24)\], and process mining\[[17](https://arxiv.org/html/2607.09232#bib.bib22)\], where evolving user preferences, mobility patterns, business processes have motivated domain\-specific strategies for detecting and adapting to distribution shifts\. In classical time\-series analysis, related phenomena have long been studied under the notions of nonstationarity, with extensive work on detecting shifts and adapting approaches accordingly\[[1](https://arxiv.org/html/2607.09232#bib.bib26),[28](https://arxiv.org/html/2607.09232#bib.bib25)\]\. More recently, deep time\-series forecasting has also begun to explicitly address temporal distribution shifts, for example through reversible normalisation, adaptive recurrent architectures, and nonstationary Transformer variants\[[16](https://arxiv.org/html/2607.09232#bib.bib27),[7](https://arxiv.org/html/2607.09232#bib.bib28),[23](https://arxiv.org/html/2607.09232#bib.bib29)\]\. Similar concerns have emerged in graph learning\[[18](https://arxiv.org/html/2607.09232#bib.bib32)\]with out\-of\-distribution benchmarks\[[12](https://arxiv.org/html/2607.09232#bib.bib30)\]and dynamic methods to study shifts in the spatio\-temporal domain explicitly\[[35](https://arxiv.org/html/2607.09232#bib.bib31)\]\.

In TKG forecasting, however, robustness to distribution shifts has received considerably less attention\. The closest related works focus on continual\- or incremental TKG completion, where models are updated as new events arrive and must retain previously acquired knowledge while adapting to the evolving graph\[[25](https://arxiv.org/html/2607.09232#bib.bib33)\]\. More recent work addresses this setting through adaptive replay mechanisms to mitigate catastrophic forgetting\[[36](https://arxiv.org/html/2607.09232#bib.bib35)\]\. Despite considering temporal evolution and model adaptation, these studies target TKG completion rather than forecasting under controlled changes in the underlying DGP\. Thus, it remains unclear which temporal and structural mechanisms current TKG forecasting models rely on, and how robust they are when these mechanisms evolve\.

This Work\.The above gaps motivate the present work\. We study robustness and adaptiveness in TKG forecasting under controlled distribution shifts\. Via a synthetic TKG data generation tool that enables systematic manipulation of temporal properties, we generate controlled synthetic datasets and evaluate representative TKG forecasting architectures under shifting DGP conditions\.

## 3Notation and Synthetic Data Design

This section establishes necessary notational preliminaries as well as our synthetic TKG data generation framework\.

### 3\.1Notation and Background

Letne,nr,T∈ℕn\_\{e\},n\_\{r\},T\\in\\mathbb\{N\}\. Denote withℰ=\{0,…,ne−1\}\\mathcal\{E\}=\\\{0,\\dots,n\_\{e\}\-1\\\}the*entity*set and withℛ=\{0,…,nr−1\}\\mathcal\{R\}=\\\{0,\\dots,n\_\{r\}\-1\\\}the relation set\. Triplets of form\(s,r,o\)\(s,r,o\), withs,o∈ℰ,r∈ℛs,o\\in\\mathcal\{E\},r\\in\\mathcal\{R\}are referred to as*facts*\. Furthermore, define𝒯=\{1,…,T\}\\mathcal\{T\}=\\\{1,\\dots,T\\\}as the set of timestamps at which facts are recorded\. In our work, we focus on non\-self\-referential facts \(cf\.[section A2](https://arxiv.org/html/2607.09232#S2a)\) and devise thene,nrn\_\{e\},n\_\{r\}\-induced space as the*universe of facts*Ω=\{\(s,r,o\):s,o∈ℰ,r∈ℛ,s≠o\}\\Omega=\\\{\(s,r,o\):s,o\\in\\mathcal\{E\},\\ r\\in\\mathcal\{R\},\\ s\\neq o\\\}, with\|Ω\|=nr​\(ne2−ne\)\\lvert\\Omega\\rvert=n\_\{r\}\(n\_\{e\}^\{2\}\-n\_\{e\}\)\. Within this setting, our work considers TKGs as discrete graph snapshot process\(Gt\)t∈𝒯\(G\_\{t\}\)\_\{t\\in\\mathcal\{T\}\}withGt≔\{\(t,s,r,o\)∣s,o∈ℰ,r∈ℛ\}G\_\{t\}\\coloneqq\\\{\(t,s,r,o\)\\mid s,o\\in\\mathcal\{E\},r\\in\\mathcal\{R\}\\\}\. Moreover, we exclude multigraph structures: ∀t∈𝒯,\(r,r¯\)∈ℛ2​s\.t\.​r≠r¯:\(t,s,r,o\)∈Gt⇒\(t,s,r¯,o\)∉Gt\\forall t\\in\\mathcal\{T\},\(r,\\overline\{r\}\)\\in\\mathcal\{R\}^\{2\}\\text\{ s\.t\. \}r\\neq\\overline\{r\}:\(t,s,r,o\)\\in G\_\{t\}\\Rightarrow\(t,s,\\overline\{r\},o\)\\notin G\_\{t\}\. Via𝕀condition\\mathbb\{I\}\_\{\\textnormal\{condition\}\}we denote the indicator function, equal to11if ‘condition’ holds and0otherwise\.

Given\(Gt\)t∈𝒯\(G\_\{t\}\)\_\{t\\in\\mathcal\{T\}\}, the TKG forecasting objective entails predicting future timestamped facts of the form\(t⋆,s,r,o\)\(t^\{\\star\},s,r,o\)wheret⋆\>Tt^\{\\star\}\>T,r∈ℛr\\in\\mathcal\{R\}, ands,o∈ℰs,o\\in\\mathcal\{E\}\. In this work, we consider*entity forecasting*, which focuses on predicting object or subject entities for queries of types\(t⋆,s,r,?\)\(t^\{\\star\},s,r,?\)and\(t⋆,?,r,o\)\(t^\{\\star\},?,r,o\)\. This protocol reflects a common choice for assessing the capabilities of TKG forecasting methods\[[11](https://arxiv.org/html/2607.09232#bib.bib37)\]\. Typically, TKG forecasting is formulated as a ranking problem\[[14](https://arxiv.org/html/2607.09232#bib.bib36)\]: Given a query derived from a fact in the test or validation set, a model assigns plausibility scores to candidate entities inℰ\\mathcal\{E\}and ranks them accordingly\.

### 3\.2Synthetic Data Design

To study model behaviour under controlled distributional structure, we define synthetic TKGs as time\-indexed sampling processes over the universe of admissible factsΩ\\Omega\. Our experimental design comprises three ablations, each isolating a distinct temporal\-structural mechanism:*recurrence*,*periodicity*, and*homophily*\. Fact recurrence is a well\-documented property of empirical TKG datasets\[[10](https://arxiv.org/html/2607.09232#bib.bib6)\]\. We therefore examine how well models exploit recurrent facts when this signal is isolated from other confounding factors\. Periodicity captures seasonal regularities in temporal data and is a central concept in time series analysis\[[3](https://arxiv.org/html/2607.09232#bib.bib40)\]\. In temporal networks, such patterns arise in diverse settings, e\.g\., in social interaction data\. Yet, they remain comparatively underexplored in temporal graph modelling\[[30](https://arxiv.org/html/2607.09232#bib.bib38)\]\. We therefore include a periodicity variant to assess whether the models can recover seasonal fact patterns\. Finally, we consider homophily, a fundamental mechanism in network science\. Many real\-world networks exhibit community structure, where entities interact preferentially with members of the same or related groups\[[27](https://arxiv.org/html/2607.09232#bib.bib39)\]\. The homophily variant allows us to evaluate whether the models can capture such group\-based interaction regularities\. Importantly, for the above three variants, we investigate a*persistent*\- and a*break*setting, respectively\. The former aims at discovering whether prospective models are able to capture the variant\-related signal, while the latter aims at discovering whether they are capable of adapting to a sudden distribution shift in the dataset\.

For each timestampt∈𝒯t\\in\\mathcal\{T\}, letmt∈ℕm\_\{t\}\\in\\mathbb\{N\}denote the snapshot edge budget, withmt≤\|Ω\|m\_\{t\}\\leq\|\\Omega\|\. A snapshotGtG\_\{t\}is generated by samplingmtm\_\{t\}distinct triples fromΩ\\Omegaand recording them as timestamped facts\(t,s,r,o\)\(t,s,r,o\)\. All variants can be described by a sampling weight functionwtw\_\{t\}\. The probability mass function is

pt​\(s,r,o\)=wt​\(s,r,o\)∑\(s′,r′,o′\)∈Ωwt​\(s′,r′,o′\)\.p\_\{t\}\(s,r,o\)=\\frac\{w\_\{t\}\(s,r,o\)\}\{\\sum\_\{\(s^\{\\prime\},r^\{\\prime\},o^\{\\prime\}\)\\in\\Omega\}w\_\{t\}\(s^\{\\prime\},r^\{\\prime\},o^\{\\prime\}\)\}\.An observed snapshot is then obtained by samplingptp\_\{t\}without replacement\. The break setting is instantiated via a*break date*τ⋆\\tau^\{\\star\}, which indicates the first timestamp where the distribution shift comes to effect\.

Null\.The null variant serves as the negative\-control process\. At each timestamp, all admissible triples receive identical weight

wt​\(s,r,o\)=k,k\>0\.w\_\{t\}\(s,r,o\)=k,\\quad k\>0\.Consequently, each snapshot is sampled uniformly fromΩ\\Omega, subject only to the fixed edge budget\. Note that systematic performance above a random\-ranking reference on data of this variant cannot be attributable to a meaningful signal in the DGP, but rather to, e\.g\., finite\-sample effects or evaluation\-set structure\.

Recurrence\.The recurrence variant introduces dependence on previously observed facts\. For a triplex=\(s,r,o\)∈Ωx=\(s,r,o\)\\in\\Omega, the*recurrence state*before timestampttis represented by a history score with exponential decay parameterδ∈\(0,1\]\\delta\\in\(0,1\]:ht​\(x\)=∑τ<tδt−τ​𝕀\{\(τ,s,r,o\)∈Gτ\}h\_\{t\}\(x\)=\\sum\_\{\\tau<t\}\\delta^\{t\-\\tau\}\\mathbb\{I\}\_\{\\\{\(\\tau,s,r,o\)\\in G\_\{\\tau\}\\\}\}\. The sampling weight is then given by

wt​\(x\)=exp⁡\(ρ​ht​\(x\)\),ρ≥0,w\_\{t\}\(x\)=\\exp\\left\(\\rho h\_\{t\}\(x\)\\right\),\\qquad\\rho\\geq 0,whereρ\\rhocontrols the strength of the recurrence signal\. As such, triples that have appeared previously receive increased sampling probability in future snapshots\.

In the persistent variant, the recurrence state evolves only through the accumulation and decay of past observations\. In the break variant, the recurrence strength may change, i\.e\.,ρp​r​e\\rho\_\{pre\}can differ fromρp​o​s​t\\rho\_\{post\}\. Moreover, the memory state may be partially reset at the break dateτ⋆\\tau^\{\\star\}: letB​\(x\)∼Ber​\(p\)B\(x\)\\sim\\textnormal\{Ber\}\(p\)forp∈\[0,1\]p\\in\[0,1\]\. Then, once at the break timestamp, the history is modified viahτ⋆​\(x\)=B​\(x\)​hτ⋆−1​\(x\),x∈Ωh\_\{\\tau^\{\\star\}\}\(x\)=B\(x\)h\_\{\\tau^\{\\star\}\-1\}\(x\),\\ x\\in\\Omega\. Facts whereB=0B=0lose their accumulated recurrence score, while facts withB=1B=1retain it\. After the reset, the recurrence state again evolves according to the same update rule\. This variant tests whether forecasting models exploit persistence in fact occurrence and whether they adapt when part of the historical recurrence information is lost\.

Homophily\.The homophily variant introduces community structures in the entity spaceℰ\\mathcal\{E\}\. LetK∈ℕK\\in\\mathbb\{N\}denote the number of latent classes and letct:ℰ→1,…,Kc\_\{t\}:\\mathcal\{E\}\\rightarrow\{1,\\dots,K\}assign each entity to a class at timestamptt\. The sampling weight of a triple then depends on whether its subject and object belong to the same class:

wt​\(s,r,o\)=exp⁡\(γ​𝕀\{ct​\(s\)=ct​\(o\)\}\),γ≥0\.w\_\{t\}\(s,r,o\)=\\exp\\left\(\\gamma\\ \\mathbb\{I\}\_\{\\\{c\_\{t\}\(s\)=c\_\{t\}\(o\)\\\}\}\\right\),\\qquad\\gamma\\geq 0\.Forγ=0\\gamma=0, the process reduces to uniform sampling overΩ\\Omega\. Forγ\>0\\gamma\>0, triples connecting entities in the same latent class receive larger sampling weight than cross\-class triples\. Relations are not class\-specific in this variant; the signal is carried by the induced block structures over entities\.

In the persistent setting, the class assignment is time\-invariant, i\.e\.,ct​\(e\)=c​\(e\)c\_\{t\}\(e\)=c\(e\),e∈ℰ,t∈𝒯e\\in\\mathcal\{E\},\\ t\\in\\mathcal\{T\}\. In the break setting, the homophily strengthγ\\gammamay change fromγp​r​e\\gamma\_\{pre\}toγp​o​s​t\\gamma\_\{post\}, and the latent class allocation may also do so atτ⋆\\tau^\{\\star\}\. In that sense, there are two class mapscprec^\{\\mathrm\{pre\}\}andcpostc^\{\\mathrm\{post\}\}such thatct=cpre​𝕀\{t<τ⋆\}\+cpost​𝕀\{t≥τ⋆\}c\_\{t\}=c^\{\\mathrm\{pre\}\}\\mathbb\{I\}\_\{\\\{t<\\tau^\{\\star\}\\\}\}\+c^\{\\mathrm\{post\}\}\\mathbb\{I\}\_\{\\\{t\\geq\\tau^\{\\star\}\\\}\}\. The number of classes remainsKK, but a part of the partition ofℰ\\mathcal\{E\}is reorganised at the shift, which enables the effect of a changing entity community structure\. Notably, extreme choices ofKKrecover the null data\. IfK=1K=1, all admissible triples connect entities within the same class, so all triples receive the same weightexp⁡\(γ\)\\exp\(\\gamma\)\. IfK=neK=n\_\{e\}and each entity forms its own class, thens≠os\\neq oimpliesct​\(s\)≠ct​\(o\)c\_\{t\}\(s\)\\neq c\_\{t\}\(o\), so all admissible triples receive weight11\.

Periodicity\.The periodicity variant introduces periodical, time\-dependent variations in the fact\-sampling behaviour for each snapshot\. Letℒ=\{H,L,N\}\\mathcal\{L\}=\\\{H,L,N\\\}denote a finite set of temporal signal labels, whereHHandLLcorrespond to restricted signal supports andNNdenotes the null support\. Forℓ∈ℒ\\ell\\in\\mathcal\{L\}, letℰℓ⊆ℰ\\mathcal\{E\}\_\{\\ell\}\\subseteq\\mathcal\{E\}andℛℓ⊆ℛ\\mathcal\{R\}\_\{\\ell\}\\subseteq\\mathcal\{R\}define the entity and relation subsets associated with signal labelℓ\\ell\. The corresponding support isΩℓ=\{\(s,r,o\)∈ℰℓ×ℛℓ×ℰℓ:s≠o\}\\Omega\_\{\\ell\}=\\\{\(s,r,o\)\\in\\mathcal\{E\}\_\{\\ell\}\\times\\mathcal\{R\}\_\{\\ell\}\\times\\mathcal\{E\}\_\{\\ell\}:s\\neq o\\\}\. The null label uses the full admissible universe,ΩN=Ω\\Omega\_\{N\}=\\Omega\. Denoting withLq=×i=1qℒL^\{q\}=\\bigtimes\_\{i=1\}^\{q\}\\mathcal\{L\}theqq\-fold cartesian product of the label set, temporal variation is induced by a sequenceπ∈ℒq\\pi\\in\\mathcal\{L\}^\{q\}\. At a timestamptt, the assigned label isℓt=π1\+\(\(t−1\)modq\)\\ell\_\{t\}=\\pi\_\{1\+\(\(t\-1\)\\bmod q\)\}, and the corresponding sampling spaceΩℓt\\Omega\_\{\\ell\_\{t\}\}\. The sampling weights are given by

wt​\(s,r,o\)=𝕀\{\(s,r,o\)∈Ωℓt\}\.w\_\{t\}\(s,r,o\)=\\mathbb\{I\}\_\{\\\{\(s,r,o\)\\in\\Omega\_\{\\ell\_\{t\}\}\\\}\}\.Thus, conditional on the active temporal phase, all admissible triples insideΩℓt\\Omega\_\{\\ell\_\{t\}\}are equiprobable, whereas triples outside this space cannot be sampled\.

The break setting is established as follows: the periodic mechanism changes at a shift timestampτ⋆∈𝒯\\tau^\{\\star\}\\in\\mathcal\{T\}from one regime into another\. Specifically, for the break setting, a regimeggcan admit two states:g∈\{pre,post\}g\\in\\\{\\mathrm\{pre\},\\mathrm\{post\}\\\}\. Each regime has its own periodic label sequenceπg=\(π1g,…,πqgg\)\\pi^\{g\}=\(\\pi^\{g\}\_\{1\},\\dots,\\pi^\{g\}\_\{q\_\{g\}\}\), whereqgq\_\{g\}denotes the regime’s period length\. The active regime at timestampttisg​\(t\)=pre∗𝕀\{t<τ⋆\}\+post∗𝕀\{t≥τ⋆\}g\(t\)=\\mathrm\{pre\}\*\\mathbb\{I\}\_\{\\\{t<\\tau^\{\\star\}\\\}\}\+\\mathrm\{post\}\*\\mathbb\{I\}\_\{\\\{t\\geq\\tau^\{\\star\}\\\}\}\. Within the active regime, the label is obtained by cycling through the corresponding periodic sequenceℓt=π1\+\(\(t−1\)modqg​\(t\)\)g​\(t\)\\ell\_\{t\}=\\pi^\{g\(t\)\}\_\{1\+\(\(t\-1\)\\bmod q\_\{g\(t\)\}\)\}\. The resulting sampling space at timestampttis then given byΩℓtg​\(t\)\\Omega\_\{\\ell\_\{t\}\}^\{g\(t\)\}\. Thus, the break may change both the periodic pattern and the signal induced by the sampling space shift\. The pre\- and post\-break sampling spaces may differ in size and composition with the following caveat: we impose a nesting relation between the corresponding pre\- and post\-break supports when the induced sub\-space sizes differ\. This means thatΩℓpre⊆Ωℓp​o​s​t\\Omega\_\{\\ell\}^\{\\textnormal\{pre\}\}\\subseteq\\Omega\_\{\\ell\}^\{post\}if\|Ωℓpre\|≤\|Ωℓpost\|\\lvert\\Omega\_\{\\ell\}^\{\\textnormal\{pre\}\}\\rvert\\leq\\lvert\\Omega\_\{\\ell\}^\{\\textnormal\{post\}\}\\rvertand vice\-versa\. This makes the break interpretable as a controlled expansion or contraction of the signal subspace\. An example pattern is presented in[Figure 1](https://arxiv.org/html/2607.09232#S3.F1), whereq=4q=4for all regimes andπpre=\(H,L,N,L\)\\pi^\{\\textrm\{pre\}\}=\(H,L,N,L\)andπpost=\(N,H,L,L\)\\pi^\{\\textrm\{post\}\}=\(N,H,L,L\)with both sub\-spacesH,LH,Lexpanding post\-break\.

![Refer to caption](https://arxiv.org/html/2607.09232v1/x1.png)Figure 1:Schematical periodic pattern of three signal types, measured by inverse subspace\-sampling size\.

## 4Modelling Setup and Evaluation

This section defines the setup used to assess TKG forecasting methods on the proposed synthetic datasets\. We first introduce the common dataset\- and variant\-specific parameters used in the experiments as well as the evaluation protocol\. We note that the chosen parameters constitute exemplary configurations and may, up to the interested reader’s preferences, be altered to varying degrees\. Finally, we specify the link\-prediction architectures and baselines included in the comparison before defining an oracle reference model that scores candidates using the known data\-generating process\. The Code is available on GitHub111[https://github\.com/konradoezdemir/shifting\-tkg](https://github.com/konradoezdemir/shifting-tkg), framework and experiment setup\.\.

### 4\.1Data\- and Evaluation Protocol

All synthetic datasets usene=2500n\_\{e\}=2500entities,nr=16n\_\{r\}=16relations, andT=100T=100timestamps\. Excluding self\-referential facts yields\|Ω\|=9996×104\|\\Omega\|=9996\\times 10^\{4\}admissible facts\. Also, we devise an*observation ratio*of10−410^\{\-4\}\(cf\.[section A3](https://arxiv.org/html/2607.09232#S3a)for details\), such that each dataset contains99969996facts in total, which we simplify tomt=100m\_\{t\}=100facts per snapshot \(i\.e\., our edge budget\)\. We fix break events at timestampτ⋆=67\\tau^\{\\star\}=67to ensure that the models have seen some \(3\), but not many events afterτ⋆\\tau^\{\\star\}during training\. Subsequent hyperparameters are elaborated in[section A4](https://arxiv.org/html/2607.09232#S4a)\.

Recurrence\.The recurrence variants deploy a decay parameter ofδ=0\.95\\delta=0\.95and recurrence strengthρ=7\.5\\rho=7\.5for both settings\. In the break setting, atτ⋆\\tau^\{\\star\},p=50%p=50\\%of the accumulated recurrence memory is reset\.

Homophily\.The homophily variants useK=250K=250latent entity classes, corresponding to an average class size of1010\. The homophily strength is fixed atγ=7\.5\\gamma=7\.5for both settings\. At breakτ⋆\\tau^\{\\star\},50%50\\%of the class structure is reorganised and, in our experiment, approx\.42\.31%42\.31\\%of pre\-break facts change their implied status \(same\-class to cross\-class and cross\-class to same\-class\)\.

Periodicity\.The periodicity variant uses labelsHH,LL, andNN, whereHHandLLdenote restricted signal supports andNNrepresents the full universeΩ\\Omega\. The persistent setting follows the patternπ=\(H,L,N,L\)\\pi=\(H,L,N,L\)\. Here,HHsupport entailsneH=30n\_\{e\}^\{H\}=30entities andnrH=2n\_\{r\}^\{H\}=2relations, whileLLentailsneL=45n\_\{e\}^\{L\}=45andnrL=4n\_\{r\}^\{L\}=4\. The break setting initially follows the same pattern and support configuration as the persistent one\. Atτ⋆\\tau^\{\\star\}, the pattern changes toπpost=\(N,H,L,L\)\\pi^\{\\textnormal\{post\}\}=\(N,H,L,L\), preserving the frequency of each label while altering their temporal ordering\. Simultaneously, the support sizes are expanded: theHHsubspace increases toneH=90n\_\{e\}^\{H\}=90andnrH=8n\_\{r\}^\{H\}=8and theLLsubspace toneL=60n\_\{e\}^\{L\}=60andnrL=4n\_\{r\}^\{L\}=4\. Figure[1](https://arxiv.org/html/2607.09232#S3.F1)illustrates the patterns\.

Evaluation Protocol\.We evaluate model performance in a single\-step setting, closely following the protocol outlined in TGB 2\.0\[[9](https://arxiv.org/html/2607.09232#bib.bib11)\]\. We split each dataset into a train\-, validation\-, and test set with a70:15:1570:15:15ratio\. Following\[[9](https://arxiv.org/html/2607.09232#bib.bib11)\], the dataset preprocessing adds inverse edges so that both tail and head prediction can be evaluated in a tail\-prediction format\. Overall, we report our findings \(mean and standard deviation across five runs\) via the time\-aware Mean Reciprocal Rank \(MRR\) and the proportion of true facts correctly assigned within the firstk∈ℕk\\in\\mathbb\{N\}positions \(Hits@k\)\. However, tie handling differs from TGB 2\.0: When multiple entities receive the same score, we do not assign mean ranks\. Instead, we calculate the expected rank of all tied scores given a uniform sampling approach\[[32](https://arxiv.org/html/2607.09232#bib.bib12)\]\. The chief reason lies in the nature of our oracle \(cf\.[subsection 4\.3](https://arxiv.org/html/2607.09232#S4.SS3)\) and the associated high likelihood of many candidate entities being scored equally, yielding occurrences of large, grouped ties\. For models producing a continuous score \(e\.g\., RE\-GCN\), this should de\-facto equate the mean\-rank tie handle\.

### 4\.2Link Prediction Architectures

In our experiments, we compare representative methods spanning the major classes of TKG forecasting architectures that we described in Section[2](https://arxiv.org/html/2607.09232#S2)222Please find information on all hyperparameters in Appendix[A1](https://arxiv.org/html/2607.09232#S1a)\.: RE\-GCN\[[21](https://arxiv.org/html/2607.09232#bib.bib1)\], TLogic\[[24](https://arxiv.org/html/2607.09232#bib.bib4)\], TimeTraveler\[[31](https://arxiv.org/html/2607.09232#bib.bib7)\], DiMNet\[[6](https://arxiv.org/html/2607.09232#bib.bib8)\], and CognTKE\[[4](https://arxiv.org/html/2607.09232#bib.bib9)\], as well as two heuristic baselines: The single\-relational EdgeBank\[[29](https://arxiv.org/html/2607.09232#bib.bib5)\], which we modify to the multi\-relational setting by incorporating relation types into stored facts; we refer to this variant as*EdgeBank\-RX*\. In addition, we include the Recurrency Baseline\[[10](https://arxiv.org/html/2607.09232#bib.bib6)\]\. Finally, we report random guessing as a lower\-bound, and our oracle scorer as an upper\-bound reference, which we detail below\.

### 4\.3Oracle Reference

We introduce an oracle scorer that enables comparisons across datasets, even when they differ in test sets or underlying sampling distributions\. This reference model*knows*the DGP and does therefore not learn from data\. Specifically, it has access to the probabilities that were used to generate the data, but does not know which edge was sampled at a particular timestamp, except insofar as this is encoded in the past when the generator itself is history\-dependent\. In doing so, it represents an upper bound of capturable signal*in distribution*, i\.e\., over many runs\. Concretely, for each tail\-prediction query\(t,s,r,?\)\(t,s,r,?\), the oracle scores all candidates using the true data variant generation weights at timestamptt\. For a candidate objectoo, it constructsxo=\(s,r,o\)x\_\{o\}=\(s,r,o\)and assigns the score

scoret​\(xo\)=log⁡wt​\(xo\)−log​∑x′∈Ωwt​\(x′\),\\mathrm\{score\}\_\{t\}\(x\_\{o\}\)=\\log w\_\{t\}\(x\_\{o\}\)\-\\log\\sum\_\{x^\{\\prime\}\\in\\Omega\}w\_\{t\}\(x^\{\\prime\}\),where the logarithm is used to expand the scoring range, although any strictly monotonic transformation would preserve the ranking\.

## 5Results

This section presents our experimental results, assessing the TKG forecasting models across all three data variants in both persistent and break settings\.

Recurrence\.For the recurrence variant \(cf\.[Table 1](https://arxiv.org/html/2607.09232#S5.T1)\), the persistent setting demonstrates that the injected signal is recoverable by most models\. Specifically, all models except DiMNet reach at least 90% of the oracle reference, indicating that the persistent recurrence mechanism is well aligned with models capable of exploiting repeated historical facts, including simple memory\-based methods\.

Table 1:Recurrence results: MRRs are mean \(s\.d\.\) over five runs, in percent\.The break setting changes this picture\. Since the oracle reference itself decreases from 20\.25 to 16\.70 MRR, absolute MRR drops should not be interpreted directly as losses in relative signal recovery\. Oracle\-normalised scores show that CognTKE, the Recurrency Baseline, EdgeBank\-RX, and TimeTraveler remain close to the oracle reference, achieving comparable performance as in the persistent setting\. In contrast, particularly the performances of RE\-GCN and TLogic drop substantially\. As a result, the recurrence break primarily distinguishes methods that appear more robust to changes in the recurrence set from those whose temporal representations or rule structures appear less adaptive\.

The strong performance of both recurrence\-based baselines333Notably, the Recurrency Baseline slightly exceeds the oracle reference in the persistent setting: given the sampling\-based nature of the underlying prediction task, such outcomes may occasionally occur\. Oracle scores should therefore not be interpreted as strict upper bounds, but rather as upper bounds in distribution\.\(EdgeBank\-RX and RecurrencyBaseline\) further illustrates that, in recurrence\-dominated data, simple repetition of facts can be highly competitive with more complex neural architectures; this finding is consistent with insights from related work\[[10](https://arxiv.org/html/2607.09232#bib.bib6)\]\.

Homophily\.For the homophily variant \(cf\.[Table 2](https://arxiv.org/html/2607.09232#S5.T2)\), the persistent setting exhibits a different model hierarchy\. The best\-performing methods are DiMNet, TimeTraveler, and CognTKE, reaching oracle reference scores of up to 88%\. While RE\-GCN and TLogic show mediocre performances, the two recurrency\-based methods clearly fall behind with scores of only 4\.8% and 6\.2%\. This suggests that the homophily signal cannot be effectively captured through recurrence\-based mechanisms and instead appears to require models to learn the latent community structure underlying the graph\.

Table 2:Homophily results\. MRRs are mean \(s\.d\.\) over five runs, in percent\.In the break setting, the oracle reference remains nearly unchanged, whereas model performances degrade substantially\. Thus, compared to the persistent setting, the homophily break disproportionately affects methods relying on stable structural or temporal assumptions\. For example, DiMNet drops from 88% of oracle MRR in the persistent setting to only 48% after the break\. We conjecture the following properties to hold accountability for this observation: DiMNet explicitly models a stable factor intended to capture the node evolution without deviating from the node’s steady\-state characteristics and intrinsic properties in the data\[[6](https://arxiv.org/html/2607.09232#bib.bib8)\]\. Moreover, a disentangle\-component is included to separate active and stable features\. While the stable features seem beneficial in the persistent setting, the break \(partially\) obstructs this condition of stability, likely reducing the alignment between the learned stable factor and the true underlying data distribution and thus leading to degraded performance\.

In contrast, CognTKE shows comparatively strong robustness, likely due to this particular model design choice: For any given query, instead of relying on fixed entity embeddings, CognTKE dynamically constructs temporal reasoning graphs\[[4](https://arxiv.org/html/2607.09232#bib.bib9)\]\. Nevertheless, its remaining performance drop indicates that its path retrieval mechanism and reasoning components still depend on historical relational patterns which are disrupted at break timeτ⋆\\tau^\{\\star\}\.

Overall, the homophily break setting represents a challenging structural shift in which no model preserves more than a moderate fraction of the oracle signal, highlighting limited robustness to changes in entity\-class assignments\.

Periodicity\.For the periodicity variant \(cf\.[Table 3](https://arxiv.org/html/2607.09232#S5.T3)\), the persistent setting is highly accessible to most models\. CognTKE, DiMNet, the Recurrency Baseline, and RE\-GCN all achieve near\-oracle performance\. The remaining three methods fall behind, yet still attain at least 84%\.

Table 3:Periodicity results\. MRRs are mean \(s\.d\.\) over five runs, in percent\.This indicates that the persistent periodic signal is comparatively easy to exploit, with model scores similar to those for the recurrence variant\. We conjecture this to be due to the fact that periodicity, in this design, can be roughly identified as a combination of recurrence and homophily: the seasonal pattern induces stable and repeatedly observable temporal regularities, and the disjoint sampling spaces induce community structure between entities\. Under this presupposition and the observation that models that score well on the recurrency variant tend to do so for periodicity, too, it is plausible that the recurrence side is more dominant than the homophily side\.

The structural break changes the seasonal pattern as well as the signal\-related subspace\. It reduces the oracle reference from 8\.30 to 5\.83 MRR, which is predominantly due to the fact that both signal sources’ subspaces expand after the break\. Notably, all models lose oracle\-normalised performance\. While CognTKE achieves the strongest absolute break performance, EdgeBank\-RX and TimeTraveler show the largest/smallest deterioration, respectively\. To showcase performance across time,[Figure 2](https://arxiv.org/html/2607.09232#S5.F2)reports timestamp\-level test MRR for the models in the persistent\- and break setting, with the oracle depicted as a contiguous trajectory line\. The figure primarily demonstrates that, across models, post\-break performance follows the periodic structure more unevenly compared to the persistent setting\. Moreover, periods indicated by theLLsignal are recovered substantially better than those dominated byHH444For the break setting, MRR scores grouped by signal can be found in[Table A4](https://arxiv.org/html/2607.09232#S5.T4)\.\. Overall, our results suggest that periodicity is broadly learnable under stationary conditions, but that changes in seasonal support expose the limitations of methods relying on fact repetition\.

![Refer to caption](https://arxiv.org/html/2607.09232v1/x2.png)Figure 2:MRR per test timestamp, averaged over five runs, for all methods and the oracle on the persistent \(left\) and break \(right\) periodicity variants\. Dashed vertical lines indicate period\-start\. One period for each setting is annotated\.
## 6Conclusion and Final Remarks

This section outlines takeaways, limitations, and directions for future research\.

Conclusion\.Across our experiments, robustness proved highly signal\-dependent: recurrence and periodicity were generally recoverable under stationary conditions, whereas structural breaks often led to substantial performance degradation\. Homophily\-driven structure posed the greatest challenge, suggesting that latent community dynamics remain difficult for current architectures to capture\. Overall, our results indicate that benchmark performance alone provides only a partial view of model capabilities and that controlled analyses of underlying DGPs can yield complementary insights into what models actually learn\.

Limitations\.Our conclusions are necessarily tied to the design choices of this study\. Recurrence, homophily, and periodicity were instantiated through specific mechanisms and break configurations, while parameters such as break points and observation ratios were selected to provide controlled and interpretable settings\. Consequently, our findings should be viewed as evidence of relative robustness within the studied scenarios rather than general statements about TKG models\.

Future Work\.Motivated by insights from network science and time series analysis, this work constitutes an initial step toward a systematic study of distribution shifts in TKG forecasting\. Future work could explore additional shift mechanisms, such as bursts of previously unseen entities, shifts in degree distributions as well as interactions thereof\. Another important direction concerns the investigation of gradual shifts instead of abrupt changes\. More broadly, we envision controlled synthetic benchmarks that complement real\-world datasets and enable principled evaluation of robustness under evolving DGPs\.

## References

- \[1\]J\. Bai and P\. Perron\(1998\)Estimating and testing linear models with multiple structural changes\.Econometrica66\(1\),pp\. 47–78\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[2\]C\. Blöcker, M\. Rosvall, I\. Scholtes, and J\. D\. West\(2026\)Deep graph learning will stall without network science\.arXiv preprint arXiv:2502\.01177\.External Links:2502\.01177Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p3.1)\.
- \[3\]G\. E\. Box, G\. M\. Jenkins, G\. C\. Reinsel, and G\. M\. Ljung\(2015\)Time series analysis: forecasting and control\.pp\. 305–351\.Cited by:[§3\.2](https://arxiv.org/html/2607.09232#S3.SS2.p1.1)\.
- \[4\]W\. Chen, Y\. Wu, S\. Wu, Z\. Zhang, M\. Liao, Y\. Lin, and H\. Wan\(2025\)Cogntke: a cognitive temporal knowledge extrapolation framework\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.39,pp\. 14815–14823\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p1.1),[§2](https://arxiv.org/html/2607.09232#S2.p2.1),[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1),[§5](https://arxiv.org/html/2607.09232#S5.p7.1)\.
- \[5\]A\. Dizaji, B\. A\. Tjandra, M\. Hamidi, S\. Huang, and G\. Rabusseau\(2026\)T\-grab: a synthetic diagnostic benchmark for learning on temporal graphs\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2628–2639\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p3.1)\.
- \[6\]H\. Dong, Z\. Qiao, Z\. Ning, Q\. Hao, Y\. Du, P\. Wang, and Y\. Zhou\(2025\)Disentangled multi\-span evolutionary network against temporal knowledge graph reasoning\.InFindings of the Association for Computational Linguistics: ACL 2025,pp\. 12697–12707\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p1.1),[§2](https://arxiv.org/html/2607.09232#S2.p2.1),[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1),[§5](https://arxiv.org/html/2607.09232#S5.p6.1)\.
- \[7\]Y\. Du, J\. Wang, W\. Feng, S\. J\. Pan, T\. Qin, R\. Xu, and C\. Wang\(2021\)AdaRNN: adaptive learning and forecasting of time series\.InCIKM,pp\. 402–411\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[8\]J\. Gama, I\. Žliobaite, A\. Bifet, M\. Pechenizkiy, and A\. Bouchachia\(2014\-03\)A survey on concept drift adaptation\.ACM Comput\. Surv\.46\(4\)\.External Links:ISSN 0360\-0300Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p2.1),[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[9\]J\. Gastinger, S\. Huang, M\. Galkin, E\. Loghmani, A\. Parviz, F\. Poursafaei, J\. Danovitch, E\. Rossi, I\. Koutis, H\. Stuckenschmidt, R\. Rabbany, and G\. Rabusseau\(2024\)TGB 2\.0: a benchmark for learning on temporal knowledge graphs and heterogeneous graphs\.InAdvances in Neural Information Processing Systems,Vol\.37,pp\. 140199–140229\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p4.1),[§2](https://arxiv.org/html/2607.09232#S2.p3.1),[§4\.1](https://arxiv.org/html/2607.09232#S4.SS1.p5.2)\.
- \[10\]J\. Gastinger, C\. Meilicke, F\. Errica, T\. Sztyler, A\. Schuelke, and H\. Stuckenschmidt\(2024\)History repeats itself: a baseline for temporal knowledge graph forecasting\.InProceedings of the Thirty\-Third International Joint Conference on Artificial Intelligence,pp\. 4016–4024\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p3.1),[§3\.2](https://arxiv.org/html/2607.09232#S3.SS2.p1.1),[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1),[§5](https://arxiv.org/html/2607.09232#S5.p4.1)\.
- \[11\]J\. Gastinger, T\. Sztyler, L\. Sharma, A\. Schuelke, and H\. Stuckenschmidt\(2023\)Comparing apples and oranges? On the evaluation of methods for temporal knowledge graph forecasting\.InJoint European Conference on Machine Learning and Knowledge Discovery in Databases \(ECML PKDD\),pp\. 533–549\.Cited by:[§3\.1](https://arxiv.org/html/2607.09232#S3.SS1.p2.8)\.
- \[12\]S\. Gui, X\. Li, L\. Wang, and S\. Ji\(2022\)GOOD: a graph out\-of\-distribution benchmark\.InAdvances in Neural Information Processing Systems,S\. Koyejo, S\. Mohamed, A\. Agarwal, D\. Belgrave, K\. Cho, and A\. Oh \(Eds\.\),Vol\.35,pp\. 2059–2073\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[13\]Z\. Han, P\. Chen, Y\. Ma, and V\. Tresp\(2021\)Explainable subgraph reasoning for forecasting on temporal knowledge graphs\.In9th International Conference on Learning Representations \(ICLR\),Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p1.1)\.
- \[14\]Z\. Han\(2022\)Relational learning on temporal knowledge graphs\.PhD thesis,Ludwig–Maximilians–University,Munich, Germany\.Cited by:[§3\.1](https://arxiv.org/html/2607.09232#S3.SS1.p2.8)\.
- \[15\]A\. J\. Hayes, T\. Schumacher, and M\. Strohmaier\(2025\)What do temporal graph learning models learn?\.arXiv preprint arXiv:2510\.09416\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p3.1),[§2](https://arxiv.org/html/2607.09232#S2.p3.1)\.
- \[16\]T\. Kim, J\. Kim, Y\. Tae, C\. Park, J\. Choi, and J\. Choo\(2022\)Reversible instance normalization for accurate time\-series forecasting against distribution shift\.InICLR,Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p2.1),[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[17\]L\. Kirchdorfer, K\. Özdemir, H\. van der Aa, and H\. Stuckenschmidt\(2026\)Arrival times in dynamic environments: modeling, evaluation, and benchmarking for business process simulation\.Process Sci\.3\(1\),pp\. 9\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[18\]H\. Li, X\. Wang, Z\. Zhang, and W\. Zhu\(2025\)Out\-of\-distribution generalization on graphs: A survey\.IEEE Trans\. Pattern Anal\. Mach\. Intell\.47\(11\),pp\. 10490–10512\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[19\]X\. V\. Li and F\. Sanna Passino\(2024\)Findkg: dynamic knowledge graphs with large language models for detecting global trends in financial markets\.InProceedings of the 5th ACM International Conference on AI in Finance,pp\. 573–581\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p1.1)\.
- \[20\]Z\. Li, S\. Guan, X\. Jin, W\. Peng, Y\. Lyu, Y\. Zhu, L\. Bai, W\. Li, J\. Guo, and X\. Cheng\(2022\)Complex evolutional pattern learning for temporal knowledge graph reasoning\.InProceedings of the 60th annual meeting of the association for computational linguistics \(volume 2: short papers\),pp\. 290–296\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p2.1)\.
- \[21\]Z\. Li, X\. Jin, W\. Li, S\. Guan, J\. Guo, H\. Shen, Y\. Wang, and X\. Cheng\(2021\)Temporal knowledge graph reasoning based on evolutional representation learning\.SIGIR ’21,New York, NY, USA,pp\. 408–417\.External Links:ISBN 9781450380379Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p1.1),[§2](https://arxiv.org/html/2607.09232#S2.p2.1),[§A3](https://arxiv.org/html/2607.09232#S3a.p1.8),[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1)\.
- \[22\]Q\. Liu, S\. Sun, Y\. Liang, X\. Xu, M\. Liu, M\. Bilal, Y\. Wang, X\. Li, and Y\. Zheng\(2025\)REFOL: resource\-efficient federated online learning for traffic flow forecasting\.IEEE Trans\. Intell\. Transp\. Syst\.26\(2\),pp\. 2777–2792\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[23\]Y\. Liu, H\. Wu, J\. Wang, and M\. Long\(2022\)Non\-stationary transformers: exploring the stationarity in time series forecasting\.InNeurIPS,Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[24\]Y\. Liu, Y\. Ma, M\. Hildebrandt, M\. Joblin, and V\. Tresp\(2022\)Tlogic: temporal logical rules for explainable link forecasting on temporal knowledge graphs\.InProceedings of the AAAI conference on artificial intelligence,Vol\.36,pp\. 4120–4127\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p2.1),[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1)\.
- \[25\]M\. Mirtaheri, M\. Rostami, and A\. Galstyan\(2023\-07\)History repeats: overcoming catastrophic forgetting for event\-centric temporal knowledge graph completion\.InFindings of the Association for Computational Linguistics: ACL 2023,A\. Rogers, J\. Boyd\-Graber, and N\. Okazaki \(Eds\.\),Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p5.1)\.
- \[26\]N\. Mouton, G\. Louw, and G\. Strydom\(2013\)Restructuring and mergers of the south african post\-apartheid tertiary system \(1994\-2011\): a critical analysis\.Journal of International Education Research9\(2\),pp\. 127\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p2.1)\.
- \[27\]M\. Newman\(2018\-07\)Networks\.pp\. 226–241\.Cited by:[§3\.2](https://arxiv.org/html/2607.09232#S3.SS2.p1.1)\.
- \[28\]M\. H\. Pesaran, D\. Pettenuzzo, and A\. Timmermann\(2006\-10\)Forecasting time series subject to multiple structural breaks\.The Review of Economic Studies73\(4\),pp\. 1057–1084\.Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p2.1),[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[29\]F\. Poursafaei, S\. Huang, K\. Pelrine, and R\. Rabbany\(2022\)Towards better evaluation for dynamic link prediction\.Advances in Neural Information Processing Systems35,pp\. 32928–32941\.Cited by:[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1)\.
- \[30\]H\. Qin, R\. Li, G\. Wang, L\. Qin, Y\. Cheng, and Y\. Yuan\(2019\)Mining periodic cliques in temporal networks\.In2019 IEEE 35th International Conference on Data Engineering \(ICDE\),pp\. 1130–1141\.Cited by:[§3\.2](https://arxiv.org/html/2607.09232#S3.SS2.p1.1)\.
- \[31\]H\. Sun, J\. Zhong, Y\. Ma, Z\. Han, and K\. He\(2021\)Timetraveler: reinforcement learning for temporal knowledge graph forecasting\.InProceedings of the 2021 conference on empirical methods in natural language processing,pp\. 8306–8319\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p2.1),[§4\.2](https://arxiv.org/html/2607.09232#S4.SS2.p1.1)\.
- \[32\]Z\. Sun, S\. Vashishth, S\. Sanyal, P\. Talukdar, and Y\. Yang\(2020\)A re\-evaluation of knowledge graph completion methods\.InProceedings of the 58th annual meeting of the association for computational linguistics,pp\. 5516–5522\.Cited by:[§4\.1](https://arxiv.org/html/2607.09232#S4.SS1.p5.2)\.
- \[33\]Z\. Sun, X\. Qu, Y\. Yang, C\. Song, D\. Li, Z\. Jiang, and R\. Zhang\(2025\)Temporal knowledge graph reasoning with reinforcement learning for clinical gastritis prediction\.InProceedings of the 2024 10th International Conference on Communication and Information Processing,ICCIP ’24,New York, NY, USA\.External Links:ISBN 9798400717444Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p1.1)\.
- \[34\]H\. Tahmasbi, M\. Jalali, and H\. Shakeri\(2021\)TSCMF: temporal and social collective matrix factorization model for recommender systems\.J\. Intell\. Inf\. Syst\.56\(1\),pp\. 169–187\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[35\]Z\. Zhang, X\. Wang, Z\. Zhang, H\. Li, Z\. Qin, and W\. Zhu\(2022\)Dynamic graph neural networks under spatio\-temporal distribution shift\.InNeurIPS,Cited by:[§1](https://arxiv.org/html/2607.09232#S1.p2.1),[§2](https://arxiv.org/html/2607.09232#S2.p4.1)\.
- \[36\]Z\. Zhang, W\. Chen, Y\. Lin, and H\. Wan\(2025\)A generative adaptive replay continual learning model for temporal knowledge graph reasoning\.InACL \(1\),pp\. 10964–10977\.Cited by:[§2](https://arxiv.org/html/2607.09232#S2.p5.1)\.

Appendix

## A1Model Parametrisations and Optimisation Regimes

In the following, we provide an overview of the training and fine\-tuning regimes used for the benchmark models\. Hyperparameter tuning was performed as a grid search: candidate configurations were selected by validation MRR, while test evaluation was disabled during tuning and reserved for the final concrete model runs\. Importantly, the hyperparameters are mainly selected from the ranges specified in the original papers and code repositories\. Unless explicitly listed in the tuning grid inLABEL:tab:HPO, all model parameters were kept fixed at the defaults\.

RE\-GCN\.RE\-GCN was trained with the ConvTransE decoder and UVR\-GCN encoder, using 200 hidden dimensions, 100 bases, dropout0\.20\.2, learning rate10−310^\{\-3\}, gradient clipping at1\.01\.0, and early stopping with patience 20 over 50 epochs\. Tuning varied the number of recurrent layersnlayers∈\{1,2\}n\_\{\\text\{layers\}\}\\in\\\{1,2\\\}and the temporal history length∈\{1,2,3,4,5,10,15\}\\in\\\{1,2,3,4,5,10,15\\\}, applied jointly to train\- and evaluation history\.

TLogic\.TLogic was run as a rule\-based baseline with minimum confidence0\.010\.01, minimum body support 2, and separate score parametersλ\\lambdaandα\\alpha\. The tuning grid varied the number of walks\{10,100,200\}\\\{10,100,200\\\}, transition distribution\{exp,unif\}\\\{\\mathrm\{exp\},\\mathrm\{unif\}\\\}, rule lengths\{\[1,2,3\]\}\\\{\[1,2,3\]\\\}, temporal window\{10,50,0\}\\\{10,50,0\\\}, top\-k∈\{10,20\}k\\in\\\{10,20\\\},α∈\{0,0\.5,1\}\\alpha\\in\\\{0,0\.5,1\\\}, andλ∈\{0\.1,0\.5,1\}\\lambda\\in\\\{0\.1,0\.5,1\\\}\.

Timetraveler\.TimeTraveler used dynamic entity embeddings, path length 3, beam size 100, entity dimension 80, relation/state/hidden dimension 100, and time dimension 20\. It was trained for up to 50 epochs with batch size 512, learning rate10−310^\{\-3\}, gradient clipping at 10, and patience 20\. Tuning varied only the maximum action number∈\{30,50,60\}\\in\\\{30,50,60\\\}\.

Recurrency baseline\.The recurrency baseline used a window of 0 with bothψ\\psiandξ\\xiscoring components enabled\. The default fallback values wereλψ=0\.1\\lambda\_\{\\psi\}=0\.1andα=0\.99999\\alpha=0\.99999\. Its tuning regime activated learning of bothλψ\\lambda\_\{\\psi\}andα\\alphaon the validation split, using the runner’s internal grids, while leaving the rest of the scoring setup fixed\.

DimNet\.DiMNet used 128 input dimensions, top\-k=50k=50, TransE messages, PNA aggregation, shortcut connections, layer normalisation, RReLU activation, and dropout0\.20\.2\. It was trained for up to 50 epochs with learning rate10−310^\{\-3\}, weight decay10−410^\{\-4\}, gradient clipping at1\.01\.0, and patience 20\. Tuning varied history length\{10,2,5\}\\\{10,2,5\\\}, number of layers\{1,3\}\\\{1,3\\\}, and number of attention heads\{1,4\}\\\{1,4\\\}\.

CognTKE\.CognTKE was run with the TRED\_GNN20 architecture, using 3 layers, a temporal window size of 10, hidden dimension 64, maximum global window size 5000, attention dimension 5, IDD activation, dropout0\.250\.25, time dimension 16, and regularisation parameterλ=0\.00012\\lambda=0\.00012\. It was trained for up to 50 epochs with batch size 128, learning rate5×10−35\\times 10^\{\-3\}, gradient clipping at1\.01\.0, and early stopping with patience 20\.

TableLABEL:tab:HPOdetails the selected hyperparameter configurations and their results\.

Table A1:Validation\-selected hyperparameter configurations used for experiments\. Regime abbreviations: H\-P/H\-B = Homophily Persistent/Break, R\-P/R\-B = Recurrence Persistent/Break, P\-P/P\-B = Periodicity Persistent/Break\.ModelRegimeVal\. MRRSelected parametersRE\-GCNH\-P0\.1679his\_len=2, n\_ly=2RE\-GCNH\-B0\.0916his\_len=1, n\_ly=2RE\-GCNR\-P0\.1601his\_len=10, n\_ly=1RE\-GCNR\-B0\.1114his\_len=15, n\_ly=1RE\-GCNP\-P0\.0929his\_len=10, n\_ly=1RE\-GCNP\-B0\.0507his\_len=4, n\_ly=2DiMNetH\-P0\.2481his\_len=5, n\_head=4, n\_ly=1DiMNetH\-B0\.1237his\_len=10, n\_head=4, n\_ly=1DiMNetR\-P0\.1614his\_len=2, n\_head=1, n\_ly=1DiMNetR\-B0\.1110his\_len=5, n\_head=1, n\_ly=3DiMNetP\-P0\.0950his\_len=10, n\_head=1, n\_ly=1DiMNetP\-B0\.0497his\_len=5, n\_head=4, n\_ly=1TimeTH\-P0\.2214max\_action\_n=30TimeTH\-B0\.1239max\_action\_n=30TimeTR\-P0\.1661max\_action\_n=50TimeTR\-B0\.1209max\_action\_n=50TimeTP\-P0\.0894max\_action\_n=50TimeTP\-B0\.0499max\_action\_n=30TLogicH\-P0\.0954α\\alpha=0,λ\\lambda=0\.1, n\_walks=200, top\_k=10, t\_distr=exp, win=0TLogicH\-B0\.0461α\\alpha=0\.5,λ\\lambda=0\.5, n\_walks=200, top\_k=10, t\_distr=unif, win=0TLogicR\-P0\.1604α\\alpha=0,λ\\lambda=0\.1, n\_walks=200, top\_k=10, t\_distr=unif, win=10TLogicR\-B0\.1147α\\alpha=0,λ\\lambda=0\.1, n\_walks=10, top\_k=10, t\_distr=exp, win=10TLogicP\-P0\.0930α\\alpha=1,λ\\lambda=0\.1, n\_walks=200, top\_k=20, t\_distr=unif, win=50TLogicP\-B0\.0462α\\alpha=1,λ\\lambda=0\.1, n\_walks=200, top\_k=20, t\_distr=exp, win=50RecBLH\-P0\.0187learn\_α\\alpha=true, learn\_λ\\lambda\_psi=trueRecBLH\-B0\.0103learn\_α\\alpha=true, learn\_λ\\lambda\_psi=trueRecBLR\-P0\.1699learn\_α\\alpha=true, learn\_λ\\lambda\_psi=trueRecBLR\-B0\.1240learn\_α\\alpha=true, learn\_λ\\lambda\_psi=trueRecBLP\-P0\.0995learn\_α\\alpha=true, learn\_λ\\lambda\_psi=trueRecBLP\-B0\.0555learn\_α\\alpha=true, learn\_λ\\lambda\_psi=true
## A2Self\-referential Facts

As indicated via[Table A2](https://arxiv.org/html/2607.09232#S2.T2), facts where the subject\- and object entity coincide tend to occur quite rarely and, at times, not at all\. For this reason, we make the simplifying assumption of excluding such observations throughout our experiments for representative\- and ease\-of\-modelling purposes\. The incorporation of such facts may of course be pursued by the interested reader\.

Table A2:Self\-referential facts across real temporal knowledge graph datasets\.
## A3Observation Ratio Groundwork

As a guardrail for our data generation mechanism, we leverage an*observation ratio*, which we lay out as the ratio of seen vs\. possible facts across all timestamps\. In principle, we assume data to be non\-self\-referential and calculate the size of the induced universe of fact triplets via\|Ω\|=nr​\(ne2−ne\)\|\\Omega\|=n\_\{r\}\(n\_\{e\}^\{2\}\-n\_\{e\}\)\. Dividing the number of observations of a real dataset across all timestamps by this factor yields a heuristic\-type estimate for our synthetic data size\. This estimate, in combination withne,nrn\_\{e\},n\_\{r\}being set a\-priori, allows for the calculation of the number of observations relative to the fact universe\. For example, in YAGO,\|Ω\|\|\\Omega\|amounts to1\.128×1091\.128\\times 10^\{9\}\. The number of observations in the dataset lies at201089201089, yielding an observation ratio of1\.78211×10−41\.78211\\times 10^\{\-4\}\. The approximate mean ratio over a set of well\-established TKGs \(cf\.\[[21](https://arxiv.org/html/2607.09232#bib.bib1)\]for base statistics\) is approx\.10−410^\{\-4\}, as shown in Table[A3](https://arxiv.org/html/2607.09232#S3.T3)\. Therefore, in this work, we set the total number of observations for a dataset as the product of this ratio with the size of the fact universe\|Ω\|\|\\Omega\|\.

Table A3:Dataset characteristics and observation ratio\.
## A4On Hyperparameters for the TKG Generator

The hyperparameters of each data variant affect the experiments in two related ways: they determine the strength of the intended signal and, within this signal regime, the resulting forecasting difficulty\. In the recurrence variant, for example, increasingρ\\rhomakes historical facts dominate the sampling distribution\. In the limitρ→∞\\rho\\rightarrow\\infty, this leads to near\-deterministic resampling and therefore to a trivial forecasting task, with MRR values close to100%100\\%\. Conversely, asρ→0\\rho\\rightarrow 0, the recurrence signal vanishes\. Hence, useful parameter choices lie in an admissible range inℝ\+\\mathbb\{R\}^\{\+\}where signal strength and forecasting difficulty remain balanced\. Preliminary experiments indicated thatρ=7\.5\\rho=7\.5provides a suitable representative of this range\. The hyperparameters of the remaining simulation variants were chosen according to the same principle\. Since the results depend on these choices, we aim at systematic analyses regarding the sensitivity of both the generated data distributions and model performance to the selected parameters for future work\.

## A5Additional Results

Here, we provide additional results that accompany our main paper\. Table[A4](https://arxiv.org/html/2607.09232#S5.T4)shows the MRR results for the periodicity dataset under the break variant, separated for the two signals H and L\. Further, Tables[A6](https://arxiv.org/html/2607.09232#S5.T6)–[A8](https://arxiv.org/html/2607.09232#S5.T8)show the Hits@k results, and Table[A5](https://arxiv.org/html/2607.09232#S5.T5)reports the runtimes\. Experiments were run on a system encompassing an NVIDIA A40 \(48GB VRAM\) and an AMD EPYC 7713P \(2GHz@64 Cores, 128 Threads\) with 512GB of RAM\.

Table A4:Ablation – Periodicity, break variant: test MRR by active signal pattern\. Scores are mean \(standard deviation\) over five runs, in percent\.Table A5:Runtime across all data\-variant and effect\-mode combinations\. Scores are mean \(s\.d\.\) in minutes\. p\. indicates persistent, b\. indicates break\.Table A6:Hits@k performance on the periodicity variants\. Scores are mean \(s\.d\.\) over five runs, in percent; %O gives the percentage of the corresp\. oracle score\.Table A7:Hits@k performance on the homophily variants\. Scores are mean \(s\.d\.\) over five runs, in percent; %O gives the percentage of the corresp\. oracle score\.Table A8:Hits@k performance on the recurrence variants\. Scores are mean \(s\.d\.\) over five runs, in percent; %O gives the percentage of the corresp\. oracle score\.

Similar Articles

STKAN: Kolmogorov-Arnold Networks for Spatio-Temporal Forecasting

arXiv cs.LG

This paper introduces STKAN, a spatio-temporal forecasting architecture that integrates Taylor-polynomial Kolmogorov-Arnold Network modules for spatial and temporal token mixing. Experiments on five traffic benchmarks show competitive performance, suggesting nonlinear function approximators can complement architectural design.

GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attention

arXiv cs.AI

This paper proposes GRATE (Gated Rotary Attention for Temporal Encoding), a parameter-free temporal encoding method that enhances inductive knowledge graph foundation models by incorporating relative time differences and query-conditioned gating. It also introduces new inductive temporal knowledge graph benchmarks (GDELTIndT and WIKIIndT) to evaluate cross-dataset transfer, demonstrating improved performance over static base models.