Hyperbolic Variational Graph Neural Network for Modeling Dynamic Graphs

Li Sun, Zhongbao Zhang, Jiawei Zhang, Feiyang Wang, Hao Peng, Sen Su, Philip S. Yu

Graph representation learning—the art of turning complex networks into mathematical vectors—is a cornerstone of modern AI. However, most current methods suffer from a "flat earth" problem: they attempt to squash hierarchical, rapidly changing, and uncertain real-world data into rigid Euclidean spaces.

In their AAAI-21 paper, Li Sun and colleagues introduce the Hyperbolic Variational Graph Neural Network (HVGNN). This framework is the first to simultaneously address the three primary hurdles in graph modeling: hierarchical structure, temporal dynamics, and data uncertainty.

The Three Hurdles of Graph Modeling

Most existing graph neural networks (GNNs) operate under three limiting assumptions:

  1. Euclidean Geometry: They use flat space. Real-world graphs (like social networks) often have a hierarchical or "power-law" structure where nodes grow exponentially with distance. Euclidean space only grows polynomially, leading to significant distortion.
  2. Static Snapshots: They treat graphs as frozen in time. In reality, edges appear and disappear constantly. Ignoring these dynamics leads to "temporal leakage," where a model might use future information to predict past events.
  3. Deterministic Nodes: They map nodes to fixed vectors, ignoring the "fuzziness" of the data. For example, a node with few connections is inherently more "uncertain" than a highly active hub, yet standard models treat them with equal confidence.

The HVGNN Architecture

The HVGNN framework bridges these gaps with a three-pronged architectural approach designed to learn stochastic representations in a curved manifold.

The HVGNN framework architecture, illustrating the flow from TGNN encoders through reparameterizable sampling to the hyperbolic latent space.

1. The Hyperbolic Playground

Instead of flat space, HVGNN utilizes the Lorentz model of hyperbolic space. Hyperbolic space is "curved" in a way that provides exponentially more room as you move away from the center, making it a natural fit for tree-like or hierarchical data structures.

2. Temporal GNN (TGNN)

To handle time, the authors developed a Hyperbolic Time Encoding. Based on Bochner’s theorem, they map relative time intervals into a translation-invariant kernel. This allows the model to understand that the sequence and timing of interactions matter more than absolute timestamps. This encoding is projected into the hyperbolic tangent space to maintain geometric consistency.

3. Hyperbolic Variational Autoencoder (HVGAE)

To model uncertainty, HVGNN moves from fixed vectors to stochastic representations. It employs a "Wrapped Normal Distribution," which takes a standard Gaussian distribution and "wraps" it around the curved hyperbolic manifold. Crucially, the authors introduced a reparameterizable sampling algorithm, allowing the model to be trained using standard gradient descent despite the complex geometry.

Experimental Evaluation

The model was evaluated on three diverse real-world dynamic datasets: Reddit (12k users, 763k interactions), Wikipedia (9.3k nodes, 160k interactions), and DBLP (a citation network using publication years as timestamps).

Key Results

HVGNN consistently outperformed state-of-the-art baselines, including GAT, GraphSAGE, and HGCN, across all tasks. On the Wikipedia dataset, HVGNN achieved a 3% to 3.6% performance gain in accuracy and Average Precision (AP) over its closest competitors.

Performance comparison of HVGNN against state-of-the-art baselines on Reddit, Wikipedia, and DBLP datasets.

Beyond raw performance, ablation studies confirmed that removing either the hyperbolic component or the variational (uncertainty) component led to a drop in performance, proving that all three pillars are necessary for peak results. The model also demonstrated strong "inductive" capabilities, accurately predicting interactions for nodes not seen during the training phase.

Conclusion and Future Directions

HVGNN demonstrates that hyperbolic space is fundamentally better suited for modeling complex, evolving networks. By representing nodes as distributions rather than points, the model performs significantly better on low-degree nodes where data is sparse.

While HVGNN is a major step forward, future work may explore trainable curvature (allowing the model to learn the optimal geometry for specific data) and more complex, non-Gaussian uncertainty patterns to further refine the modeling of "fuzzy" real-world networks.

Summary updated

BibTeX
@inproceedings{sun2021hyperbolic,
  author = {Li Sun and Zhongbao Zhang and Jiawei Zhang and Feiyang Wang and Hao Peng and Sen Su and Philip S. Yu},
  title = {{Hyperbolic Variational Graph Neural Network for Modeling Dynamic Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16563},
}
Figure