Overlap-aware meta-learning attention to enhance hypergraph neural networks for node classification

Murong Yang, Shihui Ying, Xin-Jian XuarXiv 2025 · DOI · arXiv

Abstract

Hypergraph Neural Networks (HGNNs) have emerged as powerful tools for modeling high-order relationships in complex systems. However, existing models often struggle to balance structural information with node features and fail to account for the structural heterogeneity inherent in hypergraph topologies. This paper presents OMA-HGNN, a framework that utilizes overlap-aware meta-learning to dynamically weight attention mechanisms. By partitioning nodes based on their "overlapness" and employing a bi-level optimization strategy, OMA-HGNN achieves state-of-the-art performance in node classification, particularly in network-based datasets.

Introduction

Hypergraphs extend standard graph theory by allowing edges—termed hyperedges—to connect any number of nodes simultaneously. This flexibility makes them ideal for representing complex interactions such as research collaborations, group communications, or biological pathways. Despite their potential, current Hypergraph Neural Networks (HGNNs) face a significant challenge: the "overlap" between these complex connections is often ignored.

Most HGNNs rely on attention mechanisms to prioritize neighbor information during message passing. These mechanisms typically focus on either Structural Similarity (SS) (connectivity patterns) or Feature Similarity (FS) (node attribute correlations). Relying exclusively on one modality often leads to suboptimal results because structure and features frequently provide complementary or even conflicting signals. Furthermore, the degree of hyperedge overlap varies across the graph, creating structural heterogeneity that uniform models fail to capture.

Methodology: The OMA-HGNN Framework

To address these limitations, the proposed Overlap-aware Meta-learning Attention for Hypergraph Neural Networks (OMA-HGNN) introduces a sophisticated bi-level optimization strategy designed to adaptively balance SS and FS attention.

1. Dual-Attention Fusion

Instead of selecting a single attention modality, OMA-HGNN calculates losses for both Structural Similarity and Feature Similarity. These are combined into a unified representation using a weighted linear combination, allowing the model to leverage the strengths of both perspectives.

2. Overlap-Aware Partitioning

The framework introduces a principled measure of a node's "overlapness." This metric quantifies how neighbors are shared across different hyperedges, rather than simple node degree. Using K-means clustering, nodes are partitioned into three distinct tasks based on their overlap level: Low, Medium, and High. This partitioning acknowledges that high-overlap regions may suffer from over-smoothing, while low-overlap regions are more susceptible to noise.

3. Multi-Task Meta-Weight-Net (MT-MWN)

The core of the adaptive mechanism is the MT-MWN, a small auxiliary neural network. This meta-network analyzes training losses and the node's overlap category to determine the optimal weights ($\alpha$ and $\beta$) for the SS and FS attention mechanisms. This automates the hyperparameter tuning process, allowing the model to adjust its focus dynamically for different structural contexts.

4. Bi-Level Training Strategy

The model employs a bi-level optimization approach. The "internal" meta-model (MT-MWN) is trained on a small, unbiased validation set to learn the optimal weighting strategy. Simultaneously, the "external" HGNN classifier learns the primary node classification task using the weights provided by the meta-network.

Experimental Evaluation

The researchers evaluated OMA-HGNN against nine state-of-the-art baselines, including HGNN, HyperGCN, and UniGAT, across six diverse datasets:

  • Network Domains: CA-Cora and Citeseer (Co-authorship and Citations).
  • Textual Relationships: 20news and Reuters.
  • Categorical/Visual: ModelNet (3D CAD models) and Mushroom.

Key Results

OMA-HGNN demonstrated superior accuracy on four out of the six datasets. The most significant performance gains were observed in network-based datasets, with improvements of approximately 3% on CA-Cora and 4% on Citeseer relative to the strongest baselines. Sensitivity analysis confirmed the model's robustness, showing stable performance across variations in the number of overlap levels ($K$) and hidden layers ($L$) in the meta-network.

Discussion and Insights

Analysis using Kernel Density Estimation (KDE) curves of losses confirmed that SS and FS attention mechanisms capture fundamentally different data characteristics. By treating different overlap levels as distinct "tasks" within a multi-task meta-learning framework, OMA-HGNN effectively mitigates the risks of over-smoothing in dense regions and noise sensitivity in sparse regions.

While the model is a structural powerhouse, it was slightly outperformed (by approximately 0.2%) by DPHGNN on high-dimensional sparse text data (20news and Reuters). This suggests that while the overlap-aware approach is highly effective for structural modeling, there remains room for optimization in extremely sparse feature spaces.

Conclusion

OMA-HGNN represents a significant step forward in hypergraph representation learning. By integrating meta-learning with structural overlap awareness, the model moves beyond static attention mechanisms toward a more nuanced, adaptive approach. Future research may explore more granular task definitions or extend this meta-learning framework to other hypergraph-related tasks such as link prediction and community detection.

Summary updated

Abstract

Although hypergraph neural networks (HGNNs) have emerged as a powerful framework for analyzing complex datasets, their practical performance often remains limited. On one hand, existing networks typically employ a single type of attention mechanism, focusing on either structural or feature similarities during message passing. On the other hand, assuming that all nodes in current hypergraph models have the same level of overlap may lead to suboptimal generalization. To overcome these limitations, we propose a novel framework, overlap-aware meta-learning attention for hypergraph neural networks (OMA-HGNN). First, we introduce a hypergraph attention mechanism that integrates both structural and feature similarities. Specifically, we linearly combine their respective losses with weighted factors for the HGNN model. Second, we partition nodes into different tasks based on their diverse overlap levels and develop a multi-task Meta-Weight-Net (MWN) to determine the corresponding weighted factors. Third, we jointly train the internal MWN model with the losses from the external HGNN model and train the external model with the weighted factors from the internal model. To evaluate the effectiveness of OMA-HGNN, we conducted experiments on six real-world datasets and benchmarked its perfor-mance against nine state-of-the-art methods for node classification. The results demonstrate that OMA-HGNN excels in learning superior node representations and outperforms these baselines.
BibTeX
@misc{yang2025overlap,
  author = {Murong Yang and Shihui Ying and Xin-Jian Xu},
  title = {{Overlap-aware meta-learning attention to enhance hypergraph neural networks for node classification}},
  year = {2025},
  eprint = {2503.07961},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.07961},
}
Figure