ICML2026

H2^2CL: Heterogeneity-Aware Hypergraph Contrastive Learning for Robust Representation Learning

Kaixuan Yao, Ting Guo, Feilong Cao, Ming Li

摘要

Hypergraph contrastive learning has shown strong potential for modeling high-order relations, but most existing methods implicitly assume that nodes within the same hyperedge are semantically homogeneous. In real-world hypergraphs, this assumption often breaks down: heterogeneous node--hyperedge interactions may introduce noisy signals during augmentation and message passing, leading to feature contamination and false-positive contrastive alignment. To address this issue, we propose H2^2CL, a heterogeneity-aware hypergraph contrastive learning framework for robust representation learning. H2^2CL first estimates node--hyperedge heterogeneity from input features and uses it to guide a Heterogeneity-Aware View Generator, which selectively masks high-heterogeneity incidences and constructs cleaner contrastive views. It further introduces a Heterogeneity-Aware Hypergraph Encoder that dynamically reweights information propagation in both node-to-hyperedge and hyperedge-to-node aggregation, enabling hyperedges to aggregate more homogeneous signals while suppressing heterogeneous noise. We also provide theoretical analysis showing that the encoder corresponds to a coordinate descent step for minimizing a heterogeneity-weighted Dirichlet energy. Extensive experiments on standard benchmarks and larger-scale hypergraphs demonstrate that H2^2CL achieves competitive or superior performance compared with recent baselines, remains robust under structural noise, and learns reweighting patterns that effectively reduce heterogeneity during message passing. Our code is available at: https://github.com/sxu-yaokx/HHCL