Temporal Knowledge Graph Reasoning (TKGR) is a critical task for understanding evolving systems, from geopolitical shifts to financial market fluctuations. However, existing models often struggle with two distinct challenges: interpolation (filling in historical gaps) and extrapolation (forecasting future events). DynaGen addresses these by introducing a unified framework that combines dynamic entity-centric subgraphs with a novel diffusion-based generative regularization step.
The Challenges of Temporal Reasoning
Existing TKGR methods typically falter due to two primary issues:
- Limited Contextual Modeling: Many models treat historical facts as isolated units, focusing on pairwise semantics while ignoring the broader, dynamic structural context surrounding an entity.
- Cognitive Generalization Bias: Forecasting models often rely on a two-stage pipeline (graph encoding followed by RNNs) that tends to memorize historical training distributions. Consequently, they fail to generalize when faced with novel, emergent event patterns in the future because they haven't captured the underlying generative mechanisms of the graph's evolution.
The DynaGen Architecture
DynaGen proposes a unified architecture designed to learn the fundamental rules of graph dynamics rather than just superficial patterns.
Key Innovations
- Synergistic Structure-Aware Encoder (SSAE): Instead of processing isolated facts, DynaGen builds a time-aware subgraph around a query entity using Breadth-First Search (BFS). This subgraph is processed by a dual-branch GNN: a Relational-GCN captures relational semantics, while a Graph Attention Network (GAT) identifies structural importance. A temporal gate then fuses these signals, prioritizing more recent events.
- Generative Regularization via Diffusion: To mitigate extrapolation bias, DynaGen incorporates a conditional diffusion process during training. The model adds noise to the SSAE's structural representations and then trains a denoising network to reconstruct them using only the query relation and timestamp. This forces the encoder to learn robust, generalizable rules of how local structures form.
- Unified Reasoning Module: Final predictions are derived by passing regularized representations through a Transformer (for atomic dependencies) and an MLP-Mixer (for global context aggregation).
Notably, the diffusion module is discarded during inference, allowing the model to benefit from generative learning without incurring additional computational costs at runtime.
Experimental Results
DynaGen was evaluated across six standard TKG benchmarks, including GDELT, ICEWS, YAGO, and Wikidata. These datasets represent a wide range of temporal granularities and structural densities.
As shown in the results, DynaGen achieved state-of-the-art (SOTA) performance across all benchmarks:
- Extrapolation: Improved Mean Reciprocal Rank (MRR) by an average of 1.45 points over the strongest baselines. On the dense GDELT dataset, it reached an MRR of 52.41.
- Interpolation: Improved MRR by an average of 2.61 points, highlighting the effectiveness of the SSAE in capturing rich historical context.
- Efficiency: Despite the complex training phase, DynaGen maintains high inference efficiency, processing test batches in seconds due to the removal of the diffusion module post-training.
Conclusion and Future Work
DynaGen demonstrates that treating diffusion as a regularizer rather than a final output generator can significantly enhance the robustness of graph encoders. While the current model relies on heuristic subgraph extraction (BFS), future research may explore learned subgraph generation to further reduce noise and capture long-range logical dependencies more effectively.
Summary updated