Hypergraph Pre-training with Graph Neural Networks

Boxin Du, Changhe Yuan, Robert A. Barton, Tal Neiman, Hanghang TongarXiv 2021

Introduction

Hypergraphs provide a powerful mathematical framework for modeling high-order interactions where relationships involve more than two entities. Unlike standard graphs that represent pairwise connections, hypergraphs capture complex structures such as protein complexes in biological systems or product variation families in e-commerce. Despite their expressive power, applying deep learning—specifically Graph Neural Networks (GNNs)—to hypergraphs faces two significant challenges: label scarcity and transductive limitations. Real-world hypergraph data often lacks sufficient labels for supervised training, and many existing models cannot generalize to unseen hyperedges (inductive settings).

The HyperGene Framework

To address these hurdles, we present HyperGene, a bi-level pre-training framework designed to learn robust representations from unlabeled hypergraph data. HyperGene utilizes self-supervised learning through two complementary "pretext" tasks that capture both local node contexts and global structural patterns.

The HyperGene framework overview, illustrating the bi-level pretext tasks and the transition to downstream tasks.

Node-level Pretext Task

The node-level task focuses on local context. The model is trained to distinguish between nodes belonging to the same hyperedge and those that do not. A key innovation here is Exponential Negative Sampling. Instead of selecting "easy" negative examples (nodes that are structurally distant), the framework prioritizes harder, more informative negatives—nodes that are structurally similar but not part of the target hyperedge. This forces the model to learn more nuanced features.

Illustration of negative sampling in the node-level pretext task.

Hyperedge-level Pretext Task

To capture the global structure, HyperGene employs a hyperedge-level task. Hyperedges are grouped into clusters using the METIS algorithm. The model then learns to predict the cluster assignment for each hyperedge, effectively understanding the broader "neighborhood" of high-order relations. In transductive settings, this task is used as a "fast adaptation" step, significantly improving training efficiency.

Experimental Evaluation

HyperGene was evaluated across diverse benchmarks, including citation networks (Cora, Pubmed), biological datasets (Corum, Disgenet), and a large-scale e-commerce dataset (Amazon IVF). The latter, Inconsistent Variation Family (IVF), represents a real-world challenge in detecting misgrouped products in online catalogs.

The GNN architecture utilized clique expansion combined with Graph Isomorphism Networks (GIN) to ensure high expressive power.

Key Results and Insights

  • Performance Gains: HyperGene consistently outperformed state-of-the-art baselines like DHNE and Hyper-SAGNN, achieving up to a 5.69% improvement in hyperedge classification accuracy.
  • Efficiency: The adaptation-aware training strategy reduced pre-training time by an average of 42.80%, demonstrating its scalability for industrial applications.
  • Structural Awareness: The combination of local and global pretext tasks proved mutually complementary. Results showed that "harder" negative sampling leads to superior representation learning compared to uniform sampling.
  • Real-world Utility: In the Amazon IVF case study, HyperGene successfully identified grouping errors, outperforming existing production models and proving its robustness on noisy, real-world data.

Conclusion and Future Work

HyperGene represents a significant advancement in hypergraph representation learning. While effective, future research could explore more sophisticated permutation-invariant pooling methods to better aggregate node data. Additionally, moving beyond fixed clustering algorithms like METIS toward learnable global objectives could further enhance the model's ability to capture complex structural hierarchies.

Summary updated

BibTeX
@misc{du2021hypergraph,
  author = {Boxin Du and Changhe Yuan and Robert A. Barton and Tal Neiman and Hanghang Tong},
  title = {{Hypergraph Pre-training with Graph Neural Networks}},
  year = {2021},
  eprint = {2105.10862},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.10862},
}
Figure