DyGCN: Dynamic Graph Embedding with Graph Convolutional Network

Zeyu Cui, Zekun Li, Shu Wu, Xiaoyu Zhang, Qiang Liu, Liang Wang, Mengmeng AiarXiv 2021

Abstract

Graph Convolutional Networks (GCNs) have become a standard for learning node embeddings in static graphs. However, real-world graphs are often dynamic, evolving over time through the addition or removal of edges and nodes. Applying static GCNs to these evolving structures is computationally expensive, as even a single edge change typically necessitates a full re-calculation of all embeddings. We introduce DyGCN, a framework designed for efficient dynamic graph embedding. DyGCN utilizes a two-stage propagation scheme—first-order and high-order updates—to incrementally update embeddings by focusing only on the nodes influenced by structural changes. Experimental results on real-world datasets demonstrate that DyGCN achieves speedups of up to 4,110x compared to static GCNs while maintaining comparable accuracy in downstream tasks.

Introduction

The prevalence of dynamic graphs in domains like social networks, citation indices, and communication systems necessitates embedding methods that can handle temporal evolution efficiently. Traditional GCNs are designed for static snapshots; when the graph structure changes, these models often require a complete re-training or a full forward pass across the entire graph. This is computationally prohibitive for large-scale, fast-moving networks. DyGCN addresses this by propagating only the changes in the graph structure, providing GCN-quality embeddings with the efficiency required for real-time applications.

Methodology

The core of DyGCN is a dynamic graph convolution operation that restricts computation to "influenced" nodes. The update process is divided into two main stages:

  1. First-order Update: When an edge change occurs (addition or removal), the nodes directly incident to that edge are identified as "1st-order influenced." The model calculates the change in their aggregated neighborhood information and updates their embeddings using a learned transformation matrix.
  2. High-order Update: Since the embeddings of 1st-order nodes have changed, their neighbors (2nd-order influenced) are subsequently affected. This change propagates through the graph up to $K$ hops.
The DyGCN update mechanism: (Left) First-order update for nodes directly connected to a changing edge. (Right) High-order update propagating changes to neighboring nodes.

Additionally, the authors propose Spectral DyGCN, which operates in the spectral domain using Chebyshev polynomial approximations. This variant allows for global propagation of changes in a single step, ensuring that distant structural shifts can be accounted for if necessary. Crucially, DyGCN does not require re-training weights at every time step; it learns the mechanics of how structural changes should alter latent representations.

Experiments and Results

DyGCN was evaluated on three dynamic datasets: Autonomous Systems (AS), HEP-TH (collaboration network), and Facebook. The results highlight three key strengths:

  • Massive Efficiency: DyGCN achieved significant speedups, being 692x faster on the AS dataset and 4,110x faster on the Facebook dataset compared to running a static GCN on every snapshot.
  • Performance Preservation: Despite the incremental nature of the updates, DyGCN's performance in Link Prediction and Node Classification remained nearly identical to the static GCN "upper bound."
  • Superiority over Baselines: It consistently outperformed other dynamic embedding methods like DNE and DynWalks in both accuracy and time efficiency, particularly in long-term scenarios where errors might otherwise accumulate.

Discussion and Insights

A primary insight from this work is that sparsity in graph changes is a powerful feature. By treating the change ($\Delta A$) as the primary input, DyGCN avoids redundant calculations. Furthermore, the researchers found a "sweet spot" for propagation: updating only 1st and 2nd-order neighbors ($K=2$) typically yields the best balance of speed and accuracy. Beyond $K=2$, the influence of a change drops sharply, and further propagation may introduce noise.

Limitations and Future Work

DyGCN assumes that node attributes are relatively stable and that structural changes drive the evolution. If node attributes change as rapidly as edges, the propagation scheme would require modification. Additionally, the efficiency gains of DyGCN are most pronounced when changes are sparse; in scenarios where a large portion of the graph changes simultaneously, the set of influenced nodes would eventually cover the entire graph, diminishing the advantage. Future research could explore applying this incremental logic to other architectures, such as Graph Attention Networks (GAT).

Conclusion

DyGCN provides a scalable and effective solution for embedding dynamic graphs. By leveraging the sparsity of structural changes and an incremental update strategy, it brings the representational power of GCNs to real-time, evolving network analysis.

Summary updated

BibTeX
@misc{cui2021dygcn,
  author = {Zeyu Cui and Zekun Li and Shu Wu and Xiaoyu Zhang and Qiang Liu and Liang Wang and Mengmeng Ai},
  title = {{DyGCN: Dynamic Graph Embedding with Graph Convolutional Network}},
  year = {2021},
  eprint = {2104.02962},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.02962},
}
Figure