Predicting how a network—be it a financial ecosystem or a social media community—will change tomorrow is a notoriously difficult task. While Graph Neural Networks (GNNs) have mastered static snapshots, they often struggle with the "pulse" of time. At ICLR 2024, a team of researchers introduced GraphPulse, a framework that uses the mathematical rigor of topology to capture the evolution of temporal graphs more effectively than ever before.
TL;DR
GraphPulse combines Topological Data Analysis (TDA) with Recurrent Neural Networks to predict future properties of evolving graphs. By using the "Mapper" algorithm to create concise structural summaries of network snapshots, it outperforms state-of-the-art models by an average of 10.2% in ROC-AUC while remaining highly scalable.
What Problem Does This Paper Address?
Most real-world networks are dynamic: new users join Reddit, investors trade Ethereum tokens, and connections form or break every second. Traditional GNNs are designed for static structures. While Temporal GNNs (TGNNs) exist, they often focus on node-level tasks (like predicting if two specific users will connect) rather than global, graph-level properties (like predicting if the entire network will grow significantly in the next week).
The challenge lies in the noise. A network might add thousands of edges that don't actually change its fundamental "shape." Conversely, a single new edge could bridge two massive communities, drastically changing the network's diameter. Capturing these essential structural shifts over time without getting lost in the granular noise of individual transactions is the core hurdle GraphPulse aims to clear.
Methods
The authors propose a three-stage pipeline grounded in a "Newtonian" view of graph evolution, where a graph’s change is seen as a trajectory through a high-dimensional phase space.
- Partitioning: The temporal graph is sliced into discrete snapshots (e.g., 24-hour windows).
- Topological Learning (The Mapper Algorithm): This is the framework's "secret sauce." For each snapshot, the researchers use the Mapper algorithm—a staple of Topological Data Analysis. Mapper takes node features (like degree or transaction volume) and a "lens" (like 2D-tSNE) to cluster nodes into a simplified "summary graph." This summary captures the "skeleton" of the network, highlighting its connectivity and clusters while discarding irrelevant details.
- Sequential Modeling: The features extracted from these topological skeletons (e.g., number of clusters, average cluster size) are combined with raw graph features (node/edge counts) and fed into a hybrid LSTM+GRU recurrent model. This allows the system to reason about the trajectory of the graph's shape over time to predict its future state.
Datasets
The study evaluates GraphPulse across nine temporal networks:
- Social Networks: MathOverflow and Reddit-Body.
- Cryptoasset Networks: The authors introduced seven new ERC20 token networks (Adex, Bancor, Aragon, Dgd, Coindash, Iconomi, and Centra) extracted from the Ethereum blockchain. These serve as a new benchmark for the community, representing real-world transaction dynamics from the early stages of these tokens.
Key Insights and Ideas
- Topology as a Denoising Filter: The Mapper algorithm acts as a powerful abstraction layer. It focuses on the "essential" topological features that are often invisible to standard GNNs, which can be overly sensitive to minor edge fluctuations.
- Stability in Phase Space: The authors demonstrate that Mapper summaries are more stable than raw graphs. When a network undergoes small, noisy changes, its Mapper representation remains steady. However, when a significant structural shift occurs, the Mapper "pulse" clearly reflects it.
- Complementary Information: Ablation studies revealed that topological features and raw statistical features (like node counts) provide complementary information. Using both leads to a compounding effect in predictive power.
Key Results
- Superior Accuracy: GraphPulse achieved the highest ROC-AUC in 8 out of 9 datasets. On average, it improved the ROC-AUC by 10.2% compared to top-performing models like HTGN and EvolveGCN.
- Scalability: Despite the mathematical complexity of TDA, GraphPulse is surprisingly fast. On the largest token networks, it trained 26% faster than the state-of-the-art HTGN model. The Mapper algorithm itself was able to process snapshots of 20,000 nodes in under four minutes.
Limitations and Future Work
While powerful, the framework has a few areas for improvement:
- The tSNE Bottleneck: The current implementation uses tSNE as a "lens" for Mapper, which has a quadratic computational complexity ($O(n^2)$). While manageable for the datasets tested, very large-scale networks might require more efficient dimensionality reduction techniques.
- Lens Selection: Choosing the right "lens" function and hyperparameters for Mapper (like the number of cubes or overlap percentage) currently requires manual tuning or grid searching.
- Broader Properties: The paper focuses on predicting growth (edge/node count). Future work could extend this to more complex temporal properties like changes in global efficiency or betweenness centrality.
Source: Shamsi et al., "GraphPulse: Topological Representations for Temporal Graph Property Prediction," ICLR 2024. Implementation on GitHub
Summary updated