TL;DR
This paper introduces a fully controllable synthetic data generator to evaluate Temporal Knowledge Graph (TKG) forecasting models under distribution shifts. By isolating specific data-generating mechanisms—recurrence, homophily, and periodicity—the authors demonstrate that while current models excel in stationary environments, they struggle significantly with sudden structural breaks, particularly shifts in latent community structures.
What Problem Does This Paper Address?
Real-world relational data is rarely stationary; geopolitical alliances shift, user preferences evolve, and seasonal patterns change. Temporal Knowledge Graphs (TKGs) attempt to model these dynamic systems by recording facts as timestamped triplets (subject, relation, object).
However, current TKG forecasting models are almost exclusively evaluated on static, empirical benchmarks. Because these real-world datasets mix multiple underlying patterns together, it is impossible to isolate what a model is actually learning or how robust it is to sudden changes in the environment (distribution shifts). This paper addresses this blind spot by providing a framework to systematically test models against controlled structural breaks.
Methods
The authors developed a synthetic TKG data generator capable of isolating three fundamental network mechanisms:
- Recurrence: Models the tendency of facts to repeat over time using a history score with exponential decay.
- Homophily: Organizes entities into latent communities where they preferentially interact with members of the same group.
- Periodicity: Cycles fact-sampling probabilities through distinct temporal phases.
For each mechanism, the generator instantiates two environments: a persistent (stationary) setting and a break setting where a sudden distribution shift occurs at a specific timestamp ($\tau^*$).
The authors evaluated seven forecasting architectures—including deep learning models (RE-GCN, DiMNet, CognTKE), reinforcement learning (TimeTraveler), rule-based systems (TLogic), and simple heuristics (EdgeBank-RX, Recurrency Baseline). To establish a true performance ceiling, they compared these models against an omniscient Oracle Reference that knows the exact data-generating probabilities at any given second.
Datasets
The primary evaluation relies on newly introduced synthetic datasets generated by the authors' tool, featuring 2,500 entities, 16 relations, and 100 timestamps.
To ground the synthetic data in reality, the authors analyzed five well-established empirical TKG datasets (ICEWS14, ICEWS18, WIKI, YAGO, and GDELT). They used these real-world benchmarks to calculate a realistic "observation ratio" (the ratio of observed facts to the total universe of possible facts, set to $10^{-4}$) and to justify the exclusion of self-referential facts, which appear in fewer than 0.01% of real-world cases.
Key Insights and Ideas
- Robustness is highly signal-dependent: A model's ability to handle a distribution shift depends entirely on the type of signal it is tracking. Models that easily adapt to a sudden drop in fact repetition fail completely when community structures reorganize.
- Simple baselines are deceptively competitive: When data is dominated by recurrence, trivial memory-based heuristics (like the Recurrency Baseline) perform on par with or better than complex deep learning architectures.
- Stability assumptions can backfire: Advanced models like DiMNet explicitly separate and rely on "stable" node features to capture steady-state characteristics. While highly effective in stationary environments, this architectural assumption severely hinders the model's ability to adapt when a structural break shatters that stability.
- Homophily shifts are the ultimate challenge: Sudden re-allocations of entity-community structures proved to be the hardest shift for all models to navigate, revealing a fundamental limitation in how current architectures learn latent structural representations.
Key Results
Performance was measured using the time-aware Mean Reciprocal Rank (MRR) relative to the Oracle's performance:
- Recurrence: In the persistent setting, most models recovered over 90% of the Oracle MRR. When a 50% memory reset break was introduced, CognTKE and the Recurrency Baseline proved highly adaptive, retaining over 97% of the relative oracle performance, whereas RE-GCN and TLogic degraded significantly.
- Homophily: In the stationary setting, DiMNet led the pack, achieving 87.65% of the Oracle MRR. However, when 50% of the community structure was reorganized during a break, DiMNet’s relative performance plummeted to 47.55%. No model preserved more than a moderate fraction of the signal post-break.
- Periodicity: Persistent periodic loops were highly learnable (most models achieved >90% Oracle MRR). Introducing a structural break that expanded and shifted the periodic subspaces caused a universal drop in oracle-normalized performance.
The schematic below illustrates how the periodic mechanism shifts and expands its signal subspaces before and after a structural break:
Limitations and Future Work
The authors note that their synthetic generation mechanisms are specific mathematical formulations that do not capture every real-world nuance. Additionally, this study focuses exclusively on sudden, abrupt structural breaks rather than gradual distribution shifts.
Future work includes expanding the generator to simulate other shift mechanisms—such as the sudden burst of entirely unseen entities or evolving node degree distributions—and developing benchmarks specifically tailored to evaluate gradual environmental drift.
Summary updated