[Paper Review] dynnode2vec: Scalable Dynamic Network Embedding
This paper proposes dynnode2vec, a scalable dynamic network embedding method that extends node2vec by using evolving random walks and initializing the Skip-gram model with previous embeddings to efficiently capture temporal changes in large dynamic networks. The method achieves significant speedups—up to 5x faster than node2vec—while maintaining competitive performance in link prediction, node classification, and anomaly detection across real-world datasets.
Network representation learning in low dimensional vector space has attracted considerable attention in both academic and industrial domains. Most real-world networks are dynamic with addition/deletion of nodes and edges. The existing graph embedding methods are designed for static networks and they cannot capture evolving patterns in a large dynamic network. In this paper, we propose a dynamic embedding method, dynnode2vec, based on the well-known graph embedding method node2vec. Node2vec is a random walk based embedding method for static networks. Applying static network embedding in dynamic settings has two crucial problems: 1) Generating random walks for every time step is time consuming 2) Embedding vector spaces in each timestamp are different. In order to tackle these challenges, dynnode2vec uses evolving random walks and initializes the current graph embedding with previous embedding vectors. We demonstrate the advantages of the proposed dynamic network embedding by conducting empirical evaluations on several large dynamic network datasets.
Motivation & Objective
- Address the limitations of static graph embedding methods in capturing evolving network structures over time.
- Overcome the high computational cost of retraining embeddings from scratch at each timestamp in dynamic networks.
- Reduce running time by focusing random walk generation only on nodes that have changed between consecutive timestamps.
- Maintain embedding consistency across time by initializing the Skip-gram model with previous embedding vectors.
- Demonstrate superior performance in dynamic network tasks such as link prediction, node classification, and anomaly detection.
Proposed method
- Apply evolving random walks that are generated only for nodes affected by structural changes (additions, deletions, or weight changes) between consecutive timestamps.
- Initialize the Skip-gram model at each timestamp using the embedding vectors from the previous timestamp to ensure smooth temporal representation learning.
- Leverage the dynamic Skip-gram model architecture inspired by dynamic word embeddings, enabling incremental updates to node representations.
- Use a two-stage process: first train on the initial graph $G_1$ using standard node2vec, then incrementally update embeddings for $G_2$ to $G_T$ using evolving walks and transferred weights.
- Define evolving nodes as $\Delta V_t = V_{\text{add}} \cup \{v_i \in V_t \mid \exists e_i = (v_i, v_j) \in (E_{\text{add}} \cup E_{\text{del}})\}$, restricting walk generation to this subset.
- Update only the embeddings of evolving nodes and their neighbors, minimizing computational overhead while preserving representation quality.
Experimental results
Research questions
- RQ1Can a dynamic network embedding method reduce training time by focusing random walks only on evolving nodes?
- RQ2How does initializing the Skip-gram model with prior embeddings affect the quality and consistency of dynamic node representations?
- RQ3To what extent does dynnode2vec outperform static and existing dynamic baselines in link prediction, node classification, and anomaly detection?
- RQ4How do evolving random walks and transfer learning jointly improve scalability without sacrificing embedding accuracy?
- RQ5Can dynnode2vec detect structural anomalies in dynamic networks by measuring changes in embedding vector norms over time?
Key findings
- dynnode2vec reduces running time by up to 5.2x compared to standard node2vec on the AS dataset, achieving 4.49 minutes versus 23.22 minutes for 50 time steps.
- On the Hep-th dataset, dynnode2vec runs in 1.25 minutes compared to 13.52 minutes for dynnode2vec-all, showing a 10.8x speedup.
- In link prediction, dynnode2vec achieves an AUC of 0.9625 on the AS dataset, comparable to dynnode2vec-all (0.9799), indicating minimal accuracy loss despite reduced computation.
- For node classification on the DBLP dataset, dynnode2vec achieves a Micro-F1 score of 0.5415, outperforming DeepWalk (0.5337) and node2vec (0.5272).
- Anomaly detection on the DARPA dataset shows that dynnode2vec detects three major spikes in embedding norm differences, corresponding to known attack events, confirming its sensitivity to structural changes.
- The method maintains high performance across tasks: AUC scores of 0.9975 (Hep-th), 0.9012 (Enron), and 0.8886 (St-Ov) in link prediction, demonstrating robustness on diverse datasets.
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.