NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

dyngraph2vec: Capturing Network Dynamics using Dynamic Graph Representation Learning

Palash Goyal, Sujit Rokka Chhetri, Arquimedes Canedo · DOI

Introduction

Real-world networks, such as social media platforms, protein-protein interaction networks, and internet routing systems, are inherently dynamic. They evolve over time as new connections are formed and old ones are dissolved. Traditional graph embedding techniques like node2vec or DeepWalk are primarily designed for static networks and fail to capture the temporal dependencies crucial for predicting future network states.

The core challenge in dynamic graph representation learning is that a network's state at time $t+1$ is often a result of a sequence of historical changes rather than just the state at time $t$. For instance, a user's future connections might depend on a pattern of interactions observed over several months. Existing dynamic models often rely on "temporal smoothness" assumptions or limited historical lookbacks, which restricts their ability to model complex, non-linear network dynamics.

Evolution of a node's connections over time snapshots $t, t+1, t+2$.

Methodology: The dyngraph2vec Framework

The authors introduce dyngraph2vec, a deep learning framework designed to learn node representations by looking back at multiple historical snapshots. They propose three architectural variants to capture these temporal transitions:

  1. dyngraph2vecAE (Autoencoder): This model concatenates the neighborhood vectors of a node from $l$ previous time steps. It employs multiple fully connected layers to capture both spatial and temporal dependencies.
  2. dyngraph2vecRNN (Recurrent Neural Network): Utilizing Long Short-Term Memory (LSTM) networks, this variant is specifically engineered to handle long-term sequences, making it adept at capturing patterns that persist across many time steps.
  3. dyngraph2vecAERNN (Hybrid): To address the high dimensionality and sparsity of raw neighborhood vectors, this hybrid model first uses a fully connected encoder to compress the input into a low-dimensional representation before passing it to the LSTM layers. This significantly reduces the parameter count and improves learning efficiency.

The models are trained by minimizing the reconstruction error between the predicted adjacency matrix at time $t+l+1$ and the actual observed graph.

Experimental Evaluation

The framework was evaluated on three datasets: a synthetic Stochastic Block Model (SBM) where nodes migrate between communities; Hep-th, a real-world co-authorship network; and Autonomous Systems (AS), a volatile communication network of internet routers.

Key Results

Performance was measured using Mean Average Precision (MAP) for link prediction. The results demonstrate a significant leap over previous state-of-the-art (SOTA) methods:

  • Superiority over SOTA: On the Hep-th dataset, dyngraph2vecAERNN outperformed DynamicTriad by approximately 105%.
  • Robustness on Volatile Data: On the AS dataset, the proposed models achieved a MAP roughly 137% higher than the best baseline (rerunSVD).
  • Scaling with History: Performance scaled positively with the "lookback" period; for Hep-th, increasing the lookback from 2 to 8 improved the MAP score from ~0.55 to nearly 0.74, proving that historical context is vital for prediction.
t-SNE visualization of dyngraph2vecRNN embeddings showing successful community migration in the SBM dataset.

In the synthetic SBM experiments, dyngraph2vec models demonstrated a unique capability to "migrate" node embeddings to their correct future clusters before the network change had fully stabilized, a feat that static and less sophisticated dynamic models failed to achieve.

Discussion and Future Work

The success of dyngraph2vec underscores the importance of historical context and non-linear modeling in dynamic networks. The AERNN variant's performance suggests that pre-compressing sparse graph data is a vital step for recurrent architectures.

However, several challenges remain. The computational cost of training these models is high, with memory constraints limiting the lookback period. Additionally, the current framework assumes a fixed set of nodes and does not yet support inductive learning for new nodes. Future research could also focus on improving model interpretability and developing more efficient graph-aware sampling schemes.

Summary updated

BibTeX
@article{goyal2018dyngraph,
  author = {Palash Goyal and Sujit Rokka Chhetri and Arquimedes Canedo},
  title = {{dyngraph2vec: Capturing Network Dynamics using Dynamic Graph Representation Learning}},
  journal = {Knowledge-Based Systems},
  year = {2018},
  doi = {10.1016/j.knosys.2019.06.024},
}
Figure