[Paper Review] On the Equivalence Between Temporal and Static Graph Representations for Observational Predictions
This paper proposes a novel time-then-graph framework for temporal graph representation learning, where node and edge dynamics are first encoded sequentially (e.g., via RNNs or Transformers), then fed into a static graph neural network. It theoretically and empirically demonstrates that this approach offers superior expressivity and performance over standard time-and-graph methods when using limited-expressivity GNNs, while also achieving better efficiency in real-world tasks.
This work formalizes the associational task of predicting node attribute evolution in temporal graphs from the perspective of learning equivariant representations. We show that node representations in temporal graphs can be cast into two distinct frameworks: (a) The most popular approach, which we denote as time-and-graph, where equivariant graph (e.g., GNN) and sequence (e.g., RNN) representations are intertwined to represent the temporal evolution of node attributes in the graph; and (b) an approach that we denote as time-then-graph, where the sequences describing the node and edge dynamics are represented first, then fed as node and edge attributes into a static equivariant graph representation that comes after. Interestingly, we show that time-then-graph representations have an expressivity advantage over time-and-graph representations when both use component GNNs that are not most-expressive (e.g., 1-Weisfeiler-Lehman GNNs). Moreover, while our goal is not necessarily to obtain state-of-the-art results, our experiments show that time-then-graph methods are capable of achieving better performance and efficiency than state-of-the-art time-and-graph methods in some real-world tasks, thereby showcasing that the time-then-graph framework is a worthy addition to the graph ML toolbox.
Motivation & Objective
- To formalize observational prediction in temporal graphs through the lens of equivariant representation learning.
- To address the limitation of existing time-and-graph methods in capturing complex temporal dynamics with limited-expressivity GNNs.
- To propose and analyze a new time-then-graph framework that separates temporal sequence modeling from static graph representation learning.
- To establish theoretical and empirical advantages of time-then-graph over time-and-graph architectures in expressivity and efficiency.
Proposed method
- The time-then-graph framework first models the temporal evolution of node and edge attributes using sequential models (e.g., RNNs, Transformers), producing sequence representations.
- These sequence representations are then used as input attributes for a static GNN, which learns a global, equivariant graph representation.
- The method treats temporal dynamics as input sequences before applying graph-level message passing, decoupling temporal and structural learning.
- It leverages 1-Weisfeiler-Lehman (1-WL) GNNs as building blocks to analyze expressivity under limited representational power.
- The framework is evaluated on synthetic and real-world datasets including traffic, disease spread, and COVID-19 forecasting tasks.
- Efficiency is analyzed by measuring GNN and non-GNN computation times across multiple models and datasets.
Experimental results
Research questions
- RQ1Does the time-then-graph framework offer theoretical expressivity advantages over time-and-graph methods when using 1-WL GNNs as components?
- RQ2Can time-then-graph models outperform state-of-the-art time-and-graph models in real-world observational prediction tasks?
- RQ3How does the efficiency of time-then-graph compare to time-and-graph baselines across different temporal graph topologies?
- RQ4Under what conditions does the time-then-graph framework achieve better performance and computational efficiency?
Key findings
- Time-then-graph representations exhibit an expressivity advantage over time-and-graph methods when using 1-WL GNNs, as proven theoretically.
- On a synthetic task, time-then-graph models outperformed state-of-the-art time-and-graph, TGAT, and TGN methods in prediction accuracy.
- In real-world applications, time-then-graph methods achieved better or comparable performance with significantly improved training efficiency.
- The GRU-GCN variant of time-then-graph showed the fastest training time among all models on most datasets due to reduced GNN computation on aggregated graphs.
- On dense graphs like Brain10, time-then-graph efficiency decreased due to high edge counts, showing that performance depends on graph topology.
- Time-then-graph methods reduced GNN computation cost by aggregating temporal edges, but this benefit diminishes when edge counts remain high.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.