Hypergraph Contrastive Learning for both Homophilic and Heterophilic Hypergraphs
Renchu Guan, Xuyang Li, Yachao Zhang, Wei Pang, Fausto Giunchiglia, Ximing Li, Yonghao Liu, Xiaoyue Feng
TL;DR
HONOR tackles the challenge of learning representations on hypergraphs with mixed homophily and heterophily by introducing a dual-view, high-pass contrastive framework. It combines a prompt-based view and an adaptive attention-based view to explicitly model heterophilic node–hyperedge relationships, reinforced by degree-based structural augmentation and a high-pass hypergraph encoder. The training objective blends contrastive learning with structural decoupling and covariance regularization, yielding robust, discriminative embeddings validated by theory and extensive experiments. This approach enables effective unsupervised learning on diverse hypergraph structures with potential impact on tasks like node classification and clustering in real-world, high-order relational data.
Abstract
Hypergraphs, as a generalization of traditional graphs, naturally capture high-order relationships. In recent years, hypergraph neural networks (HNNs) have been widely used to capture complex high-order relationships. However, most existing hypergraph neural network methods inherently rely on the homophily assumption, which often does not hold in real-world scenarios that exhibit significant heterophilic structures. To address this limitation, we propose \textbf{HONOR}, a novel unsupervised \textbf{H}ypergraph c\textbf{ON}trastive learning framework suitable for both hom\textbf{O}philic and hete\textbf{R}ophilic hypergraphs. Specifically, HONOR explicitly models the heterophilic relationships between hyperedges and nodes through two complementary mechanisms: a prompt-based hyperedge feature construction strategy that maintains global semantic consistency while suppressing local noise, and an adaptive attention aggregation module that dynamically captures the diverse local contributions of nodes to hyperedges. Combined with high-pass filtering, these designs enable HONOR to fully exploit heterophilic connection patterns, yielding more discriminative and robust node and hyperedge representations. Theoretically, we demonstrate the superior generalization ability and robustness of HONOR. Empirically, extensive experiments further validate that HONOR consistently outperforms state-of-the-art baselines under both homophilic and heterophilic datasets.
