Expressive Higher-Order Link Prediction through Hypergraph Symmetry Breaking

Simon Zhang, Cheng Xin, Tamal K. Dey

Abstract

A hypergraph consists of a set of nodes along with a collection of subsets of the nodes called hyperedges. Higher-order link prediction is the task of predicting the existence of a missing hyperedge in a hypergraph. A hyperedge representation learned for higher-order link prediction is fully expressive when it does not lose distinguishing power up to an isomorphism. Many existing hypergraph representation learners are bounded in expressive power by the Generalized Weisfeiler-Lehman-1 (GWL-1) algorithm. GWL-1 has limited expressive power, viewing the hypergraph as a collection of trees rooted at each node. To address these limitations, we devise a preprocessing algorithm that identifies regular subhypergraphs exhibiting symmetry with respect to GWL-1. During training, we randomly drop or add covering hyperedges to break symmetry. We show that our method improves the expressivity of GWL-1 and demonstrate its effectiveness on both graph and hypergraph datasets with negligible computational overhead.

Hypergraphs are essential for modeling multi-way relationships, such as a cooking recipe (a hyperedge) connecting multiple ingredients (nodes). A fundamental task in this domain is higher-order link prediction: identifying groups of nodes that should be connected but currently lack a hyperedge. However, most current Hypergraph Neural Networks (hyperGNNs) rely on message-passing schemes equivalent to the Generalized Weisfeiler-Lehman (GWL-1) algorithm.

GWL-1 has a significant limitation: it perceives a hypergraph as a collection of rooted trees. If two distinct parts of a hypergraph appear as identical trees from the perspective of their nodes, GWL-1 treats them as isomorphic. This results in "false-positive symmetries," where the model cannot distinguish between structurally similar but semantically different components.

Figure 1: An example of false-positive symmetry. GWL-1 cannot distinguish between the Asian and European ingredient clusters due to identical local structural patterns, leading to incorrect link predictions.

As shown in Figure 1, a model might fail to distinguish between structurally similar patterns of Asian and European ingredients. Because the local connectivity patterns are identical, the model may predict nonsensical "fusion" recipes because it lacks the topological sensitivity to see the difference.

Methodology: Breaking Symmetry

To overcome these limitations, we propose a two-step framework to "break" problematic symmetries without the prohibitive computational cost of higher-order WL tests.

1. Symmetry Finding

We introduce a linear-time preprocessing step that identifies subhypergraphs where nodes are indistinguishable by GWL-1. The algorithm searches for "maximally connected" clusters of nodes that share identical GWL-1 values. This step is highly efficient, running in time linear to the size of the input hypergraph.

2. Symmetry Breaking through Data Augmentation

During the training phase, we dynamically perturb the hypergraph topology. We randomly "hallucinate" new hyperedges that cover the identified symmetric clusters or randomly drop existing ones within those clusters. By training on these perturbed versions, the hyperGNN is forced to learn finer-grained structural details it would otherwise ignore. Theoretically, we utilize algebraic topology—specifically the concept of "universal covers"—to prove that this method strictly increases the expressive power of the underlying model.

Experimental Evaluation

We evaluated our method across a diverse set of benchmarks, including drug prescriptions (cat-edge-DAWN), email communications (email-Eu), and social proximity (contact-high-school), as well as standard graph datasets like FB15k-237.

Key Results

  • Consistent Performance Gains: Our "Symmetry Breaking" approach was tested against eight different hyperGNN architectures (e.g., HGNN, HNHN, UniGCN). In nearly every instance, the method improved the PR-AUC (Precision-Recall Area Under Curve). For example, on the cat-edge-madison-restaurants dataset, the HGNN baseline improved from 0.75 to 0.85.
  • Efficiency: Because the preprocessing is linear and the augmentation is random, the method provides a significant performance boost with negligible overhead to training time.
  • Versatility: The approach is effective even on standard graph datasets, where it outperforms traditional GNNs like GAT and GCN by breaking local symmetries.

Conclusion and Future Work

This work establishes a formal link between GWL-1 and topological universal covers, providing a rigorous framework for addressing structural indistinguishability. By focusing on topological modifications rather than just node attribute noise, we provide a more direct solution to the limitations of message-passing.

Future work will explore the application of this method to purely inductive settings and investigate ways to relax the "sufficiently L-separated" condition required for current theoretical guarantees. While we do not reach the power of GWL-2, our approach offers a computationally feasible middle ground for real-world hypergraph applications.

Summary updated

BibTeX
@article{zhang2024expressive,
  author = {Simon Zhang and Cheng Xin and Tamal K. Dey},
  title = {{Expressive Higher-Order Link Prediction through Hypergraph Symmetry Breaking}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=oG65SjZNIF},
}
Figure