Continuous Geometry-Aware Graph Diffusion via Hyperbolic Neural PDE

Jiaxu Liu, Xinping Yi, Sihao Wu, Xiangyu Yin, Tianle Zhang, Xiaowei Huang, Shi Jin · DOI

Abstract

Graph Neural Networks (GNNs) often struggle with hierarchical data and over-smoothing in deep architectures. This paper presents HGDE, a novel framework that treats graph information propagation as a continuous diffusion process within hyperbolic space. By reformulating Hyperbolic Graph Neural Networks (HGNNs) as Partial Differential Equations (PDEs), HGDE achieves superior scalability and handles both local and global graph structures. We derive hyperbolic versions of classic numerical integrators—HEuler, HRK4, and HAM—to solve these equations on curved manifolds. Our results show that HGDE consistently outperforms existing models in both homophilic and heterophilic settings while maintaining high memory efficiency.

Introduction

While GNNs are the standard for networked data, most operate in Euclidean space, which fails to capture the exponential expansion of hierarchical or tree-like structures found in social networks and biological taxonomies. Hyperbolic geometry provides a more natural embedding space for such data. However, existing Hyperbolic GNNs (HGNNs) face significant challenges:

  1. Scalability: Training deep HGNNs is computationally expensive due to manifold-specific parameters.
  2. Over-smoothing: Deep models often cause node embeddings to converge, losing distinctiveness.
  3. Rigidity: Most models are limited to local neighborhoods, struggling with long-range dependencies or heterophilic data.

Methodology: Hyperbolic Neural PDEs

HGDE shifts the paradigm from discrete layers to a continuous-time evolution of embeddings.

The HPDE Framework

Instead of stacking discrete layers, we define a vector flow that describes how an embedding $\mathbf{h}$ changes over "time" $t$, where time corresponds to network depth. This allows us to simulate infinitely deep networks with a constant number of parameters.

Overview of the HGDE architecture, including the diffusivity function and the HPDE block.

Hyperbolic Numerical Solvers

To solve the diffusion equations on a curved manifold, we developed hyperbolic adaptations of classic numerical integrators:

  • HEuler (Explicit Euler): A first-order method for fast computation.
  • HRK4 (Runge-Kutta): A higher-order method for increased accuracy.
  • HAM (Adams-Moulton): An implicit solver that provides greater stability for complex diffusion processes.

These solvers utilize parallel transport to move vectors between tangent spaces on the manifold, ensuring that geometric information is preserved during the integration process.

Visual representation of hyperbolic numerical solvers (HEuler, HRK4, HAM) and hyperbolic interpolation.

Adaptive Diffusivity and Residuals

The HGDE flow function employs a mixed-order multi-head attention mechanism. This allows the model to adaptively balance local diffusivity (focusing on immediate neighbors) and global diffusivity (capturing global graph structure). To combat over-smoothing, we introduce hyperbolic residuals using the Möbius Gyromidpoint, which preserves initial feature information throughout the diffusion process.

Experimental Results

HGDE was evaluated on a variety of datasets, including homophilic graphs (e.g., PubMed, Cora), heterophilic graphs (e.g., Texas, Cornell), and k-NN graphs derived from image and text data.

Performance and Efficiency

HGDE consistently achieved state-of-the-art results, outperforming both hyperbolic (HyboNet, HGCN) and Euclidean (GAT, GCNII) baselines. Notably, HGDE demonstrated exceptional memory efficiency. On the Cora dataset, an 8-iteration HGDE model required only 112MB of GPU memory, whereas the standard HGCN encountered Out-of-Memory (OOM) errors.

Handling Heterophily

In heterophilic settings where connected nodes often belong to different classes, HGDE's global diffusivity mechanism provided a significant advantage. On the Texas dataset, HGDE outperformed specialized heterophily models by effectively incorporating high-order relationships.

Conclusion

HGDE represents a significant step forward in hyperbolic graph representation learning. By combining the geometric advantages of hyperbolic space with the flexibility of continuous neural PDEs, it provides a scalable, efficient, and robust solution for complex graph data. Future work will explore extending these hyperbolic PDE solvers to massive industrial-scale graphs and investigating other non-Euclidean geometries.

Summary updated

BibTeX
@inproceedings{liu2024continuous,
  author = {Jiaxu Liu and Xinping Yi and Sihao Wu and Xiangyu Yin and Tianle Zhang and Xiaowei Huang and Shi Jin},
  title = {{Continuous Geometry-Aware Graph Diffusion via Hyperbolic Neural PDE}},
  booktitle = {ECML/PKDD},
  year = {2024},
  url = {https://openreview.net/forum?id=VssomCdKDN},
}
Figure