Introduction
Hypergraph Neural Networks (HGNNs) have emerged as a powerful paradigm for modeling high-order relationships where an edge can connect multiple nodes simultaneously. However, a significant limitation of existing HGNNs is their reliance on the assumption that the input hypergraph structure is perfectly accurate and complete. In practice, real-world hypergraphs are often noisy, contain redundant connections, or miss critical implicit relationships.
To address these challenges, this paper introduces Hypergraph Structure Learning (HSL). HSL is a framework designed to jointly optimize the hypergraph structure and the neural network parameters in an end-to-end manner. By adaptively "cleaning" and refining the graph during the learning process, HSL ensures that the underlying structure is optimally aligned with the downstream task and the learned node features.
The Challenge of Hypergraph Quality
The authors identify three primary issues that hinder the performance of standard HGNNs:
- Noise: Input hypergraphs often contain task-irrelevant or erroneous connections that introduce "distractor" information.
- False Negatives: Many implicit relationships, which could be inferred from feature similarities, are often missing from the raw structure.
- Feature Mismatch: A static, pre-defined structure may not align well with the high-level semantic features that the neural network develops during training.
While Graph Structure Learning (GSL) has been explored for simple graphs, extending it to hypergraphs is non-trivial due to the variable size and complexity of hyperedges. HSL tackles this by providing a mechanism to prune irrelevant edges and nodes while discovering new, meaningful connections.
Methodology: The HSL Framework
The core of HSL is a two-stage differentiable sampling process that refines the hypergraph structure at both coarse and fine granularities.
1. Hyperedge Sampling (Coarse-grained)
In the first stage, the model learns a binary mask for each hyperedge. This allows the framework to evaluate the utility of an entire hyperedge for the specific task. If a hyperedge is deemed noisy or redundant, it is pruned from the graph, effectively reducing the overall complexity and noise level.
2. Incident Node Sampling (Fine-grained)
The second stage focuses on refining the internal composition of the remaining hyperedges. It can remove irrelevant nodes from an existing edge or add new nodes that exhibit high similarity to the hyperedge's representation. This addition is based on a multi-head weighted cosine similarity between node and hyperedge embeddings, allowing the model to capture implicit high-order relationships.
3. Differentiable Optimization via Gumbel-Softmax
Because sampling is a discrete operation, it is inherently non-differentiable. To allow gradients to flow back through the structure optimization process, HSL employs the Gumbel-Softmax trick. This reparameterization technique enables end-to-end training, where the hypergraph structure is updated simultaneously with the HGNN's weights.
4. Intra-hyperedge Contrastive Learning
To prevent the optimized structure from drifting too far from the original data or suffering from over-smoothing, the authors incorporate a contrastive learning objective. This loss term encourages semantic consistency between the original and the refined views of the same node, ensuring that the structural changes preserve essential information. The framework uses the AllSetTransformer as its backbone HGNN due to its high expressive power in handling hypergraph message passing.
Experimental Evaluation
The HSL framework was rigorously tested on seven diverse public datasets, covering citation networks (Cora, Citeseer), co-authorship networks (CA-Cora, CA-DBLP), action recognition (NTU2012), and general classification tasks (Zoo, 20Newsgroups). These datasets provide a comprehensive benchmark for evaluating the model's ability to handle different types of high-order data.
Key Results and Insights
HSL consistently outperformed state-of-the-art baselines, including standard HGNNs and universal graph convolution networks like UniGCNII. For instance, on the Zoo dataset, HSL achieved an impressive 98.08% accuracy.
Sparsity as a Signal
A key finding is that HSL often achieves superior performance by significantly pruning the input data. In some cases, such as the CA-DBLP dataset, the model retained only about 11% of the original connections. This suggests that a large portion of real-world hypergraph data may be redundant or noisy, and "less is more" when the remaining connections are highly informative.
Adaptive Robustness
The model demonstrates a remarkable ability to adapt its pruning and addition rates based on the specific noise characteristics of each dataset. In controlled experiments where noise was intentionally added, HSL maintained significantly higher robustness compared to static HGNNs, proving its effectiveness as a "self-cleaning" mechanism.
Ablation Analysis
Ablation studies highlight the importance of each component. Removing the edge sampling (+node), node sampling (+edge), or the contrastive loss (-CL) consistently leads to a drop in performance compared to the full HSL framework. This confirms that the joint optimization of both coarse and fine-grained structures, coupled with contrastive regularization, is essential for optimal results.
Conclusion and Future Work
Hypergraph Structure Learning represents a significant step forward in making HGNNs more practical for real-world, imperfect data. By treating the hypergraph structure as a learnable component rather than a fixed input, HSL unlocks higher performance and greater robustness.
While the framework is powerful, it does introduce computational overhead, particularly when calculating similarity matrices for large-scale graphs. Future research could focus on more efficient sampling strategies or exploring the application of HSL to dynamic hypergraphs where relationships evolve over time.
Summary updated