Embedding Heterogeneous Networks into Hyperbolic Space Without Meta-path

Lili Wang, Chongyang Gao, Chenghan Huang, Ruibo Liu, Weicheng Ma, Soroush Vosoughi

Abstract

This paper introduces a novel framework for embedding heterogeneous networks—graphs containing multiple types of nodes and edges—into hyperbolic space. By replacing rigid, manually-defined "meta-paths" with a self-guided random walk and utilizing the hyperboloid model for stable gradients, the proposed method achieves state-of-the-art performance in network reconstruction and link prediction. The approach naturally captures the hierarchical and power-law structures of real-world data, providing a task-agnostic embedding solution that eliminates the need for domain-specific expertise.

Introduction

Most real-world networks, such as bibliographic or social networks, are inherently heterogeneous. Analyzing these structures typically involves embedding them into low-dimensional vector spaces. However, traditional methods face two primary challenges. First, the "Euclidean Trap" forces hierarchical or power-law distributed data into a space that cannot accurately represent exponential growth. Second, the "Meta-path Burden" requires researchers to manually define sequences (e.g., Author-Paper-Author) to navigate node types, a process that is task-specific and difficult to generalize.

This research addresses these hurdles by proposing a general-purpose hyperbolic embedding method that captures latent hierarchy without human-defined meta-paths.

Methodology

Self-guided Random Walk

To handle diverse node types without fixed meta-paths, the algorithm employs a self-guided random walk. As the walker traverses the graph, it adaptively adjusts the probability of its next step based on recently visited node types. This mechanism automatically balances the distribution of domains, preventing highly visible node types from dominating the resulting embedding sequences.

Hyperbolic Embedding Learning

While the Poincaré ball is a common model for hyperbolic visualization, its gradient calculations often require complex approximations. Instead, this framework utilizes the Hyperboloid model within Minkowski space. This choice enables the derivation of a closed-form gradient descent formula, leading to more accurate and stable training. The model optimizes a distance-based loss function to ensure that nodes frequently appearing together in random walks are positioned closely within the hyperbolic manifold.

Results and Discussion

The model was evaluated using the DBLP bibliographic network and the MovieLens film network. Key findings include:

  • Network Reconstruction: The model achieved near-perfect AUC scores (up to 0.9999) on the DBLP dataset, significantly outperforming Euclidean-based baselines.
  • Link Prediction: The method consistently surpassed previous state-of-the-art models like HHNE, particularly in low-dimensional settings (2 or 5 dimensions), demonstrating the space-efficiency of hyperbolic manifolds.
  • Latent Hierarchy and Influence: Visualization of the hyperbolic disk reveals that the distance from the origin reflects a node's latent hierarchy. High-impact authors naturally gravitate toward the center, acting as the "roots" of the network.
Visualization of the hyperbolic embedding for the DBLP dataset, where central nodes represent high-impact authors.
  • Power-law Capture: Qualitative analysis confirms that the model captures the power-law degree distribution of authorship more effectively than existing methods. Prolific authors are concentrated in the most central "Region 1" of the hyperbolic space.
Comparison of average papers per author across different regions of the hyperbolic space, showing the model's ability to capture power-law distributions.

Conclusion

By eliminating the need for meta-paths and leveraging the natural properties of hyperbolic space, this framework provides a robust, unsupervised method for heterogeneous network embedding. While currently focused on static graphs, future work will explore extensions to dynamic, time-evolving networks and broader downstream tasks such as node classification and recommendation systems.

Summary updated

BibTeX
@inproceedings{wang2021embedding,
  author = {Lili Wang and Chongyang Gao and Chenghan Huang and Ruibo Liu and Weicheng Ma and Soroush Vosoughi},
  title = {{Embedding Heterogeneous Networks into Hyperbolic Space Without Meta-path}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i11.17217},
}
Figure