Virtual Nodes Go Temporal

Sofiane Ennadir, Yassir Jedra, Oleg Smirnov, Lele CaoLOG 2025

TL;DR

This paper introduces "Virtual Nodes" (VNs) to Continuous-Time Dynamic Graphs (CTDGs) to improve how information propagates across the graph after an event. By theoretically analyzing "information flow" and proposing a novel framework called k-TVNs, they demonstrate that VNs significantly enhance the performance of CTDG models, especially for capturing long-range dependencies.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are powerful for analyzing static graphs, but real-world data often evolves over time. Continuous-Time Dynamic Graphs (CTDGs) are designed to model these evolving relationships, where events like new connections or interactions happen at irregular intervals. Existing CTDG models, often based on message-passing, struggle to effectively propagate information across the entire graph after an event, especially when interactions are distant. This "over-squashing" and "over-smoothing" limits their ability to capture long-range dependencies, which are crucial in many dynamic systems. The paper aims to address this limitation by adapting the concept of Virtual Nodes, previously successful in static graphs, to the dynamic CTDG setting.

Methods

The core of the paper lies in its theoretical analysis and the proposed k-Temporal Virtual Nodes (k-TVNs) framework.

  • Information Flow: The authors introduce a theoretical concept called "information flow" to quantify how information propagates through a CTDG after an event. This metric helps understand how effectively node embeddings are updated to reflect structural changes.
  • Virtual Nodes (VNs): Inspired by their success in static graphs, VNs are introduced as a mechanism to enhance graph connectivity and information propagation. In CTDGs, VNs act as intermediary nodes that can aggregate information from multiple "child" nodes and distribute it more broadly.
  • k-TVNs Framework: Instead of a single VN, the proposed k-TVNs framework uses multiple VNs, each representing a distinct community or cluster within the graph. These VNs are fully connected to each other, allowing for global information flow. The framework dynamically assigns nodes to these VNs using a clustering algorithm (specifically, an adapted k-means) at each time step to adapt to evolving graph topology.
  • Theoretical Analysis: The paper provides theoretical proofs (Theorems 1, 2, and 3) demonstrating how adding VNs improves the information flow and thus the expressivity of CTDG models, particularly for GCN-like and attention-based aggregation mechanisms.

Datasets

The paper evaluates its proposed k-TVNs framework on several real-world and synthetic datasets:

  • Real-world Datasets (TGB Benchmark):
    • tgbl-wiki: Wiki page edits by users.
  • tgbl-review: Amazon product reviews by users.
  • tgbl-coin: Cryptocurrency transactions.
  • tgbl-comment: Reddit replies.
  • tgbl-flight: Airport flight networks.
  • Synthetic Datasets:
    • T-PascalVOC10 and T-PascalVOC30: Temporal adaptations of the static PascalVOC-SP dataset, designed to require long-range reasoning.

Key Insights and Ideas

  • Information Flow as a Key Metric: Quantifying "information flow" provides a principled way to understand and analyze the expressivity of CTDG models, moving beyond just looking at downstream task performance.
  • VNs Bridge the Gap in CTDGs: The theoretical analysis shows that standard CTDG models struggle with long-range dependencies because information propagation is limited by the number of message-passing layers. VNs offer a practical solution to overcome this without necessarily increasing model complexity (e.g., adding more layers, which can lead to over-smoothing).
  • Community-Aware VNs (k-TVNs) are Crucial: Using multiple VNs, each representing a community, is more effective than a single VN. This hierarchical structure allows for localized aggregation within communities before global propagation, balancing local and global information.
  • Dynamic Clustering is Necessary: The graph topology changes over time, so the assignment of nodes to VNs needs to be updated dynamically. The paper shows that using a topology-aware clustering method (like their adapted k-means) is superior to random assignment or simpler clustering methods for downstream performance.

Key Results

  • Performance Improvement: The k-TVNs framework consistently improves the performance of the baseline TGN model across various real-world datasets, with MRR improvements reaching up to 40% in some cases.
  • Enhanced Long-Range Reasoning: On datasets specifically designed to test long-range dependencies (like T-PascalVOC), k-TVNs also show significant improvements in AUC scores, validating their ability to capture distant interactions.
  • Empirical Validation of Information Flow: Figure 2 shows that the k-TVNs model exhibits a larger difference in information flow compared to the standard TGN, empirically supporting the theoretical findings that VNs enhance information propagation.
  • Clustering Method Matters: Table 3 demonstrates that the choice of clustering algorithm significantly impacts performance, with their proposed k-Means-based approach outperforming random assignment and Louvain clustering on the tgbl-wiki dataset.
  • Computational Overhead: While k-TVNs offer performance gains, there is a slight increase in training time compared to the baseline TGN, though it remains significantly faster than some other clustering approaches like Louvain.

Limitations and Future Work

  • Clustering Algorithm Choice: While the paper proposes an adapted k-means, they acknowledge that other clustering strategies (e.g., Louvain, METIS, temporal community detection) could be employed, and the key is finding a balance between computational efficiency and clustering quality.
  • Hyperparameter Sensitivity: The performance of k-TVNs can be sensitive to hyperparameters like the number of clusters (K₀) and iterations (T). The paper provides analysis showing a "sweet spot" for these parameters.
  • Future Work: The authors suggest exploring different clustering strategies and aggregation mechanisms within the k-TVNs framework. They also imply that the theoretical insights on information flow can be extended to other CTDG models.

Summary updated

BibTeX
@inproceedings{ennadir2025virtual,
  author = {Sofiane ENNADIR and Yassir Jedra and Oleg Smirnov and Lele Cao},
  title = {{Virtual Nodes Go Temporal}},
  booktitle = {LOG},
  year = {2025},
  url = {https://openreview.net/forum?id=jdKtkiH9ze},
}
Figure