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

Hyperbolic Graph Diffusion Model

Lingfeng Wen, Xuan Tang, Mingjie Ouyang, Xiangxiang Shen, Jian Yang, Daxin Zhu, Mingsong Chen, Xian Wei

Abstract

Generating realistic graphs remains a challenge due to the inherent hierarchical nature of real-world data, such as social networks and molecular structures. Standard generative models often rely on Euclidean latent spaces, which suffer from significant distortion when representing tree-like structures. We present the Hyperbolic Graph Diffusion Model (HGDM), the first framework to integrate hyperbolic geometry with diffusion-based generation. By leveraging the exponential capacity of hyperbolic space, HGDM achieves state-of-the-art performance in generating hierarchical graphs, demonstrating up to a 48% improvement in quality over Euclidean baselines.

Introduction: The Challenge of Euclidean Distortion

Most real-world graphs—ranging from social networks to complex molecules—are not "flat." They exhibit inherent hierarchical properties, often following power-law degree distributions where a few central hubs connect to numerous smaller branches. Traditional generative models, such as Latent Diffusion Models (LDMs), typically embed data into Euclidean space. However, a fundamental geometric mismatch exists: Euclidean space expands polynomially with radius, whereas hierarchical, tree-like structures expand exponentially.

Comparison of volume growth in Euclidean vs. Hyperbolic space.

As shown in Figure 1, attempting to fit an exponentially growing tree into a polynomially expanding flat space causes massive "distortion." This forces nodes that should be distant to be crowded together, creating interference that hinders the model's ability to learn the true underlying distribution of the graph.

Methods: The HGDM Framework

To address these geometric limitations, we propose HGDM, a two-stage generative framework designed to respect the non-Euclidean nature of graph data.

1. Hyperbolic Graph Variational Auto-Encoder (HVAE)

The first stage involves training an auto-encoder to map nodes into successive hyperbolic embeddings using the Poincaré ball model. To maintain computational efficiency, we developed a Hyperbolic Graph Attention (HGAT) layer. This layer applies attention mechanisms directly in the tangent space of the manifold, providing the representational benefits of hyperbolic geometry without the overhead of previous hyperbolic graph networks.

2. Hyperbolic Score-based Diffusion

Once the latent space is established, a diffusion model operates within it, simultaneously perturbing hyperbolic node embeddings and Euclidean adjacency matrices. A key innovation is the inclusion of a "link prediction" regularization term, which encourages the model to place high-degree "hub" nodes closer to the center of the Poincaré ball, effectively capturing the hierarchy.

3. Predictor-Corrector Sampling

To generate new graphs, HGDM utilizes specialized sampling algorithms adapted from Langevin dynamics. These algorithms ensure that the reverse diffusion process remains strictly on the hyperbolic manifold.

Experimental Results

The model was evaluated on both generic graphs (Ego-small, Community-small, Enzymes, Grid) and molecular graphs (QM9, ZINC250k).

Performance on Generic Graphs

HGDM consistently outperformed state-of-the-art baselines across various metrics. On average, it achieved a 37.1% decrease in Maximum Mean Discrepancy (MMD) for the Ego-small and Community-small datasets. For graphs with high hierarchy, the improvement in generation quality reached 48%.

Quantitative results on generic graph benchmarks.

As detailed in Figure 3, HGDM achieves the best (bold) or second-best (underlined) performance across most datasets. Notably, even on the "Grid" dataset—which is Euclidean and non-hierarchical—HGDM performed comparably to Euclidean models, demonstrating its robustness.

Molecular Generation Accuracy

On the QM9 dataset, HGDM achieved a 98.04% validity score without requiring post-hoc valency corrections. This significantly exceeds the Euclidean baseline (GDSS) at 95.79%, suggesting that the hyperbolic latent space allows the model to more accurately learn underlying chemical rules.

Conclusion

The Hyperbolic Graph Diffusion Model (HGDM) represents a significant step forward in graph generation by aligning the geometry of the latent space with the intrinsic structure of the data. By mitigating Euclidean distortion, HGDM provides a more expressive and efficient framework for modeling hierarchical systems. Future work will explore extending this approach to larger, more heterogeneous graphs and investigating alternative hyperbolic models like the Lorentz model for further performance gains.

Summary updated

BibTeX
@inproceedings{wen2024hyperbolic,
  author = {Lingfeng Wen and Xuan Tang and Mingjie Ouyang and Xiangxiang Shen and Jian Yang and Daxin Zhu and Mingsong Chen and Xian Wei},
  title = {{Hyperbolic Graph Diffusion Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i14.29512},
}
Figure