Hypergraph Foundation Model

Yifan Feng, Shiquan Liu, Xiangmin Han, Shaoyi Du, Zongze Wu, Han Hu, Yue Gao

Introduction: The Challenge of High-Order Relationships

While standard graphs connect nodes via binary edges, hypergraphs allow a single "hyperedge" to connect an arbitrary number of nodes. This makes them indispensable for modeling complex, high-order relationships such as collaborative research groups, protein interaction complexes, or multi-user social interactions.

Despite the success of foundation models in NLP and Computer Vision, building a foundation model for hypergraphs is uniquely difficult. A primary obstacle is negative transfer: when a model pre-trained on one domain (e.g., citation networks) is applied to another (e.g., protein networks), it often performs worse than a model with no pre-training at all. This occurs because structural patterns, such as hyperedge degree distributions, vary significantly across domains.

Negative transfer performance across various datasets, illustrating how pre-training on one domain can degrade performance on another.

Hyper-FM: A Multi-Domain Foundation Model

To address these challenges, the authors introduce Hyper-FM, the first foundation model designed specifically for multi-domain hypergraph data. Hyper-FM bridges the gap between Hypergraph Neural Networks (HGNNs) and Large Language Models (LLMs) through two primary innovations:

1. Hierarchical High-Order Neighbor Guided Vertex Knowledge Embedding

Rather than using a frozen Language Model (LM) to extract static node features, Hyper-FM fine-tunes the LM using a custom neighborhood prediction task. By clustering neighborhoods hierarchically, the LM is trained to predict these clusters, effectively baking high-order structural context directly into the text embeddings.

2. Hierarchical Multi-Hypergraph Guided Structural Knowledge Extraction

To prevent semantic confusion when training across diverse domains, the authors utilize a "macro-hypergraph" structure. Sub-graphs are sampled using Breadth-First Search (BFS) to preserve local topology. Similar nodes within a domain are clustered into "virtual cluster vertices," and disparate domains are linked via abstract "bond vertices." This architecture allows the model to learn universal structural patterns while maintaining domain-specific isolation.

The general framework of the Pretrained HGNN Foundation Model transferring knowledge to diverse downstream domains.

New Benchmarks: Text-Attributed Hypergraphs

A significant hurdle in this field was the lack of text-rich hypergraph data. The authors curated 11 new Text-Attributed Hypergraph (TAHG) datasets across four major domains:

  • Citation Networks: Including Aminer-Text, Arxiv-Text, and OGBN-Arxiv.
  • Visual Media: Movielens-Text and IMDB-Text.
  • Books: GoodBook-Text.
  • Proteins: PPI-Text (utilizing protein sequences as text).

Key Insights and Scaling Laws

One of the paper's most significant contributions is the discovery of a unique Hypergraph Scaling Law. Unlike traditional models where performance scales primarily with data volume, hypergraph foundation models scale with domain diversity. Exposing the model to a wider variety of relational structures is more effective than simply increasing the number of nodes or edges within a single domain.

Performance Results

Hyper-FM demonstrates substantial improvements over standard HGNN baselines and isolated pre-training methods:

  • Average Improvement: 13.4% across all 11 datasets on node classification tasks.
  • Specific Gains: The model achieved a 23.4% improvement on Pubmed-CC-Text and a 14.3% gain on the large-scale OGBN-Arxiv dataset.
  • Structural Integrity: Ablation studies confirmed that BFS-based sampling is critical for preserving the local structural integrity required for effective pre-training.

Conclusion

Hyper-FM represents a significant step forward in graph representation learning. By successfully mitigating negative transfer and establishing a new scaling law based on domain diversity, it provides a robust framework for applying foundation model principles to complex, high-order relational data.

Summary updated

BibTeX
@article{feng2026hypergraph,
  author = {Yifan Feng and Shiquan Liu and Xiangmin Han and Shaoyi Du and Zongze Wu and Han Hu and Yue Gao},
  title = {{Hypergraph Foundation Model}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2026},
  doi = {10.1109/tpami.2025.3647504},
}
Figure