Directed Hypergraph Representation Learning for Link Prediction

Zitong Ma, Wenbo Zhao, Zhe YangAISTATS 2024

Abstract

Real-world networks often involve complex, high-order interactions where sets of entities interact with directionality, such as chemical reactions or co-purchase behaviors. Traditional graph and hypergraph models frequently fail to capture these "set-to-set" relationships effectively. This paper introduces the Directed Hypergraph Neural Network (DHGNN), a novel framework designed to learn robust node representations from directed hypergraphs. By defining a stable directed hypergraph Laplacian and employing multi-scale embedding fusion, DHGNN achieves state-of-the-art performance in link prediction across diverse datasets, including citation networks and e-commerce platforms.

Introduction: Beyond Pairwise Interactions

Most network analysis relies on simple graphs modeling pairwise relationships ($A \to B$). While undirected hypergraphs can model group interactions, they lack the ability to represent the inherent "flow" found in many real-world systems. For instance, a chemical reaction involves a specific set of reactants producing a specific set of products, and e-commerce transactions often involve purchasing a bundle of items after viewing another specific set.

Comparison of directed graphs and directed hypergraphs for clothing bundles (a) and chemical reactions (b).

As shown in the figure above, representing these interactions as simple directed graphs (left) loses the "bundle" or "set" context. Directed hypergraphs (right) preserve this structure by connecting a set of tail nodes to a set of head nodes. DHGNN is designed to operate directly on these complex structures without the information loss associated with simplifying them into standard graphs.

Methodology

The DHGNN framework follows a three-stage process: construction, representation updating, and prediction.

The DHGNN architecture: (a) Directed hypergraph construction, (b) Node representation updating via convolution, and (c) Link prediction.

1. Directed Hypergraph Convolution

The core innovation is the directed hypergraph Laplacian. Standard spectral methods struggle with directed structures because they result in asymmetric matrices. DHGNN overcomes this using a random walk perspective, incorporating an auxiliary "teleportation" vertex (inspired by PageRank) to ensure mathematical stability. This allows information to flow from the tail set of a hyperarc, aggregate, and distribute to the head set efficiently.

2. Multi-scale Embedding Fusion

To prevent "information dilution" during deep message passing, DHGNN integrates embeddings from multiple layers. This fusion allows the model to capture both local neighborhood details and broader global structural features simultaneously.

The model predicts the likelihood of a directed hyperarc using the inner product of fused node embeddings. It is optimized using Bayesian Personalized Ranking (BPR) loss, which trains the network to rank observed positive interactions higher than sampled negative ones.

Key Results and Insights

The authors evaluated DHGNN on five diverse datasets, including aviation routes (Air), social trust (Survey), and citation networks (Cora, Citeseer).

  • Superior Link Prediction: DHGNN achieved state-of-the-art results across all benchmarks. On the AM-computer dataset, it demonstrated a 5.68% improvement in AUC over the strongest baseline.
  • Generalization: Despite being optimized for link prediction, the learned embeddings also improved performance in node classification tasks compared to standard GCNs.
  • Efficiency: The model maintains competitive training times, proving that the added complexity of directed hyperarcs does not necessarily lead to prohibitive computational costs.

Conclusion

DHGNN establishes directionality as a "first-class citizen" in hypergraph representation learning. By modeling set-to-set interactions directly, the framework provides a more accurate and robust way to predict links in complex systems. Future work may explore spatial convolution patterns and further scalability for industrial-scale hypergraphs.

Summary updated

BibTeX
@inproceedings{ma2024directed,
  author = {Zitong Ma and Wenbo Zhao and Zhe Yang},
  title = {{Directed Hypergraph Representation Learning for Link Prediction}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
}
Figure