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

Pre-trained Hypergraph Convolutional Neural Networks with Self-supervised Learning

Yihe Deng, Ruochi Zhang, Pan Xu, Jian Ma, Quanquan GuTMLR 2024

Abstract

Hypergraphs are powerful tools for modeling complex interactions across various domains, including biomedicine. However, learning meaningful node representations from hypergraphs remains a challenge. Existing supervised methods often lack generalizability, thereby limiting their real-world applications. We propose a new method, Pre-trained Hypergraph Convolutional Neural Networks with Self-supervised Learning (PhyGCN), which leverages hypergraph structure for self-supervision to enhance node representations. PhyGCN introduces a unique training strategy that integrates variable hyperedge sizes with self-supervised learning, enabling improved generalization to unseen data. Applications on multi-way chromatin interactions and polypharmacy side-effects demonstrate the effectiveness of PhyGCN. As a generic framework for high-order interaction datasets with abundant unlabeled data, PhyGCN holds strong potential for enhancing hypergraph node representations across various domains.

Introduction

In machine learning, standard Graph Neural Networks (GNNs) excel at modeling binary relationships, such as a user liking a movie or two proteins interacting. However, real-world data often involves higher-order interactions—what we might call the "group chat" of data. Examples include a research paper with multiple authors, a drug cocktail involving several chemicals, or genomic interactions between multiple distant parts of a chromosome.

These complex relationships are best represented as hypergraphs, where a single "hyperedge" can connect any number of nodes. Despite their descriptive power, hypergraphs are difficult to train because labeled data is often scarce. To address this, we introduce PhyGCN, a framework that brings self-supervised pre-training to hypergraph convolutional neural networks.

The Challenge of Hypergraphs

Most existing hypergraph methods rely on supervised learning, which requires extensive ground-truth labels. In fields like biomedicine, such labels are expensive or impossible to obtain. While Self-Supervised Learning (SSL) offers a solution by letting models learn from the data's inherent structure, it faces a unique hurdle in hypergraphs: variable size.

Unlike standard graphs where every edge connects exactly two nodes, a hyperedge can connect an arbitrary number of nodes. Standard architectures struggle with this fluid input size, often resorting to "clique expansion"—breaking a group interaction into multiple pairs. This simplification loses the "higher-order" nuances of the group dynamic.

The PhyGCN Framework

PhyGCN (Pre-trained Hypergraph Convolutional Neural Network) addresses these challenges through a two-phase approach: self-supervised pre-training and task-specific fine-tuning.

Overview of the PhyGCN framework, illustrating the self-supervised pre-training on hypergraph data and subsequent fine-tuning for downstream tasks.

1. Self-Supervised Pre-training

The model is initially trained on a hypergraph where a portion of the hyperedges (e.g., 20%) are masked. The model's objective is to reconstruct the graph by predicting whether a given set of nodes forms a hyperedge.

  • Attention Mechanism: To handle variable hyperedge sizes, PhyGCN employs an attention mechanism. This allows the model to aggregate information from an arbitrary number of nodes into a single probability score, preserving the group dynamic.
  • DropHyperedge: Similar to Dropout, this technique randomly masks parts of the adjacency matrix during training to prevent the model from memorizing the graph structure and improve generalization.

2. Fine-tuning

After learning the structural language of the hypergraph, the model is fine-tuned on specific downstream tasks, such as node classification or signal prediction. The architecture utilizes Skip/Dense Connections, concatenating outputs from all convolutional layers to prevent "over-smoothing"—a common issue where nodes become indistinguishable from their neighbors.

Experimental Evaluation

PhyGCN was evaluated across three distinct domains:

  • Citation Networks: (Citeseer, Cora, DBLP, PubMed) where hyperedges represent papers sharing authors or citations.
  • Chromatin Interactions (SPRITE): Modeling how DNA folds in 3D space within a cell nucleus.
  • Polypharmacy Side-Effects: Predicting adverse reactions from drug-drug-side-effect triplets.
Technical details of PhyGCN components, including the DropHyperedge strategy, skip/dense connections, and the negative sampling approach.

Key Insights and Results

  • Robustness with Limited Data: PhyGCN significantly outperforms standard models when labels are scarce. In tests with only 0.5% training data, the pre-trained model maintained superior accuracy while baseline models (like HNHN and HyperGCN) saw performance drops.
  • Biological Discovery: In predicting 3D genome subcompartments, pre-trained PhyGCN achieved 80.79% accuracy, a massive improvement over the 28.42% achieved by a model without pre-training.
  • Enhanced Negative Sampling: For polypharmacy tasks, the authors used a strategy of picking drug pairs known to cause different side effects as "hard negatives." This forced the model to learn specific reasons for different reactions, leading to the highest AUROC scores across all test scenarios.

Conclusion

PhyGCN demonstrates that treating hyperedges as high-order entities via attention and leveraging self-supervised pre-training is superior to traditional pairwise methods. By providing a "warm start" for datasets with limited labels, PhyGCN holds strong potential for enhancing node representations in complex domains ranging from genomics to social networks.

Summary updated

BibTeX
@article{deng2024pre,
  author = {Yihe Deng and Ruochi Zhang and Pan Xu and Jian Ma and Quanquan Gu},
  title = {{Pre-trained Hypergraph Convolutional Neural Networks with Self-supervised Learning}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=0VWXWPmctm},
}
Figure