Introduction
Hypergraph Neural Networks (HGNNs) have emerged as a powerful paradigm for modeling complex, multi-node relationships. Unlike standard Graph Neural Networks (GNNs) that use pairwise edges, HGNNs utilize hyperedges to connect multiple nodes simultaneously, capturing higher-order dependencies such as group collaborations or multi-object interactions. However, as these models gain traction, their security remains under-explored. This paper introduces MGHGA (Momentum Gradient Hypergraph Attack), the first untargeted poisoning attack specifically designed to exploit the unique vulnerabilities of HGNNs.
The Challenge of Hypergraph Security
A significant hurdle in attacking HGNNs is their unstructuredness. In many applications, the hypergraph structure is not fixed but is generated dynamically from node features (e.g., using K-Nearest Neighbors or $\epsilon$-ball modeling). If an attacker attempts a structural attack by modifying edges, a defender can simply rebuild the hypergraph using a different modeling method, potentially neutralizing the threat.
To overcome this, MGHGA shifts the focus from attacking the structure to poisoning the features before the hypergraph is even constructed. By corrupting the underlying data, the attacker ensures that any hypergraph derived from that data will be inherently flawed, regardless of the modeling technique used.
Methodology: Momentum Gradient Hypergraph Attack (MGHGA)
MGHGA is a poisoning attack that injects malicious perturbations into a dataset before model training. The core innovation is the use of a momentum-based gradient mechanism to identify the most impactful features to corrupt.
Key Components
- Surrogate Modeling: Since the victim's model parameters are typically unknown, MGHGA uses a surrogate HGNN to calculate gradients and estimate the impact of feature changes.
- Momentum Gradient Mechanism: Traditional gradient-based attacks often suffer from overfitting to local optima. MGHGA incorporates a momentum term that accumulates "velocity" from previous gradient steps. This helps identify features that consistently and significantly influence the model's loss, leading to more robust adversarial samples.
- Dual Feature Modification: The attack adapts to different data types:
- Discrete Data: Uses a direct inversion (bit-flipping) for binary features.
- Continuous Data: Employs a "sign gradient" strategy, adjusting feature values by a small constraint factor ($\eta$).
- Anomalous Filtering: To remain imperceptible, MGHGA ensures that all modified features stay within the original data's valid range, avoiding detection by simple outlier filters.
Experimental Evaluation
The researchers evaluated MGHGA across five benchmark datasets representing two distinct tasks:
- Node Classification: Cora, Cora-ML, and Citeseer (citation networks with discrete word vector features).
- Visual Object Classification: NTU and ModelNet40 (3D model datasets with continuous features).
Key Results and Insights
- Superior Performance: MGHGA consistently outperformed established baselines, including Random Attacks, Node Degree Attacks (NDA), and Fast Gradient Attacks (FGA). On average, MGHGA reduced classification accuracy by 2% more than the strongest baseline (FGA).
- Robustness and Transferability: The attack proved effective even when the victim used a different hypergraph construction method than the one used by the attacker's surrogate model. This transferability makes MGHGA a viable threat in real-world "gray-box" scenarios.
- Efficiency: Despite the added complexity of the momentum term, MGHGA maintains high efficiency, with running times comparable to standard gradient attacks (e.g., approximately 4.15 minutes for the Citeseer dataset).
Conclusion and Future Work
MGHGA demonstrates that HGNNs are highly susceptible to feature-based poisoning attacks. By leveraging momentum gradients, the attack identifies critical vulnerabilities that generalize across different model initializations and hypergraph modeling techniques. While currently a white-box attack requiring gradient access, future research will focus on developing black-box variants and, more importantly, creating robust defense mechanisms specifically tailored to protect hypergraph structures from such adversarial threats.
Summary updated